Delete section

Advanced Renamer forum
#1 : 06/05-20 09:53
SAM
SAM
Posts: 5
CATALOGUE_TOYOTA FORKLIFT 8FG_G125-1
CATALOGUE_TOYOTA FORKLIFT 22-8FD_G125-11
CATALOGUE_TOYOTA FORKLIFT 32-8FG _G125-2

(1) How to delete the last section?
Result:
CATALOGUE_TOYOTA FORKLIFT 8FG
CATALOGUE_TOYOTA FORKLIFT 22-8FD
CATALOGUE_TOYOTA FORKLIFT 32-8FG

(2) How to delete the middle section?
CATALOGUE_G125-1
CATALOGUE_G125-11
CATALOGUE_G125-2

Please advise.

Thank you.


06/05-20 09:53
#2 : 06/05-20 10:31
David Lee
David Lee
Posts: 447
Your first query is almost identical to the previous post - which I answered yesterday - and the User Guide explains how to solve them both, particularly since I provided an answer to your similar question just 10 days ago. Please make at least some effort yourself before asking for assistance!

However...

1) Replace (.*)_.* with \1

2) Replace _.*_ with _


06/05-20 10:31
#3 : 06/05-20 17:03
Jack Wiga
Jack Wiga
Posts: 3
I know that DuplicateFilesDeleter, program is simple fast and solves the any problem. Thank you


06/05-20 17:03
#4 : 11/05-20 02:49
SAM
SAM
Posts: 5
Dear David Lee,

Really thank you for the advice.
Sorry for the trouble.


11/05-20 02:49