piighost/uk-passport

British passport booklet number, nine digits. Purview folds the United States and the United Kingdom into one entity of one letter or digit followed by eight digits; the registry already holds US_PASSPORT for the letter led form, so this covers the nine digit British form only. This is the weakest shape in the batch and it is honest to say so. Reproduced collision: nine bare digits is matched whole by US_BANK_ROUTING, by NL_BSN and by PL_PHONE, so a hit here is a four way tie that only a nearby keyword can break.

Label: UK_PASSPORT

Pattern

(?<!\w)\d{9}(?!\w)

Must be caught

Must be left alone

Tags: uk, government-id, identity

Download the detector as TOML