in reply to Looking for a regex to match last capitalized word in string

A possible regex would be
my $str = "siteConfigView"; my($last_word) = $str =~ /([A-Z][a-z]+)$/; print $last_word, $/;
This looks for a capital letter followed by at least one lowercase letter at the end of the string, nice and straight-forward really :-)
HTH

broquaint