I'm trying to search-and-replace wit a regex in a file in Winmerge, however I can't find the right format for making a backreference.
For example I search (\w+)
, and I tried to replace by "$1"
, "\1"
, "\\1"
, "${1}"
, but neither of those works.
Any idea?
Thanks in advance,
Winmerge does not support replacing with regex. You can only use regex as find filters, which are facilitated with PCRE.