Replace with Regex group

Apr 29, 2015 at 11:43 AM

this tool is just great, only I didn't figure out how to use regex to match something, then use the regex group back in replace.

It may be unclear so here's the usual 'sed 'example :

string : 'hell world'
find (hell)\s+(world)
replace by \1o \2
--> hello world