Add text if find a word
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 !
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 !
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:"
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:"
Reply to #2:
Thanks mate !
Thanks mate !