Here's a sloppy example....
my $str = "cowsCanFly"; $str =~ s/\G([A-Z]?[a-z])/lcfirst($1) . '-'/eg; chop($str); print $str, "\n";
update: man, I feel ashamed posting this. Kanji++
In reply to Re: RegEx Problem
by lestrrat
in thread RegEx Problem
by L0rdPhi1
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |