Datatypes › phone

North American phone number (NANP)

ID nanpphone

Pattern of phonePersonal data (PII)Draft

This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).

Ten-digit telephone number of the North American Numbering Plan (NANP), the shared numbering plan of country code 1 used by the United States, Canada and several Caribbean and Pacific territories. The number is a three-digit area code, a three-digit central office code and a four-digit line number. The area code and the central office code start with a digit from 2 to 9. Common notations are NPA-NXX-XXXX and (NPA) NXX-XXXX, with an optional leading 1 or +1.

Pattern of
Phone number phone
Categories
Personally identifiable information, Common, Telecommunications
Countries
United States, Canada
Languages
Common to most languages
AutoType benchmark
phone-mixed, phone1, phone2
D3M
https://metadata.datadrivendiscovery.org/types/AmericanPhoneNumber
Quality
100/100
Metacrafter rules
no detection rule yet
Supported by tools
Alteryx Designer Cloud, Amazon Macie, Auto-Type, IBM Knowledge Catalog (IBM watsonx.data intelligence), Nightfall AI, Oracle Analytics Desktop, Snowflake sensitive data classification, Talend (Qlik Talend Data Preparation, Data Catalog and Data Inventory)

Regular expression

^(?:\+?1[-. ]?)?(?:\([2-9]\d{2}\)|[2-9]\d{2})[-. ]?[2-9]\d{2}[-. ]?\d{4}$

Python re syntax.

Examples

ValueDescription
(202) 555-0143(NPA) NXX-XXXX notation; 555-0100 to 555-0199 are reserved for fictional use
(613)555-0180Parentheses without a space, as in the D3M definition
1-416-555-0123With the leading 1
+1 212 555 0199International notation
3125550111Digits only
(123) 555-0143 invalidAn area code cannot start with 0 or 1
555-0143 invalidSeven-digit local number without an area code

Translations

LanguageNameDescription
RussianСевероамериканский номер телефона (NANP)Десятизначный номер телефона по Североамериканскому плану нумерации (NANP) с кодом страны 1. Используется в США, Канаде и ряде территорий Карибского бассейна и Тихого океана. Состоит из трёхзначного кода региона, трёхзначного кода станции и четырёхзначного номера абонента.

Sources

Use this record