RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Expressions by User

   Displaying page 1 of 1 pages; Items 1 to 1
Title Test Details SSN (US Social Security Number)
Expression
(?!000)(?!666)^([0-8]\d{2})(\d{2})(\d{4})$
Description
Validates SSN for INTEGERS ONLY. This does not allow spaces or dashes. Following this info: http://www.socialsecurity.gov/employer/randomization.html Starting in June 2011, the SSA will begin randomizing SSN creation. The only exclusions are SSNs beginning with 000, 666, or 900-999. That rather simplifies things.
Matches
001191873 | 667191873 | 899191873
Non-Matches
000191873 | 666191873 | 901191873
Author Rating: Not yet rated. Robert Helm
   Displaying page 1 of 1 pages; Items 1 to 1

Copyright © 2001-2024, RegexAdvice.com | ASP.NET Tutorials