Remove Last Dash and Everything After

Advanced Renamer forum
#1 : 25/09-19 19:03
Posts: 4

I have tons of folders named like:


The number of occurrences of FOO and 123-123 varies by folder, but the end is always the same with a -##

I'd like to remove the -## from all folders

Essentially removing the last - and everything after it.

Any guidance would be greatly appreciated!

25/09-19 19:03
#2 : 25/09-19 22:17
David Lee
David Lee
Posts: 444
Remove pattern: -[^-]*$
Use regular expressions

Removes the final instance of "-" followed by any number of any characters.

25/09-19 22:17