/ Published in: Regular Expression
URL: http://reusablecode.blogspot.com/2008/08/isvalidzipcode.html
Expand |
Embed | Plain Text
^[0-9]{5}(-[0-9]{4})?$
You need to login to post a comment.
Scooter on 08/09/08
7 people have marked this snippet as a favorite
Shocm
dmitryfstyleca
jeremyhcobb
jadb
LeeRJohnson
Tyster
banjomamo
URL: http://reusablecode.blogspot.com/2008/08/isvalidzipcode.html
^[0-9]{5}(-[0-9]{4})?$
You need to login to post a comment.