REgex search and replace

Hi, I'm trying to do the following replacement

into


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 ?

2 comments
Comment actions Permalink

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

0
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 '
$'

0

Please sign in to leave a comment.