Keep It Simple, Stupid | |
PerlMonks |
regular expression search and replaceby heman (Novice) |
on Nov 18, 2014 at 17:05 UTC ( [id://1107597]=perlquestion: print w/replies, xml ) | Need Help?? |
heman has asked for the wisdom of the Perl Monks concerning the following question: Hi Guys, I'm trying to read 5 lines and replace any character which starts with a lower case to upper case. and replace the remaining characters to lower case. ex:
I'm trying to use the following string replacement scheme. however, i don't see the replacement of [A-Z] being recognized as a keyword. But, it does recognize in the 1st case where i'm searching for a-zA-Z.
Not sure if i'm missing some detail. Thanks
Back to
Seekers of Perl Wisdom
|
|