Payment Card PAN

Identifies payment card Primary Account Numbers (PANs) for Visa, Mastercard (including 2-series BINs), American Express, and Discover. Uses Func_credit_card Luhn validator with AllDigitsSameFilter.

Type
regex
Engine
universal
Confidence
high
Confidence justification
High confidence: card BIN prefixes combined with Luhn validation produce very few false positives. Mastercard 2-series BINs (issued since 2017) are included for comprehensive coverage.
Detection quality
Verified
Jurisdictions
global
Regulations
CCPA/CPRA, GDPR
Frameworks
ISO 27001, ISO 27701, PCI-DSS, SOC 2
Data categories
pii, financial
Scope
narrow
Risk rating
9
Platform compatibility
Purview: Compatible, GCP DLP: Compatible, Macie: Compatible, Zscaler: Compatible, Palo Alto: Compatible, Netskope: Unsupported

Pattern

\b(?:4\d{3}|5[1-5]\d{2}|2[2-7]\d{2}|3[47]\d{2}|6(?:011|5\d{2}))\d{4}\d{4}\d{1,4}\b

Corroborative evidence keywords

payment card, card number, Visa, Mastercard, American Express, Amex, Discover, PAN, PCI, credit card, card no, CC, visa, mastercard, amex, american express, discover, jcb, diners club

Proximity: 300 characters

Should match

Should not match

Known false positives

References

Collections