Validate US Social Security Number
by Kyle on
This regular expression accepts either 123-45-6789 or 123456789:
/^\d{3}\-?\d{2}\-?\d{4}$/
Search · Sitemap · Contact · Account Center
by Kyle on
This regular expression accepts either 123-45-6789 or 123456789:
/^\d{3}\-?\d{2}\-?\d{4}$/