J
Jason Miranda
I'm probably missing something simple here.
I'm trying to do a find/replace on a pattern in a manuscript file. The
file contains a bunch of filenames that take the form:
ZZ-SAUD-L1U7LBA2-1.mp3
I want to replace the "-1.mp3" with "-001.mp3" -- basically put 2
leading zeroes before the 1 digit number (there are different numbers
throughout). My find/replace pattern looks like:
find: \-([1-9].mp3) I've also tried "-([1-9].mp3)"
replace: -00\1
The results are regular, but not what I expected: The numbers get
transposed where I get "1.mp300" instead of "-001.mp3"
Would someone be able to tell me where I've made my mistake and the
correct find and replace patterns to get the leading zeroes after the
dash and before the 1 digit number.
Thanks!
Jason
I'm trying to do a find/replace on a pattern in a manuscript file. The
file contains a bunch of filenames that take the form:
ZZ-SAUD-L1U7LBA2-1.mp3
I want to replace the "-1.mp3" with "-001.mp3" -- basically put 2
leading zeroes before the 1 digit number (there are different numbers
throughout). My find/replace pattern looks like:
find: \-([1-9].mp3) I've also tried "-([1-9].mp3)"
replace: -00\1
The results are regular, but not what I expected: The numbers get
transposed where I get "1.mp300" instead of "-001.mp3"
Would someone be able to tell me where I've made my mistake and the
correct find and replace patterns to get the leading zeroes after the
dash and before the 1 digit number.
Thanks!
Jason