piighost/fr-driving-licence

French driving licence file number, the numero NEPH: twelve digits, printed on the back of the credit card format licence in two groups of six. Microsoft Purview defines the France driver licence entity as twelve digits with no checksum, and the ANTS pages describe the same twelve digit NEPH. Twelve bare digits is a weak shape and it needs context words to be worth anything. Reproduced collisions: a NEPH that starts with a zero is also matched whole by DE_PHONE and by IT_PHONE, since both accept a leading zero trunk code. Twelve digits stays under the CREDIT_CARD window of thirteen to nineteen digits and over PL_PESEL and IT_PARTITA_IVA at eleven, so those three do not fire.

Label: FR_DRIVING_LICENCE

Pattern

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

Must be caught

Must be left alone

Tags: fr, government-id, identity

Download the detector as TOML