hi
i want to change multi directories names, every one digits to two, for example every directory that has a digit 1 will be 01, and every 2 will be 02.
thanks
multi-rename tool change names that has one digits to two
Moderators: Hacker, petermad, Stefan2, white
MUT: add leading zero / pad with 0's / all number two digits
- do you want to rename sub folders too?
- are that the only digits in the whole name?
- how are the digit surrounded? By space?
- provide real examples?
Try
FROM:
zzz 1 zzet 2 knn 333 xyz 400
TO:
zzz 01 zzet 02 knn 030303 xyz 040000
Search: (\d)
Replace: 0$1
[x]RegEx
FROM:
zzz 1 zzet 2 knn 333 xyz 400
TO:
zzz 01 zzet 02 knn 333 xyz 400
Search: ~(\d)~
Replace: ~0$1~
[x]RegEx
The '~' sign indicates here a space just for explanation, use a real space instead yourself if need.
- are that the only digits in the whole name?
- how are the digit surrounded? By space?
- provide real examples?
Try
FROM:
zzz 1 zzet 2 knn 333 xyz 400
TO:
zzz 01 zzet 02 knn 030303 xyz 040000
Search: (\d)
Replace: 0$1
[x]RegEx
FROM:
zzz 1 zzet 2 knn 333 xyz 400
TO:
zzz 01 zzet 02 knn 333 xyz 400
Search: ~(\d)~
Replace: ~0$1~
[x]RegEx
The '~' sign indicates here a space just for explanation, use a real space instead yourself if need.