You already got a nice answer from kennethk. I just wanted to add that you may want to move the caret left one position though: Currently USA must be at the start of the string, but BRA and CAN can be anywhere....
...roboticus
When your only tool is a hammer, all problems look like your thumb.
In reply to Re: Regular Expression Translation Help!
by roboticus
in thread Regular Expression Translation Help!
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |