Title |
Test
Find
US States and DC
|
Expression |
^((A[LKZR])|(C[AOT])|(D[EC])|(FL)|(GA)|(HI)|(I[DLNA])|(K[SY])|(LA)|(M[EDAINSOT])|(N[EVHJMYCD])|(O[HKR])|(PA)|(RI)|(S[CD])|(T[NX])|(UT)|(V[TA])|(W[AVIY]))$ |
Description |
The 50 US states and DC (Disctrict of Columbia). |
Matches |
AZ NY |
Non-Matches |
az Az Arizona |
Author |
Rating:
Mike Hamilton
|
Source |
|
Your Rating |
|
Title: Thanks
Name: Mike Hamilton
Date: 4/23/2008 6:41:08 PM
Comment:
Thanks for the comment. I will update the expression. I am still a new regex writer. Thanks for being gentle in the commenting, and not flaming me as the noob I am. LOL
Title: Unneeded commas
Name: Michael Ash
Date: 4/22/2008 11:31:54 AM
Comment:
All the commas in your expression are not needed. They allow for things like "A," to match