in reply to String manipulation

Dear Monks, I am not a seasoned Perl Programmer, so am asking your wisdom. Be Kind Monks.

FYI, this is first day of class kind of stuff, read perlintro#Regular expressions and perlrequick#Search and replace