echo "Hello Dolly" | perl -lpe 's/l(lo)/$1/' #Helo Dolly [download]
In reply to Re: Regex capturing by FunkyMonk in thread Regex capturing by anna_black