Trim from the end of Name

Advanced Renamer forum
#1 : 20/01-25 16:02
Rotpeter
Posts: 1
Hello,

i tried various ways but it absolutley doesn´t work.
i want to keep 10 characters at the end of the filename (without extension) and get the rest removed:

100-cashmere-fine-lana-grossa-15010001_M.jpg ---> 15010001_M.jpg
100-cashmere-fine-lana-grossa-15010022_M.jpg ---> 15010022_M.jpg
gomitolo-meilenweit-lana-grossa-18444016_S.jpg ---> 18444016_S.jpg

Remove doesnt help, if i try:
-Remove Count 11, Starting at 1, Backwards-
the filename gets trimmed from the wrong side. Not every filename has the same length.
But the end, the important number, is always 10 characters long.

Please, if someone could help me i would really appreciate ist! :-)
#2 : 20/01-25 16:42
Delta Foxtrot
Posts: 406
Reply to #1:

Hi Peter,

Easy. New name method

New name: <rsubstr:1:10>

Apply to Name (only)

Screenshot: https://drive.google.com/file/d/179m3V8ncNAmt07B TgIeG3OoBFUtIgTof/view?usp=sharing

Read about it here: https://www.advancedrenamer.com/user_guide/v4/ta gs_advanced

Best,
DF

edited: 20/01-25 16:55