Our Hybrid Detection Approach

Hybrid PII detection combines deterministic regex patterns for structured data with trained name-recognition models (in 42 of 48 languages). Patterns give repeatable matches; the name models are probabilistic.

How We Detect Different Entity Types

We use the best tool for each job: deterministic regex patterns for structured data, and trained ML models for names and entities. Built on Microsoft Presidio.

Entity TypeDetection MethodExamples
Structured Data
Regex Patterns
Emails, SSNs, credit cards, IBANs, phone numbers
Names & Organizations
ML Models (spaCy, Stanza, Hugging Face)
Person names, company names, locations
48 Languages
Per-language ML models
A name model for 42 of 48 languages, general patterns for all
Structured Data Matches
Deterministic
Same text, settings and version: same matches
Name Detection
Probabilistic ML
Trained NLP models; a name can be missed
All Detections
+Reviewable
Type, position and score for every entity

How Pattern Matching Works

Structured data uses carefully crafted regex patterns that match specific formats. With the same text, settings and software version, the patterns yield the same matches.

Email Addresses

[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}

Matches standard email format: local-part@domain.tld

Credit Card Numbers

\b(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|...)\b

Matches Visa, Mastercard, Amex, and other card formats

German IBAN

DE[0-9]{2}\s?[0-9]{4}\s?[0-9]{4}\s?[0-9]{4}\s?[0-9]{4}\s?[0-9]{2}

Matches German IBAN format with optional spaces

Reviewable Detections

When auditors ask "why was this detected?" you get a clear answer with entity type, position, and score.

  • GDPR Article 25 (data protection by design): every detection is listed with type, position and score, so processing can be reviewed
  • Hosting: Hetzner data centers in Germany certified to ISO 27001
  • Audit Trail: Every detection includes type, position, and score

Example Audit Response

Q: Why was "john.smith@company.com" flagged?
A: Matched EMAIL_ADDRESS pattern at position 45-67 with score 1.0. Detection method: regex pattern matching.

Experience Hybrid Detection

Try our PII detection free with 200 tokens per cycle.