Regular Expressions 101

Community Patterns

Social Security Number - 10/09/18

0

Regular Expression
PCRE (PHP <7.3)

/
\b(?!219-09-9999|078-05-1120)(?!666|000|9\d{2})\d{3}[ -](?!00)\d{2}[ -](?!0{4})\d{4}\b|\b(?!219099999|078051120)(?!666|000|9\d{2})\d{3}(?!00)\d{2}(?!0{4})\d{4}\b
/
gm

Description

no description available

Submitted by anonymous - 6 years ago