in reply to simple replace

($b = $a = "blah bla blah") =~ s!blah (bla) blah!$1!;
PS> I don't recommend the use of $a and $b due to their special meaning for sort.

--
perl -pew "s/\b;([mnst])/'$1/g"