US Passport Number

Detects US passport numbers, which consist of 8 to 9 digits optionally preceded by a single uppercase letter. Older US passports use a 9-digit numeric format, while newer passport books and cards may include a single alpha prefix followed by 8 digits. Due to the relatively simple format, corroborative keyword proximity is strongly recommended to reduce false positives.

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
Platform compatibility
Purview: Compatible, GCP DLP: Compatible, Macie: Compatible, Zscaler: Compatible, Palo Alto: Compatible, Netskope: Compatible

Pattern

\b[A-Z]?\d{8,9}\b

Corroborative evidence keywords

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

Proximity: 300 characters

Should match

Should not match

Known false positives