s%((?:\\w)+)%'\w{'. length($1)/2 .'}'%eg; ... [download]
-- perl -pew "s/\b;([mnst])/'$1/g"
In reply to Re: Re: Regular Expression Builder by belg4mit in thread Regular Expression Builder by Rich36