in reply to simple replace
($b = $a = "blah bla blah") =~ s!blah (bla) blah!$1!; [download]
-- perl -pew "s/\b;([mnst])/'$1/g"