Add individual name when filename shows certain numbers

Advanced Renamer forum
#1 : 02/11-23 14:38
Paul Messerschmidt
Posts: 2
Hello,

I´m searching desperatly for a script, to add an individual name ahead of the filename, if this filename begins with a certain number, f.e.

0000-this-is-my-file.pdf >> Peter_0000-this-is-my-file.pdf
1111-just-another.pdf >> Michael_1111-just-another.pdf

Each 4-letter-number should be defined to a certain name.

Is this possible in Advanced Renamer?
I couldn`t find a hint in the forum posts.

Thanks in advance!
Best regards
#2 : 02/11-23 23:27
Styb
Posts: 123
Reply to #1:
Use the List Replace method and add the replacement for each number. Save the list method for future use.

https://i.postimg.cc/XY6CLnZr/img12.png
#3 : 04/11-23 06:28
Paul Messerschmidt
Posts: 2
Reply to #2:
This works fine, thank you very much! :-)