UK Phone Number

Detects UK national telephone numbers per Ofcom's National Telephone Numbering Plan: geographic numbers (01/02 prefix) and mobile numbers (07 prefix, second digit restricted to 1-5 or 7-9 to exclude 070 personal-numbering and 076 pager ranges), both as 11-digit domestic strings (leading 0 + 10 significant digits), plus the +44 international form (10 significant digits, leading 0 dropped per ITU/Ofcom convention). Digit groups after the initial prefix use a flexible per-digit optional separator rather than a single fixed grouping, because Ofcom's numbering plan allows multiple valid group-length conventions (4+6, 3+7, 2+8, 5+5) that vary by area. Non-geographic service numbers (03/08/09) are intentionally out of scope — they are typically organizational/service numbers rather than personal PII, mirroring how au-fixed-line-telephone scopes to geographic numbers only.

Type
regex
Engine
universal
Confidence
medium
Confidence justification
Medium confidence: the geographic (01/02) and mobile (07 with second-digit restriction) prefix constraints narrow the format, but UK numbers carry no checksum and an 11-digit UK-shaped domestic sequence still collides with other structured identifiers. Per the phone-family convention set by au-fixed-line-telephone (every tier requires positive corroborative evidence; high digit-collision formats never get a zero-evidence tier), both the domestic and +44 international sub-regexes are evidence-gated at every tier: 75 requires generic phone-context evidence and 85 requires country-specific phone keywords with template/noise exclusion. The literal +44 prefix improves precision when present but is not by itself sufficient gating.
Jurisdictions
uk
Regulations
UK GDPR, PECR
Frameworks
ISO 27001, ISO 27701, SOC 2
Data categories
pii, contact-information
Scope
narrow
Risk rating
5
Platform compatibility
Purview: Compatible, GCP DLP: Unsupported, Macie: Unsupported, Zscaler: Compatible, Palo Alto: Unsupported, Netskope: Unsupported

Pattern

(?<!\d)(?:\+44[\s.-]?(?:[12][\s.-]?\d[\s.-]?\d[\s.-]?\d[\s.-]?\d[\s.-]?\d[\s.-]?\d[\s.-]?\d[\s.-]?\d[\s.-]?\d|7[\s.-]?[1-57-9][\s.-]?\d[\s.-]?\d[\s.-]?\d[\s.-]?\d[\s.-]?\d[\s.-]?\d[\s.-]?\d[\s.-]?\d)|0(?:[12][\s.-]?\d[\s.-]?\d[\s.-]?\d[\s.-]?\d[\s.-]?\d[\s.-]?\d[\s.-]?\d[\s.-]?\d[\s.-]?\d|7[\s.-]?[1-57-9][\s.-]?\d[\s.-]?\d[\s.-]?\d[\s.-]?\d[\s.-]?\d[\s.-]?\d[\s.-]?\d[\s.-]?\d))(?!\d)

Corroborative evidence keywords

phone, mobile, landline, call, text, contact number, UK phone number, call me on, cell, telephone, tel, dial, text me, text message, [object Object], WhatsApp, voicemail, phone number, mobile number

Proximity: 300 characters

Should match

Should not match

Known false positives

References