Mexico Passport Number

Detects Mexican passport numbers issued by the Secretaría de Relaciones Exteriores (SRE). Older passports use a single letter followed by 7-8 digits; newer books carry an 8-9 character alphanumeric serial. Because the format is short and loosely structured, corroborative keyword proximity is strongly recommended to reduce false positives.

Type
regex
Engine
boost_regex
Confidence
medium
Confidence justification
Medium confidence: the alphanumeric body is only 8-9 characters and lacks a fixed prefix, so the pattern can match unrelated reference codes and serial numbers. Corroborative passport keywords within 300 characters are essential for reliable detection.
Jurisdictions
mx
Regulations
LFPDPPP, CCPA/CPRA
Frameworks
ISO 27001, ISO 27701
Data categories
pii, government-id
Scope
narrow
Platform compatibility
Purview: Compatible, GCP DLP: Unsupported, Macie: Unsupported, Zscaler: Compatible, Palo Alto: Unsupported, Netskope: Unsupported

Pattern

(?<![A-Za-z0-9])(?:[A-Za-z][0-9]{7,8}|(?=[A-Za-z0-9]*[A-Za-z])(?=[A-Za-z0-9]*[0-9])[A-Za-z0-9]{8,9})(?![A-Za-z0-9])

Corroborative evidence keywords

passport, passport number, pasaporte, número de pasaporte, mexican passport, travel document, SRE, Relaciones Exteriores

Proximity: 300 characters

Should match

Should not match

Known false positives

References