in reply to Re^2: How do i convert uppercase in a bracket.
in thread How do i convert uppercase in a bracket.
would give you 'I_Need_(Help)'$string =~ s/([a-z]+)/ucfirst(lc($1))/ieg;
as an aside, when posting code it should be inside <code></code> tags, I guess you had a character class in your original regex, which has been garbled by the perlmonk's own-brand markup.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How do i convert uppercase in a bracket.
by Anonymous Monk on May 06, 2005 at 13:37 UTC |