regex for text manipulationby megaurav2002 (Monk)
|on Nov 07, 2007 at 05:49 UTC||Need Help??|
megaurav2002 has asked for the
wisdom of the Perl Monks concerning the following question:
I am trying to write a regex to convert the first letter and any letter following a full stop in a string to uppercase and all the other characters to lowercase. for eg:
"today is wednesday.tomorrow IS THURSDAY." => "Today is wednesday.Tomorrow is thursday."
Any help will be appreciated. Thanks, Gaurav
"Wisdom begins in wonder" - Socrates, philosopher