in reply to Re^2: How do i convert uppercase in a bracket.
in thread How do i convert uppercase in a bracket.

$string =~ s/([a-z]+)/ucfirst(lc($1))/ieg;
would give you 'I_Need_(Help)'
I'm sure you can strip the brackets for yourself...

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.

---
my name's not Keith, and I'm not reasonable.

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
    Thank you. It works.