REgex search and replace

Hi, I'm trying to do the following replacement


I've tried to search and replace using RegExp
pattern :

replaceWith :

The find works fine but the replace operation says "You have entered malformed replacement string".
(It works fine if I don't try to insert '$' characters in the replacement

Anybody encountered this problem yet ?

Comment actions Permalink

It's strange... but you may use
$ for '$' character.

Comment actions Permalink

thx, It indeed works !
I tried escaping the $ with 1 \, not 2 ...

Strange thing is in the find field you need to escape the $ as '\$' and in the replace field, you need to escape it with '


Please sign in to leave a comment.