in reply to Regular Expression Translation Help!
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Regular Expression Translation Help!
by Anonymous Monk on Nov 30, 2010 at 20:43 UTC | |
by kennethk (Abbot) on Nov 30, 2010 at 20:47 UTC | |
by Anonymous Monk on Nov 30, 2010 at 21:02 UTC | |
by kennethk (Abbot) on Nov 30, 2010 at 21:23 UTC | |
by aquarium (Curate) on Nov 30, 2010 at 23:34 UTC | |
by AnomalousMonk (Archbishop) on Dec 01, 2010 at 00:58 UTC |