European National IDs

National identifier detection patterns for EU and UK jurisdictions. Covers identity cards, tax IDs, social security numbers, and national registration numbers.

Jurisdictions
eu, uk, de, fr, it, es, nl, be, pl, se
Regulations
GDPR, Data Protection Act 2018 (UK)
Patterns
19

Patterns in this collection

Rijksregisternummer

Detects Rijksregisternummer patterns. This pattern is based on a Microsoft Purview built-in sensitive information type. Users already running Purview may prefer to enable the built-in SIT directly, or use this version as a starting point for customisation.

Type
regex
Confidence
medium

Personalausweis

Detects Personalausweis patterns. This pattern is based on a Microsoft Purview built-in sensitive information type. Users already running Purview may prefer to enable the built-in SIT directly, or use this version as a starting point for customisation.

Type
regex
Confidence
medium

Steuer Id

Detects Steuer Id patterns. This pattern is based on a Microsoft Purview built-in sensitive information type. Users already running Purview may prefer to enable the built-in SIT directly, or use this version as a starting point for customisation.

Type
regex
Confidence
medium

DNI

Detects DNI patterns. This pattern is based on a Microsoft Purview built-in sensitive information type. Users already running Purview may prefer to enable the built-in SIT directly, or use this version as a starting point for customisation.

Type
regex
Confidence
medium

NIE

Detects NIE patterns. This pattern is based on a Microsoft Purview built-in sensitive information type. Users already running Purview may prefer to enable the built-in SIT directly, or use this version as a starting point for customisation.

Type
regex
Confidence
medium

NIR Insee

Detects NIR Insee patterns. This pattern is based on a Microsoft Purview built-in sensitive information type. Users already running Purview may prefer to enable the built-in SIT directly, or use this version as a starting point for customisation.

Type
regex
Confidence
medium

Codice Fiscale

Detects Codice Fiscale patterns. This pattern is based on a Microsoft Purview built-in sensitive information type. Users already running Purview may prefer to enable the built-in SIT directly, or use this version as a starting point for customisation.

Type
regex
Confidence
medium

BSN

Detects BSN patterns. This pattern is based on a Microsoft Purview built-in sensitive information type. Users already running Purview may prefer to enable the built-in SIT directly, or use this version as a starting point for customisation.

Type
regex
Confidence
medium

PESEL

Detects PESEL patterns. This pattern is based on a Microsoft Purview built-in sensitive information type. Users already running Purview may prefer to enable the built-in SIT directly, or use this version as a starting point for customisation.

Type
regex
Confidence
medium

Personnummer

Detects Personnummer patterns. This pattern is based on a Microsoft Purview built-in sensitive information type. Users already running Purview may prefer to enable the built-in SIT directly, or use this version as a starting point for customisation.

Type
regex
Confidence
medium

UK Disclosure and Barring Service (DBS) Certificate Number

Detects 12-digit UK Disclosure and Barring Service (DBS) Basic, Standard, and Enhanced criminal-record check certificate numbers, which begin with 00 followed by 10 digits (e.g. 001482937162), used in pre-employment safeguarding and DBS Update Service checks.

Type
regex
Confidence
medium

UK Driving Licence Number

>- This pattern is based on a Microsoft Purview built-in sensitive information type. Users already running Purview may prefer to enable the built-in SIT directly, or use this version as a starting point for customisation. Detects UK driving licence numbers. GB licences follow a 16-character format encoding surname, date of birth, and gender. Northern Ireland licences are 8-digit numbers.

Type
regex
Confidence
medium

UK EORI Number (Economic Operators Registration and Identification)

Detects UK HMRC Economic Operators Registration and Identification (EORI) numbers prefixed with GB (Great Britain) or XI (Northern Ireland Windsor Framework) followed by 12 digits (VAT-linked usually ending 000) or 15 digits.

Type
regex
Confidence
high

National Insurance Number

Detects National Insurance Number patterns. This pattern is based on a Microsoft Purview built-in sensitive information type. Users already running Purview may prefer to enable the built-in SIT directly, or use this version as a starting point for customisation.

Type
regex
Confidence
medium

NHS Number

Detects NHS Number patterns. This pattern is based on a Microsoft Purview built-in sensitive information type. Users already running Purview may prefer to enable the built-in SIT directly, or use this version as a starting point for customisation.

Type
regex
Confidence
medium

UK Northern Ireland Health and Care (H&C) Number

Detects 10-digit Northern Ireland Health and Care (H&C) Numbers allocated by HSC Northern Ireland in the dedicated 320 000 0000 to 399 999 9999 range, completing UK four-nations health-ID coverage alongside uk-nhs-number (England/Wales/Isle of Man) and uk-chi-number (Scotland). Enforces the exact Modulo-11 check digit via dual inline Purview Checksum validators.

Type
regex
Confidence
high

Passport

Detects Passport patterns. This pattern is based on a Microsoft Purview built-in sensitive information type. Users already running Purview may prefer to enable the built-in SIT directly, or use this version as a starting point for customisation.

Type
regex
Confidence
low

Unique Taxpayer Reference

Detects Unique Taxpayer Reference patterns. This pattern is based on a Microsoft Purview built-in sensitive information type. Users already running Purview may prefer to enable the built-in SIT directly, or use this version as a starting point for customisation.

Type
regex
Confidence
medium

UK Unique Pupil Number (UPN) and Unique Learner Number (ULN)

Detects UK Department for Education 13-character Unique Pupil Numbers (UPNs: Modulo-23 check letter excluding I, O, S + 3-digit LA code + 4-digit establishment + 2-digit year + 3-digit serial, or 11 digits + optional temporary suffix letter) and labelled 10-digit Unique Learner Numbers (ULNs).

Type
regex
Confidence
high