This project has moved and is read-only. For the latest updates, please go here.

Replace with Regex group

Apr 29, 2015 at 12:43 PM

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