/ Published in: Regular Expression
Z5Z-5Z5 orZ5Z5Z5
Expand |
Embed | Plain Text
/^\D{1}\d{1}\D{1}\-?\d{1}\D{1}\d{1}$/
Comments
Subscribe to comments
You need to login to post a comment.
edwinjanmoss on 10/19/07
3 people have marked this snippet as a favorite
shovanjoshi
copyleft
dmitryfstyleca
Z5Z-5Z5 orZ5Z5Z5
/^\D{1}\d{1}\D{1}\-?\d{1}\D{1}\d{1}$/
Subscribe to comments
You need to login to post a comment.
No postal code includes the letters D, F, I, O, Q, or U. The letters W and Z are used, but are not currently used as the first letter.