remove pattern regex last digit in a 7-digit string

Advanced Renamer forum
#1 : 13/02-24 02:58
Ed
Ed
Posts: 2
First time, long time :P

So with filename:
some.arbitrary.text.ddddddd.ext
where d=digits

In every case, I want to match the 7th/last digit (7 in my example :P) and then remove it. Any way to do that?

Any help much appreciated.


13/02-24 02:58
#2 : 13/02-24 08:13
Styb
Styb
Posts: 80
Reply to #1:
Try to use the Remove method:

Remove count: 1
Starting at: 1
Backwards
Apply to: Name


13/02-24 08:13
#3 : 13/02-24 13:02
Ed
Ed
Posts: 2
Reply to #2:
50% of my files don't have the string at the end. That forced me to manually select the all the files that did, but that's what I ended up doing late last night.


13/02-24 13:02 - edited 13/02-24 13:03
#4 : 13/02-24 15:45
Miguel
Miguel
Posts: 59
Reply to #3:
For future use this Regex in Replace.
REPLACE: (.*.)([0-9])
REPLACE WITH: $1
Will delete the last digit no matter the position.



13/02-24 15:45 - edited 13/02-24 15:47