you can match any sequence of capital letters with the following simple regexp:
This captures one or more capitals. If you want to access the matched string, put parentheses around the pattern:/[A-Z]+/
and then the matched string will be in $1./([A-Z]+)/
Have a look at perlre for more information on regular expressions.
CU
Robartes-
In reply to Re: string manipulation
by robartes
in thread string manipulation
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |