Page 1 of 1

if contain "word or symbol" rename selected file.

Posted: 16 Aug 2017 06:44
by drjs5x
hi dear masters.

if contain "word or symbol" rename selected file else nothing.
example

if selected file example_tested.iso no rename
if selected file example_35435.iso rename *_tested.iso result example_35435_tested.iso

if contain "tested" word rename selected file else nothing.
thanks for all helps .

Re: if contain "word or symbol" rename selected file.

Posted: 16 Aug 2017 08:09
by highend
Use script commands strpos(), regexmatches() or comparisions
Like, LikeI, UnLike, UnLikeI to check if the string contains / not contains
what you want and rename it...