Regular expression help
Posted: 2018-04-07 08:24:13
I'm trying to use Ant Renamer to remove any character after the year in a folder name.
I'm a bit confused on what's Ant renamer is asking me to do.
I've tried
match everything until the 4 digit year and match everything else afterwards
with new name:
but I get the following error in the preview:
Any tip on how to fix please?
Thanks! :-)
I'm a bit confused on what's Ant renamer is asking me to do.
I've tried
Code: Select all
(.+(?:(?:19|20)[0-9]{2})).(.*)
with new name:
Code: Select all
S1
Code: Select all
<RegExp Error> TRegEpr(comp): Unrecognised Modifier (pos 14)
Thanks! :-)