piighost/us-passport

US passport number, one uppercase letter then eight digits. Noisy by nature: any reference code of that shape matches, for example an invoice number. Pair it with a whitelist, or keep it for documents where a passport is expected.

Label: US_PASSPORT

Pattern

\b[A-Z]\d{8}\b

Must be caught

Must be left alone

Tags: us, government-id, identity

Download the detector as TOML