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

Here is one way:
use strict; for (qw(siteConfigDelete siteConfigView)) { my ($last) = $_ =~ /([A-Z][a-z]+)$/; print "$last\n"; }

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)