Other Resources:
US post code validation
How to perform a validation on US post codes using a regular expression? For example, "12345-5434" is an valid US post code.
✍: Guest
![]()
To perform a validation on US post codes, try this regular expression:
^([0-9]{5})(-[0-9]{4})?$
2013-01-27, 0👍, 0💬
Popular Posts:
How to capture the Baidu spider entries from Web log file? Here are some Web log file entries: 127.0...
A free online regular expression test tool that allows to try you regular expression pattern and see...
All credit card numbers issued by Diners Club must start with 300 through 305, 36 or 38 and have 14 ...
How to write a regular expression to validate GUID (Globally Unique IDentifier) or UUID (Universally...
How to write a regular expression to validate GUID (Globally Unique IDentifier) or UUID (Universally...