Delete section

Advanced Renamer forum
#1 : 06/05-20 09:53
SAM
Posts: 9
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.
#2 : 06/05-20 10:31
David Lee
Posts: 1125
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 _
#3 : 06/05-20 17:03
Jack Wiga
Posts: 3
I know that DuplicateFilesDeleter, program is simple fast and solves the any problem. Thank you
#4 : 11/05-20 02:49
SAM
Posts: 9
Dear David Lee,

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