Add text if find a word

Advanced Renamer forum
#1 : 15/02-24 17:03
sman super
sman super
Posts: 2
Hello,
Example:
the file name is:
abc 110 cat 234 dog


The question is, How can i add in front of filename a custom word, for example "super" if my filename contain the word "dog"?

the new file name should be:
super abc 110 cat 234 dog

Thansk for any help !


15/02-24 17:03
#2 : 15/02-24 21:48
Tomas Prokes
Tomas Prokes
Posts: 2
Reply to #1:
You can use the Replace method, check the "Use regular expressions" and place:
(.*dog.*)
to "Text to be replaced", and:
super \1
to "Replace with:"


15/02-24 21:48
#3 : 16/02-24 09:15
sman super
sman super
Posts: 2
Reply to #2:
Thanks mate !


16/02-24 09:15