QUOTE (rcorfman @ December 13, 2013 02:38 pm) |
QUOTE (Kai Team @ December 12, 2013 07:59 pm) | |
is simpler and will match on both upper and lower case letters. If the regex is case insensitive, then only use the upper case or the lower case portion. |
I disagree that is simpler when trying to show someone who is unfamiliar with RegEx how to match a specific example given (i.e. I was trying to be explicit about what each part of the RegEx is doing, so that the OP could craft his own). Simplicity is in the eye of the beholder.
![wink.gif]()
Also, the example I gave
is case insensitive. From the GSAK help file on RegEx: