Two (or more) runs, perhaps.
(I've spaced out the Replace: for readability.)
Find the (first ?) single digit & pad it.
1:RegEx
- Code: Select all
Match: (.*?\D)(\d)(\D.*)
Replace: \1 0\2 \3
- Code: Select all
02 Links 2 3 4 Rammstein.mp3
02 Links 02 3 4 Rammstein.mp3
(Actually thinking you could just do consecutive 'Rename' without changing anything & that would take care of '2' & then '3' & then '4'.)
Find the (last ?) single digit (other then at the end of the filename) & pad it.
1:RegEx
- Code: Select all
Match: (.*\D)(\d)(\D.*)
Replace: \1 0\2 \3
- Code: Select all
02 Links 2 3 4 Rammstein.mp3
02 Links 2 3 04 Rammstein.mp3
Find a single digit at the end & pad it.
1:RegEx
- Code: Select all
Match: (.*\D)(\d)$
Replace: \1 0\2
- Code: Select all
00-Turneja 2005 CD1.m3u
00-Turneja 2005 CD 01.m3u
(Ages ago I came across this midi, gulpembe.mid [Baris Manco], & man, that just hit me right. Bijelo Dugme kind of follows in the same path.)
I'd think there would be some cases where things would break?
(Other places mentioned look backs & other constructs I'm not really familiar with.)