Community Patterns

Community Library Entry

0

Regular Expression
Created·2018-06-22 16:47
Flavor·PCRE (Legacy)

/
[0-9]{9}|\d{3}[ -]*\d{2}[ -]*\d{4}|[ -]*(?:[0-9][ -]*){9}
/
gm
Open regex in editor

Description

This will find SSN in multiple forms in a document. Source for ED https://www.jscape.com/blog/bid/79591/exploring-regular-expressions-in-dlp

Submitted by anonymous