Thailand Passport Number

Detects Thai passport numbers issued by the Department of Consular Affairs, Ministry of Foreign Affairs of Thailand. Documented formats are one letter followed by six digits (older series, e.g. A123456), two letters followed by six digits (e.g. AA123456), or two letters followed by seven digits (current e-passport series, e.g. AA1234567, nine characters total matching the MRZ document-number field). Note: the legacy A123456 / AA123456 forms are documented by a single source (Thai Wikipedia); the current AA1234567 form is corroborated independently via the MRZ document-number field.

Type
regex
Engine
universal
Confidence
medium
Confidence justification
Medium confidence: short letter-prefixed alphanumeric runs (1-2 letters + 6-7 digits) are common in order codes, bookings and other reference numbers, so corroborating passport keywords are required on every tier. No tier fires on the bare value alone (D1 identifier convention).
Jurisdictions
th
Regulations
PDPA (TH)
Frameworks
ISO 27001, ISO 27701
Data categories
pii, government-id
Scope
narrow
Risk rating
8
Platform compatibility
Purview: Compatible, GCP DLP: Compatible, Macie: Compatible, Zscaler: Compatible, Palo Alto: Compatible, Netskope: Unsupported

Pattern

\b(?:[A-Z]\d{6}|[A-Z]{2}\d{6,7})\b

Corroborative evidence keywords

Thai passport, passport number, travel document, หนังสือเดินทาง, เลขที่หนังสือเดินทาง

Proximity: 300 characters

Should match

Should not match

Known false positives

References