Hi, I am very grateful for the help in creating a regex that removes a percentage from the end of the line:
Film name (2009) 58% -> Film name (2009) Film name (2010) 59% -> Film name (2010)
A string may or may not have a year in square brackets. Before a year in parentheses, the name of the movie can be alphanumeric and have a few words.
I use 'bulk rename utility', so I want to fill in the match and replace fields.
The best I could come up with was:
([AZ][az]*) \((\d*)\) (\d*\%) --> \1 (\2)
although it seemed to work only with single-word movie names and lost the brackets, so I had to add again!
I have google, and every time I try to use possible expressions, it does not work in the "mass rename utility", which, it seems to me, is based on pcre ( Bulk Rename Utility ).
source share