Datatypes

Phone number

ID phone

DatatypePersonal data (PII)

Telephone number in standard format (RFC3966), without 'tel:' prefix

Categories
Personally identifiable information, Common, Telecommunications
Countries
Global (not tied to a country)
Languages
Common to most languages
AutoType benchmark
phone-3
Microsoft CDM
means.identity.service.phone
W3C DPV
pd:TelephoneNumber
FTA
TELEPHONE
Google DLP
PHONE_NUMBER
Presidio
PHONE_NUMBER
Schema.org
telephone
Wikidata
P1329
FIBO
telephone number (phone number)
Quality
80/100 · missing: anchored regexp, negative example, translation
Metacrafter rules
23 rules (22 by field name, 1 by value)
Supported by tools
Amazon Macie, Auto-Type, Amazon Comprehend, AWS Glue Sensitive Data Detection, Azure AI Language PII detection, Collibra Data Classification, csv-detective, Databricks Unity Catalog data classification, DataHub classification, DataPrep, Capital One DataProfiler, FTA (Fast Text Analysis), Google Cloud Sensitive Data Protection (DLP), Great Expectations Semantic Types Expectations, IBM Security Guardium Analyzer, metacrafter, Metadata Guardian, Nightfall AI, OpenMetadata auto-classification, Oracle Data Safe, Microsoft Presidio, scrubadub, Snowflake sensitive data classification, Soda, RedGate SQL Data catalog, Talend (Qlik Talend Data Preparation, Data Catalog and Data Inventory), Alteryx Woodwork

Regular expression

(?=.*\d)(?:(?:(?:\+|00|011)[\.\/\-\ \t]*([17]|2(?:[07]|[1-689]\d)|3(?:[0-4679]|[578]\d)|4(?:[013-9]|2\d)|5(?:[1-8]|[09]\d)|6(?:[0-6]|[789]\d)|8(?:[1246]|[035789]\d)|9(?:[0-58]|[679]\d))[\.\/\-\ \t]*|([17])[\.\/\-\ ])?(?:\((\d{1,6})\)[\.\/\-\ \t]*)?(?:(\d{1,6})[\.\/\-\ ])?(?:(\d{1,6})[\.\/\-\ ])?(?:(\d{1,6})[\.\/\-\ ])?(?:(\d{1,6})[\.\/\-\ ])?(\d{0,10}?)(\d{1,4})(?:[\.\/\-;\ \t]*e?xt?[\.\/\-=\ \t]*(\d{1,14}))?)?

Python re syntax. Not anchored: it can match inside longer text.

Examples

ValueDescription
+1-202-456-1414White House
+1-514-954-8219International Civil Aviation Organization

Patterns

Specific representations of this datatype.

IDNameCategoriesCountriesDescription
nanpphone North American phone number (NANP) PII pattern draft pii, common, telecom US, CA Ten-digit telephone number of the North American Numbering Plan (NANP), the shared numbering plan of country code 1 used by the United...
phone_e164 Phone number in E.164 format PII pattern draft pii, common, telecom global International telephone number written in the format of ITU-T Recommendation E.164: a plus sign followed by at most 15 digits, without...
tel_uri Telephone number as a tel URI PII pattern draft pii, common, telecom global Telephone number written as a URI of the tel scheme (RFC 3966), as in HTML links, vCards and SIP messages. A global number starts with a...

Child datatypes

IDNameCategoriesCountriesDescription
msisdn Mobile Subscriber ISDN Number (MSISDN) PII telecom, pii global Telephone number of a mobile subscription, which the network links to the IMSI of the SIM card (3GPP TS 23.003). It is an ITU-T E.164...

Sources

Use this record