Stop writing DLP patterns from scratch

1337+ community-built regex patterns for detecting sensitive data — PII, PHI, financial records, government IDs. Tested, documented, and ready to export to Microsoft Purview. No account needed.

1337 patterns · 78 jurisdictions · 327 regulations

Getting started

How it works

  1. Find — Search by jurisdiction, regulation, or data type.
  2. Review — Every pattern has test cases, false-positive notes, and confidence ratings.
  3. Export — Download as Purview XML, GCP DLP JSON, Macie JSON, or raw regex.

Why does this exist?

Every security team writing DLP rules hits the same wall. You need a Medicare number regex. A passport pattern. A credit card detector. So you write it from scratch. Test it. Find the false positives. Fix them. Repeat. The team down the road is doing the exact same thing.

SIEM teams share Sigma rules. Malware analysts share YARA signatures. IDS teams share Snort rules. DLP teams had nothing to share. That's what TestPattern fixes.

Export formats

Collections