U.S. Driver's License Number (Multi-State)

A multi-state helper for detecting U.S. driver's license numbers using the real structural formats of several high-population states, rather than the broad "letter + 7-12 digits" catch-all. Covers California, New York, Texas, Florida, New Jersey, and Illinois. This is a companion to the generic us-drivers-license pattern (which it does not replace); use it when you want tighter, state-aware matching for those jurisdictions.

Type
regex
Engine
universal
Confidence
medium
Confidence justification
Medium confidence: the letter-prefixed state formats are structurally distinctive, but the purely numeric NY/TX formats (8-9 digits) overlap with generic numbers, so corroborative DMV keywords are required for reliable detection.
Jurisdictions
us
Regulations
State Breach Laws (US), CCPA/CPRA
Frameworks
ISO 27001, ISO 27701
Data categories
pii, government-id
Scope
narrow
Risk rating
6
Platform compatibility
Purview: Compatible, GCP DLP: Compatible, Macie: Compatible, Zscaler: Compatible, Palo Alto: Compatible, Netskope: Compatible

Pattern

\b[A-Z]\d{18}\b|\b[A-Z]\d{14}\b|\b[A-Z]\d{11,12}\b|\b[A-Z]\d{7}\b|\b\d{8,9}\b

Corroborative evidence keywords

driver, driver's license, drivers license, driver license, driving licence, license number, DL, DL number, DMV, motor vehicle, state ID, identification card, class C, REAL ID

Proximity: 300 characters

Should match

Should not match

Known false positives

References