Answers for "regex for zip code or postal code"

4

zip code regex

^[0-9]{5}(?:-[0-9]{4})?$
Posted by: Guest on April-06-2020
0

us postal code regex

(^\d{5}$)|(^\d{9}$)|(^\d{5}-\d{4}$)
Posted by: Guest on December-28-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language