US Passport Number

Detects US passport numbers in exactly two accepted formats: a nine-digit numeric value (older US passports), or a single uppercase letter followed by exactly eight digits (newer passport books and cards). Bare eight-digit values and letter-plus-nine-digit values are not valid US passport numbers. Due to the relatively simple format, corroborative keyword proximity is strongly recommended to reduce false positives. Keywords are US-scoped (passport / US passport / State Department); foreign-passport labels are not treated as US passport evidence.

Type
regex
Engine
boost_regex
Confidence
medium
Confidence justification
The US passport number format is short and loosely structured, consisting of an optional letter followed by 8-9 digits. This simplicity means the pattern can match many unrelated numeric strings such as reference codes, invoice numbers, and account identifiers. Medium confidence is appropriate; strong corroborative keyword proximity is essential for reliable detection.
Detection quality
Verified
Jurisdictions
us
Regulations
CCPA/CPRA, HIPAA, State Breach Laws (US)
Frameworks
ISO 27001, ISO 27701
Data categories
pii, government-id
Scope
narrow
Risk rating
5
Platform compatibility
Purview: Compatible, GCP DLP: Compatible, Macie: Compatible, Zscaler: Compatible, Palo Alto: Compatible, Netskope: Unsupported

Pattern

\b(?:[A-Z]\d{8}|\d{9})\b

Corroborative evidence keywords

passport, passport number, passport no, travel document, US passport, ID number, identification, ID card, license, permit, registration, certificate

Proximity: 300 characters

Should match

Should not match

Known false positives