in reply to replacing part of a string with its uppercase via regex

Since exhausting solutions were given, now to formalities... to wit:
A meaningful title helps others when searching for something.

People don't search for simple questions, since they've got plenty of them already.
A better title would have been something like "replacing part of a string with its uppercase via regex".

No harm meant but information.

perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'
  • Comment on Re: replacing part of a string with its uppercase via regex (replacing part of a string with its uppercase)