Page 1 of 1

Can we use AND / OR during Replace (3)

PostPosted: Fri Oct 18, 2019 9:31 am
by archiebald
I have a folder that contains some duplicate files some are first duplicates, some are first and second, some may be more;
736.ipt
736_1.ipt
737.ipt
737_1.ipt
737_2.ipt

Ideally, I would like to use;
Replace (3)
Replace _1 OR _2 OR _3
With (some operation)

I know that I could run a rename routine twice or more,, but is there a way to tell Replace to look for two or more variations in one sweep?

Re: Can we use AND / OR during Replace (3)

PostPosted: Fri Oct 18, 2019 6:01 pm
by therube
7:Remove -> Words
Code: Select all
_1  _2  _3

(The words to be removed are space separated.)

Re: Can we use AND / OR during Replace (3)

PostPosted: Sat Oct 19, 2019 5:52 am
by archiebald
Perfect, thanks very much!