You are not logged in.
I would like to remove all non-numeric characters after the last number in a file name.
-Before
File 123 - Collection X.txt
File 568935 Various Comments.txt
-After
File 123.txt
File 568935.txt
There is often no delimiter between the number and other text so that won't work. I think there is a way to do this using regex similar to this post http://www.den4b.com/forum/viewtopic.php?id=838 but I have been unable to figure it out.
Any help is appreciated, thanks.
Offline
Try this with the RegEx rule:
Expression = ^(.*)(\d+).*$
Replace = $1$2
Offline
That did the trick, thanks!
Offline