Keeping name but renumbering

Advanced Renamer forum
#1 : 03/04-17 21:17
Sandy Davis
Sandy Davis
Posts: 1
I am trying to renumber multiple copies of a .jpg. The original files are

tote0001
tote0001-copy
tote0001-copy-copy

I would like them to be

tote0001
tote0002
tote0003

I've done this before but hit the "clear" button and have apparently lost brain cells and can't, for the life of me remember how to do this.

Thanks in advance for your help.


03/04-17 21:17
#2 : 05/04-17 00:59
G. Lambany
G. Lambany
Posts: 186
Reply to #1:
method: replace
text to be replaced: (^.+?)\s?\-.+
replace with: \1
use regular expression: checked

then use another method (renumber) to renumber the counter

cheers


05/04-17 00:59