/^([Aa][ABELKPRSZabelkprsz]|[Bb][Cc]|[Cc][AOTaot]|[Dd][ECec]|[Ff][LMlm]|[Gg][AUau]|[Hh][Ii]|[Ii][ADLNadln]|[Kk][SYsy]|[Ll][Aa]|[Mm][ABDEHINOPSTabdehinopst]|[Nn][BCDEHJLMSTUVYbcdehjlmstuvy]|[Oo][HKNRhknr]|[Pp][AERWaerw]|[Qq][Cc]|[Rr][Ii]|[Ss][CDKcdk]|[Tt][NXnx]|[Uu][Tt]|[Vv][AITait]|[Ww][AIVYaivy]|[Yy][Tt])$/
Thoughts and tactics on infrastructure, developer tools, and elegant programming
July 2, 2014
Condensed uppercase/lowercase Regex validation for all US/Canadian States, Provinces, and Territories
Labels:
HTML5
,
regex
,
validation
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment