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 ?

0

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

0
Avatar
Permanently deleted user

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

请先登录再写评论。