in reply to Re: regexp on utf8 string
in thread regexp on utf8 string

I finally manage to do the tricks with these:

uppercase the first letter and lowercase the rest
$string = "\u\L$string";
my string always contains spaces and/or dashes so I uppercase each letters which follows one or more spaces or dashes.
$string =~ s/([\s-]+)(.)/$1\u$2/g;
Regards, Frederic