[X] replace with escape chars. fails


#1

Hi,

I have file names which contains words in brackets, ex. (New) or (Re) etc.

I used to use the following regular expressions to replace them with null.

"(New)" "" and this used to be successful in previous versions. The regular expression now fails with version 2.37a. Please advice.

N :slight_smile:


#2

Actually i forgot to mention now the file just removes all the paranthesis found in file names.

"abc (New)" , "abc (Re)" now becomes "abc New", "abc Re" and so on..

before it would be "abc (New)" , "abc (Re)" now becomes "abc", "abc (Re)" and so on..

Thanks

N :slight_smile:


#3

This is not a bug. Use ((.+?)) instead and replace it by $1.

Best regards,
Florian