Datatypes › phone

Russian phone number in national notation

ID ru_phone_national

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).

Phone number of the Russian Federation written in national notation: the trunk prefix 8, then the area or operator code of 3 to 5 digits, often in parentheses, and the subscriber number split by spaces or hyphens, 11 digits in total. This is how most regional open data portals publish contact phones of organizations, for example "8 (XXXXX) X-XX-XX". The regexp requires at least one space, hyphen or parenthesis, so that a plain 11-digit number is not taken for a phone. The international form +7 is covered by ru_phone.

Pattern of
Phone number phone
Categories
Personally identifiable information, Common, Telecommunications
Countries
Russian Federation
Languages
Common to most languages
Quality
73/100 · missing: authoritative source link, mapping (Wikidata, Schema.org, ...), detector coverage
Metacrafter rules
no detection rule yet
Supported by tools
no tool record lists this type yet

Regular expression

^(?=(?:\D*\d){11}$)(?=.*[ ()-])8[ -]?(?:\(\d{3,5}\)|\d{3,5})[ -]?\d{1,3}(?:[ -]?\d{1,3}){1,3}$

Python re syntax.

Examples

ValueDescription
8 (301) 123-45-67Google libphonenumber example fixed-line number in national notation
8 (912) 345-67-89Google libphonenumber example mobile number in national notation
8(301)1234567The same fixed-line number without spaces and hyphens
83011234567 invalidPlain 11 digits without separators are not taken for a phone number
+73011234567 invalidInternational E.164 form, covered by ru_phone

Translations

LanguageNameDescription
RussianНомер телефона в России в национальном форматеНомер телефона в национальной записи с префиксом 8, кодом города или оператора и номером абонента, разделённым пробелами или дефисами, например «8 (XXXXX) X-XX-XX».

Sources

Use this record