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 Passport C12345678 expires in 2031. → C12345678Travel document: X98765432 → X98765432
Must be left alone
Tags: us, government-id, identity
Download the detector as TOML
Used by
Related patterns
piighost/ar-dni — Argentine national identity document number, the DNI: eight digits, written solid or with a period after the second…
piighost/at-svnr — Austrian social security number, the Sozialversicherungsnummer: ten digits, a three digit serial and one check digit,…
piighost/au-driving-licence — Australian driver licence number.
piighost/au-medicare — Australian Medicare number: ten digits in the groups the card prints, sometimes followed by the individual reference…
piighost/au-passport — Australian passport number, eight or nine characters, per the Purview Australia passport definition: one letter from…
piighost/be-nrn — Belgian national register number in its written form: the birth date in dotted pairs, a dash, a three digit sequence…
← piighost/us-npi · All patterns in the catalogue · piighost/us-phone →