ID > SSN (strict) Favorite

Matches a U.S. social security number. The hyphens are optional, but both must be present or missing.

Also checks for disallowed numbers (666-**-****, 9**-**-****, 000-**-****, ***-00-****, ***-**-0000)

See Also
Sample Matches
Text Result
078-05-1120
Group #0
078-05-1120
Group #1
-
match
111-11-1111
Group #0
111-11-1111
Group #1
-
match
111111111
Group #0
111111111
Group #1
match
123-45-6789
Group #0
123-45-6789
Group #1
-
match
123456789
Group #0
123456789
Group #1
match
000-11-1111no match
111-00-1111no match
111-11-0000no match
123-456789no match
12345-6789no match
666-11-1111no match
900-11-1111no match
987-65-4320no match