$name =~ s/\b(?<!\*)(\w+)/\u\L$1/g; [download]
In reply to Re: Splitting/joining on different characters by japhy in thread Splitting/joining on different characters by SirBones