248 US Zip Codes: /(^\d{5}$)|(^\d{5}-\d{4}$)/ var isValidZip = /(^\d{5}$)|(^\d{5}-\d{4}$)/.test("90210");