in reply to How to do multiple substitutions with one RegEx?

If I understand your question...
$string=~s/([b-w]+)([^a]+)([a]+)/uc($1).$2.uc($3)/e;
Or, without putting eval code in the replacement:
$string=~s/([b-w]+)([^a]+)([a]+)/\U$1\E$2\U$3/;