Skip to content

Instantly share code, notes, and snippets.

@Rotzke
Created September 17, 2021 09:25
Show Gist options
  • Save Rotzke/b16ecff5daf1b4d47c81b51212bb1e04 to your computer and use it in GitHub Desktop.
Save Rotzke/b16ecff5daf1b4d47c81b51212bb1e04 to your computer and use it in GitHub Desktop.
Fake-Aware SSN RegEx Pattern
^(?!b(d)1+-(d)1+-(d)1+b)(?!123-45-6789|219-09-9999|078-05-1120)(?!666|000|9d{2})d{3}-(?!00)d{2}-(?!0{4})d{4}$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment