Editor regexp replacement syntax
Just tried to use regex's in Find/Replace in the code editor...
Usual regex pattern match works fine in the Find... but, using groups, trying to refer to the matched sub-strings in the Replace part failed... I used traditional \2 \1 to reverse my two matched groups. It just inserted literal "2 1".
Am I missing something? Is this documented anywhere?
Regards,
Comments
Try $2 $1
See Microsoft Documentation on .Net Regex Replace.