AI Prep • 4 min read • Reviewed 2026-11-11

What a Pattern-Based PII Redactor Can and Cannot Find

Understand why deterministic checksums catch cards, IBANs, emails, and API tokens reliably — and where human review remains essential.

What deterministic rules catch reliably

Structured identifiers follow strict syntax or mathematical checksums. Safe-to-Paste Redactor validates credit card candidates with the Luhn check, validates IBAN bank accounts by modulo-97 verification, matches E.164/common phone formats, detects IPv4/IPv6 addresses, flags URLs embedding credentials, and finds well-known API token prefixes such as JWTs and private-key headers.

What pattern matching cannot find alone

Free-form personal names, company names, internal project codenames, and unstructured street addresses cannot be identified reliably with regular expressions without flagging everyday words or missing unfamiliar names. Always review the highlighted draft and manually mask context-specific details before pasting into an external AI.

Tools Referenced in This Guide