Title |
Test
Find
Pattern Title
|
Expression |
^(^N[BLSTU]$)|(^[AMN]B$)|(^[BQ]C$)|(^ON$)|(^PE$)|(^SK$)$ |
Description |
used to match standard province codes in upper case. |
Matches |
ON |
Non-Matches |
ONT |
Author |
Rating:
Stewart Waldron
|
Source |
|
Your Rating |
|
Title: YT not accepted
Name: Jim
Date: 4/21/2007 3:01:17 PM
Comment:
The symbol for the Yukon Territory (YT) is not accepted. I have added |(^YT$) after the check for SK.
Here's the complete regex:
^(^N[BLSTU]$)|(^[AMN]B$)|(^[BQ]C$)|(^ON$)|(^PE$)|(^SK$)|(^YT$)$
Title: Programmer Analyst
Name: Matthew Hartman
Date: 11/8/2005 11:02:35 AM
Comment:
This RegExp is awsome. I like it alot better then the one I've been using which I wrote myself.