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)
In reply to (jeffa) Re: regexps
by jeffa
in thread Looking for a regex to match last capitalized word in string
by hotshot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |