Browse files

fixed nordic countries

  • Loading branch information...
2 parents 44e15c7 + bd9898f commit e8d6bdc9d02d34284b282bd23ec0d55a27494b8c @kristianmandrup committed Sep 18, 2012
View
1 LICENSE
@@ -1,5 +1,6 @@
Copyright (c) 2010 Tomislav Car
Modifications copyright (c) 2010 Todd Eichel for Fooala, Inc.
+Modifications copyright (c) 2012 Wesley Moxam
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
View
28 Readme.rdoc
@@ -92,20 +92,36 @@ Currently tested on:
[AF] Afghanistan
[AL] Albania
[AR] Argentina
+[AT] Austria
[AU] Australia
[BA] Bosnia and Herzegovina
[BD] Bangladesh
[BE] Belgium
+[BG] Bulgaria
+[BO] Bolivia
+[BR] Brazil
[BT] Bhutan
+[BY] Belarus
+[BZ] Belize
[CA] Canada
[CR] Costa Rica
+[CY] Cyprus
+[CZ] Czech Republic
[DE] Germany
+[DK] Denmark
[DZ] Algeria
+[EC] Ecuador
+[EE] Estonia
[EG] Egypt
[ET] Ethiopia
+[FI] Finland
[FR] France
[GB] United Kingdom
+[GE] Georgia
[GH] Ghana
+[GR} Greece
+[GU] Guam
+[GT] Guatemala
[GY] Guyana
[HR] Croatia
[HU] Hungary
@@ -116,6 +132,7 @@ Currently tested on:
[LK] Sri Lanka
[NG] Nigeria
[NL] Netherlands
+[NO] Norway
[NP] Nepal
[PH] Philippines
[PK] Pakistan
@@ -124,16 +141,17 @@ Currently tested on:
[SA] Saudi Arabia
[SE] Sweden
[SI] Slovenia
+[SV] El Salvador
[TO] Tonga
[UA] Ukraine
[US] United States
[ZA] South Africa
[ZW] Zimbabwe
-= Author
-Copyright © 2010 Tomislav Car, {Infinum}[http://www.infinumdigital.com]
- 2012 Wesley Moxam
+= How you can contribute
+More testing is needed to add support for missing countries, and improve support for tested countries. In many cases only minimal testing is done on area codes, local number formats and number length where more exact matching is possible.
-= Contributors
-Don Morrison, Michael Squires, Todd Eichel (Fooala, Inc.), chipiga, Etienne Samson, Luke Randall
+The best places to start is to read through the country tests and data/phone_countries.rb
+= Contributors
+Tomislav Carr, Don Morrison, Michael Squires, Todd Eichel (Fooala, Inc.), chipiga, Etienne Samson, Luke Randall, Wesley Moxam
View
975 data/phone_countries.yml
@@ -3,9 +3,9 @@
:country_code: "676"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: TO
+ :char_3_code: "TO"
:name: Tonga
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
:area_code: "[2-8]\\d"
:local_number_format: "\\d{3}"
:mobile_format: "8[789]\\d{3}"
@@ -14,20 +14,20 @@
:country_code: "54"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: AR
+ :char_3_code: "AR"
:name: Argentina
- :international_dialing_prefix: "0"
- :area_code: "11|291|3833|297|345|351|3783|3717|3525|221|3822|223|261|2324|299|343|3752|3722|258|241|287|264|2652|2461|2627|342|285|2756|2293|2965|\\d{2,4}"
+ :international_dialing_prefix: "00"
+ :area_code: "11|291|3833|297|345|351|37(83|17)|3525|22[13]|3822|2324|299|343|37[25]2|258|241|287|26[14]|26(27|52)|2461|342|285|2756|2293|2965|\\d{2,4}"
:local_number_format: "\\d{6,8}"
:mobile_format: "9\\d{10}"
:number_format: "[1-8]\\d{9}|9\\d{10}"
"506":
:country_code: "506"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: CR
+ :char_3_code: "CR"
:name: Costa Rica
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
:area_code: "[28]"
:local_number_format: "\\d{7}"
:mobile_format: "8\\d{7}"
@@ -36,182 +36,198 @@
:country_code: "251"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: ET
+ :char_3_code: "ET"
:name: Ethiopia
- :international_dialing_prefix: "0"
- :area_code: "11|46|33|25|57|58|47|34|22|46|91"
+ :international_dialing_prefix: "00"
+ :area_code: "11|3[34]|2[25]|5[78]|4[67]|91"
:local_number_format: "\\d{7}"
:mobile_format: "91\\d{7}"
:number_format: "\\d{9}"
"590":
:country_code: "590"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: GP
+ :char_3_code: "GP"
:name: Guadeloupe
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"82":
:country_code: "82"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: KR
+ :char_3_code: "KR"
:name: Korea, Republic of
- :international_dialing_prefix: "1"
+ :international_dialing_prefix: "001"
"223":
:country_code: "223"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: ML
+ :char_3_code: "ML"
:name: Mali
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"420":
:country_code: "420"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: CZ
+ :char_3_code: "CZ"
:name: Czech Republic
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
+ :area_code: "2|7|[3-9]\\d|8"
+ :local_number_format: "\\d{7,8}"
+ :mobile_format: "[78]\\d{8}"
+ :number_format: "\\d{9}"
"252":
:country_code: "252"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: SO
+ :char_3_code: "SO"
:name: Somalia
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"677":
:country_code: "677"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: SB
+ :char_3_code: "SB"
:name: Solomon Islands
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"421":
:country_code: "421"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: SK
+ :char_3_code: "SK"
:name: Slovakia
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"507":
:country_code: "507"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: PA
+ :char_3_code: "PA"
:name: Panama
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"591":
:country_code: "591"
:national_dialing_prefix: "10"
:char_2_code: "10"
- :char_3_code: BO
+ :char_3_code: "BO"
:name: Bolivia
- :international_dialing_prefix: "10"
+ :international_dialing_prefix: "00"
+ :area_code: "[1-9]"
+ :local_number_format: "\\d{7}"
+ :mobile_format: "7\\d{7}"
+ :number_format: "\\d{8}"
"224":
:country_code: "224"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: GN
+ :char_3_code: "GN"
:name: Guinea
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"84":
:country_code: "84"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: VN
+ :char_3_code: "VN"
:name: Viet Nam
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"678":
:country_code: "678"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: VU
+ :char_3_code: "VU"
:name: Vanuatu
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"27":
:country_code: "27"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: ZA
+ :char_3_code: "ZA"
:name: South Africa
- :international_dialing_prefix: "0"
- :area_code: "800|860|861|[1-5,7-8][0-9]"
+ :international_dialing_prefix: "00"
+ :area_code: "800|86[01]|[1-57-8]\\d"
:local_number_format: "\\d{6,7}"
:mobile_format: "7\\d{8}|8[1-9]\\d{7}"
:number_format: "\\d{9}"
"508":
:country_code: "508"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: PM
+ :char_3_code: "PM"
:name: Saint Pierre And Miquelon
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"55":
:country_code: "55"
:national_dialing_prefix: "14"
:char_2_code: "14"
- :char_3_code: BR
+ :char_3_code: "BR"
:name: Brazil
- :international_dialing_prefix: "14"
+ :international_dialing_prefix: "00"
+ :area_code: "\\d{2}"
+ :local_number_format: "\\d{7,8}"
+ :mobile_format: "11[6789]\\d{7}"
+ :number_format: "\\d{10}"
"253":
:country_code: "253"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: DJ
+ :char_3_code: "DJ"
:name: Djibouti
- :international_dialing_prefix: "0"
-"592":
+ :international_dialing_prefix: "00"
+"592":
:country_code: "592"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: GY
+ :char_3_code: "GY"
:name: Guyana
- :international_dialing_prefix: "0"
- :area_code: "218|219|223|225|226|227|231|260|262|263|328|333|334|441|444|455|777|6[0-9]{2}"
+ :international_dialing_prefix: "001"
+ :area_code: "21[89]|2(2[3567]|31|6[023])|3(28|3[34])|44[14]|455|777|6\\d{2}"
:local_number_format: "\\d{4}"
:mobile_format: "6\\d{6}"
:number_format: "\\d{7}"
"225":
:country_code: "225"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: CI
+ :char_3_code: "CI"
:name: "C\xC3\xB4te D'Ivoire"
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"56":
:country_code: "56"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: CL
+ :char_3_code: "CL"
:name: Chile
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"679":
:country_code: "679"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: FJ
+ :char_3_code: "FJ"
:name: Fiji
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"509":
:country_code: "509"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: HT
+ :char_3_code: "HT"
:name: Haiti
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"593":
:country_code: "593"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: EC
+ :char_3_code: "EC"
:name: Ecuador
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
+ :area_code: "\\d"
+ :local_number_format: "\\d{7}"
+ :mobile_format: "[89]\\d{7}"
+ :number_format: "\\d{8}"
"254":
:country_code: "254"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: KE
+ :char_3_code: "KE"
:name: Kenya
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
:area_code: "[2-9]\\d"
:local_number_format: "\\d{5,7}"
:mobile_format: "7\\d{8}"
@@ -220,273 +236,276 @@
:country_code: "226"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: BF
+ :char_3_code: "BF"
:name: Burkina Faso
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"423":
:country_code: "423"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: LI
+ :char_3_code: "LI"
:name: Liechtenstein
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"255":
:country_code: "255"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: TZ
+ :char_3_code: "TZ"
:name: Tanzania, United Republic of
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"227":
:country_code: "227"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: NE
+ :char_3_code: "NE"
:name: Niger
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"594":
:country_code: "594"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: GF
+ :char_3_code: "GF"
:name: French Guiana
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"86":
:country_code: "86"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: CN
+ :char_3_code: "CN"
:name: China
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"960":
:country_code: "960"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: MV
+ :char_3_code: "MV"
:name: Maldives
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"57":
:country_code: "57"
:national_dialing_prefix: "5"
:char_2_code: "5"
- :char_3_code: CO
+ :char_3_code: "CO"
:name: Colombia
- :international_dialing_prefix: "5"
+ :international_dialing_prefix: "00"
"58":
:country_code: "58"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: VE
+ :char_3_code: "VE"
:name: Venezuela, Bolivarian Republic of
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"256":
:country_code: "256"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: UG
+ :char_3_code: "UG"
:name: Uganda
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"228":
:country_code: "228"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: TG
+ :char_3_code: "TG"
:name: Togo
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"595":
:country_code: "595"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: PY
+ :char_3_code: "PY"
:name: Paraguay
- :international_dialing_prefix: "2"
+ :international_dialing_prefix: "00"
"961":
:country_code: "961"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: LB
+ :char_3_code: "LB"
:name: Lebanon
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"596":
:country_code: "596"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: MQ
+ :char_3_code: "MQ"
:name: Martinique
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"257":
:country_code: "257"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: BI
+ :char_3_code: "BI"
:name: Burundi
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"229":
:country_code: "229"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: BJ
+ :char_3_code: "BJ"
:name: Benin
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"962":
:country_code: "962"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: JO
+ :char_3_code: "JO"
:name: Jordan
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"963":
:country_code: "963"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: SY
+ :char_3_code: "SY"
:name: Syrian Arab Republic
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"597":
:country_code: "597"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: SR
+ :char_3_code: "SR"
:name: Suriname
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"680":
:country_code: "680"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: PW
+ :char_3_code: "PW"
:name: Palau
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"258":
:country_code: "258"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: MZ
+ :char_3_code: "MZ"
:name: Mozambique
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"30":
:country_code: "30"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: GR
+ :char_3_code: "GR"
:name: Greece
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
+ :area_code: "21|28[23]1|2661|2521|2[34568]1|2431|\\d{2,4}?"
+ :local_number_format: "\\d{6,8}"
+ :number_format: "\\d{10}"
"681":
:country_code: "681"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: WF
+ :char_3_code: "WF"
:name: Wallis and Futuna
- :international_dialing_prefix: "19"
+ :international_dialing_prefix: "00"
"598":
:country_code: "598"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: UY
+ :char_3_code: "UY"
:name: Uruguay
- :international_dialing_prefix: "0"
- :area_code: "2|42|43[34567]|4364|44[3457]|4452|4542|4544|456[7]?|4586|46[234]|4675|47[237]|4779|9[13456789]"
+ :international_dialing_prefix: "00"
+ :area_code: "2|42|4364|43[34567]|4452|44[3457]|454[24]|4567?|4586|46[234]|4675|47[237]|4779|9[13456789]"
:local_number_format: "\\d{6,7}"
:mobile_format: "9\\d{7}"
:number_format: "\\d{8}"
"992":
:country_code: "992"
:national_dialing_prefix: "8"
:char_2_code: "8"
- :char_3_code: TJ
+ :char_3_code: "TJ"
:name: Tajikistan
:international_dialing_prefix: "810"
"31":
:country_code: "31"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: NL
+ :char_3_code: "NL"
:name: Netherlands
- :international_dialing_prefix: "0"
- :area_code: "6760|66|6|800|878|8[4578]|90[069]|1[035]|2[0346]|3[03568]|4[0356]|5[0358]|7[0-9]|11[134578]|16[124-8]|17[24]|18[0-467]|22[2-46-9]|25[125]|29[479]|31[3-8]|32[01]|34[1-8]|41[12368]|47[58]|48[15-8]|49[23579]|5[129][1-9]|54[134-8]|56[126]|57[0-3578]"
+ :international_dialing_prefix: "00"
+ :area_code: "6760|66|6|8(00|78)|8[4578]|90[069]|1[035]|2[0346]|3[03568]|4[0356]|5[0358]|7\\d|11[134578]|16[124-8]|17[24]|18[0-467]|22[2-46-9]|25[125]|29[479]|31[3-8]|32[01]|34[1-8]|41[12368]|47[58]|48[15-8]|49[23579]|5[129][1-9]|54[134-8]|56[126]|57[0-3578]"
:local_number_format: "\\d{5,8}"
:mobile_format: "6\\d{8}"
:number_format: "\\d{9}"
"850":
:country_code: "850"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: KP
- :name: Korea, Democratic People's Republic Of
- :international_dialing_prefix: "0"
+ :char_3_code: "KP"
+ :name: "Korea, Democratic People's Republic Of"
+ :international_dialing_prefix: "00"
"964":
:country_code: "964"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: IQ
+ :char_3_code: "IQ"
:name: Iraq
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"370":
:country_code: "370"
:national_dialing_prefix: "8"
:char_2_code: "8"
- :char_3_code: LT
+ :char_3_code: "LT"
:name: Lithuania
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"993":
:country_code: "993"
:national_dialing_prefix: "8"
:char_2_code: "8"
- :char_3_code: TM
+ :char_3_code: "TM"
:name: Turkmenistan
:international_dialing_prefix: "810"
"599":
:country_code: "599"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: AN
+ :char_3_code: "AN"
:name: Netherlands Antilles
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"32":
:country_code: "32"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: BE
+ :char_3_code: "BE"
:name: Belgium
- :international_dialing_prefix: "0"
- :area_code: "800|90[0-9]|2|3|4|9|1[0-69]|5[0-9]|6[013-9]|7[01]|8[1-9]"
+ :international_dialing_prefix: "00"
+ :area_code: "800|90\\d|2|3|4|9|1[0-69]|5\\d|6[013-9]|7[01]|8[1-9]"
:local_number_format: "\\d{5,8}"
:mobile_format: "[4]\\d{8}"
:number_format: "[4]\\d{8}|[1-9]\\d{7}"
"965":
:country_code: "965"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: KW
+ :char_3_code: "KW"
:name: Kuwait
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"371":
:country_code: "371"
:national_dialing_prefix: "8"
:char_2_code: "8"
- :char_3_code: LV
+ :char_3_code: "LV"
:name: Latvia
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"682":
:country_code: "682"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: CK
+ :char_3_code: "CK"
:name: Cook Islands
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"60":
:country_code: "60"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: MY
+ :char_3_code: "MY"
:name: Malaysia
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"966":
:country_code: "966"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: SA
+ :char_3_code: "SA"
:name: Saudi Arabia
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
:area_code: "[1-7]"
:local_number_format: "\\d{7,8}"
:mobile_format: "5\\d{8}"
@@ -495,87 +514,91 @@
:country_code: "683"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: NU
+ :char_3_code: "NU"
:name: Niue
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"230":
:country_code: "230"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: MU
+ :char_3_code: "MU"
:name: Mauritius
- :international_dialing_prefix: "20"
+ :international_dialing_prefix: "00"
"994":
:country_code: "994"
:national_dialing_prefix: "8"
:char_2_code: "8"
- :char_3_code: AZ
+ :char_3_code: "AZ"
:name: Azerbaijan
:international_dialing_prefix: "810"
"852":
:country_code: "852"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: HK
+ :char_3_code: "HK"
:name: Hong Kong
- :international_dialing_prefix: "1"
+ :international_dialing_prefix: "001"
"372":
:country_code: "372"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: EE
+ :char_3_code: "EE"
:name: Estonia
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
+ :area_code: "\\d"
+ :local_number_format: "\\d{6,7}"
+ :mobile_format: "5\\d{7}"
+ :number_format: "5\\d{7}|[1-46-9]\\d{6}"
"61":
:country_code: "61"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: AU
+ :char_3_code: "AU"
:name: Australia
- :international_dialing_prefix: "11"
+ :international_dialing_prefix: "0011"
:area_code: "[234578]"
:local_number_format: "\\d{8}"
:mobile_format: "[4]\\d{8}"
:number_format: "\\d{9}"
-"880":
+"880":
:country_code: "880"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: BD
+ :char_3_code: "BD"
:name: Bangladesh
- :international_dialing_prefix: "0"
- :area_code: "1\\d\\d|2|[345789]1|3[2345678]1|40[12]|42[13]|4[3456789]1|446|488|49[68]|5[23456789]1|5[56]2|6[012345689]1|628|672|7[23456789]1|732|8[234567]1|9[23458]1|3028|303[56]|322[34]|342[47]|3529|3823|4027|4031|422[258]|4326|442[24]|4623|4724|5222|5327|5334|625[14]|702[23]|7622|8023|8032|8424|852[58]|8626|8723|9028|9225|942[34]"
+ :international_dialing_prefix: "00"
+ :area_code: "1\\d\\d|2|[345789]1|3[2345678]1|40[12]|42[13]|4[3456789]1|4(46|88)|49[68]|5[23456789]1|5[56]2|6[012345689]1|6(28|72)|7[23456789]1|732|8[234567]1|9[23458]1|3028|303[56]|322[34]|342[47]|3529|3823|4027|4031|422[258]|4326|442[24]|4623|4724|5(222|3(27|34))|625[14]|702[23]|7622|8(0(23|32)|424)|852[58]|8(626|723)|9(028|225)|942[34]"
:local_number_format: "\\d{3,7}"
:mobile_format: "[1]\\d{7,9}"
:number_format: "\\d{7,10}"
"967":
:country_code: "967"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: YE
+ :char_3_code: "YE"
:name: Yemen
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"90":
:country_code: "90"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: TR
+ :char_3_code: "TR"
:name: Turkey
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"373":
:country_code: "373"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: MD
+ :char_3_code: "MD"
:name: Moldova, Republic of
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"33":
:country_code: "33"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: FR
+ :char_3_code: "FR"
:name: France
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
:area_code: "[1-9]"
:local_number_format: "\\d{8}"
:mobile_format: "[67]\\d{8}"
@@ -584,65 +607,69 @@
:country_code: "995"
:national_dialing_prefix: 8*
:char_2_code: 8*
- :char_3_code: GE
+ :char_3_code: "GE"
:name: Georgia
:international_dialing_prefix: "810"
+ :area_code: "[57]|32|122|3(15|40|70|68|9[37])|3[134]1|422|\\d{2,3}?"
+ :local_number_format: "\\d{6,7}"
+ :mobile_format: "[57]\\d{8}"
+ :number_format: "\\d{9}"
"853":
:country_code: "853"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: MO
+ :char_3_code: "MO"
:name: Macao
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"231":
:country_code: "231"
:national_dialing_prefix: "22"
:char_2_code: "22"
- :char_3_code: LR
+ :char_3_code: "LR"
:name: Liberia
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"62":
:country_code: "62"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: ID
+ :char_3_code: "ID"
:name: Indonesia
- :international_dialing_prefix: "1"
+ :international_dialing_prefix: "001"
"260":
:country_code: "260"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: ZM
+ :char_3_code: "ZM"
:name: Zambia
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"34":
:country_code: "34"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: ES
+ :char_3_code: "ES"
:name: Spain
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"232":
:country_code: "232"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: SL
+ :char_3_code: "SL"
:name: Sierra Leone
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"685":
:country_code: "685"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: WS
+ :char_3_code: "WS"
:name: Samoa
- :international_dialing_prefix: "0"
-"63":
+ :international_dialing_prefix: "00"
+"63":
:country_code: "63"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: PH
+ :char_3_code: "PH"
:name: Philippines
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
:area_code: "9\\d\\d|[3-8]\\d|2"
:local_number_format: "\\d{7}"
:mobile_format: "9\\d{9}"
@@ -651,41 +678,41 @@
:country_code: "968"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: OM
+ :char_3_code: "OM"
:name: Oman
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"996":
:country_code: "996"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: KG
+ :char_3_code: "KG"
:name: Kyrgyzstan
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"374":
:country_code: "374"
:national_dialing_prefix: "8"
:char_2_code: "8"
- :char_3_code: AM
+ :char_3_code: "AM"
:name: Armenia
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"91":
:country_code: "91"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: IN
+ :char_3_code: "IN"
:name: India
- :international_dialing_prefix: "0"
- :area_code: "[7-9]?\\d\\d\\d"
+ :international_dialing_prefix: "00"
+ :area_code: "[7-9]?\\d{3}"
:local_number_format: "\\d{6,7}"
:mobile_format: "[789]\\d{9}"
:number_format: "\\d{10}"
-"92":
+"92":
:country_code: "92"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: PK
+ :char_3_code: "PK"
:name: Pakistan
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
:area_code: "3\\d\\d|2[125]|4[01246789]|5[123567]|6[12345678]|7[14]|8[16]|91|2[349]\\d|45\\d|54\\d|60\\d|72\\d|8[2345]\\d|9[23469]\\d"
:local_number_format: "\\d{6,7}"
:mobile_format: "3\\d{9}"
@@ -694,103 +721,117 @@
:country_code: "64"
:national_dialing_prefix: 0 (None fo
:char_2_code: 0 (None fo
- :char_3_code: NZ
+ :char_3_code: "NZ"
:name: New Zealand
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"855":
:country_code: "855"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: KH
+ :char_3_code: "KH"
:name: Cambodia
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"261":
:country_code: "261"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: MG
+ :char_3_code: "MG"
:name: Madagascar
- :international_dialing_prefix: "0"
-"1a":
+ :international_dialing_prefix: "00"
+"1a":
:country_code: "1"
:national_dialing_prefix: "1"
:char_2_code: "1"
- :char_3_code: US
+ :char_3_code: "US"
:name: United States
- :international_dialing_prefix: "11"
- :area_code: "800|822|833|844|855|866|877|880|881|882|883|884|885|886|887|888|889|900|456|500|533|544|566|700|710|205|251|256|334|659|938|907|250|480|520|602|623|928|327|479|501|870|209|213|310|323|341|369|408|415|424|442|510|530|559|562|619|626|627|628|650|657|661|669|707|714|747|760|764|805|818|831|858|909|916|925|935|949|951|303|719|720|970|203|475|860|959|302|202|239|305|321|352|386|407|561|689|727|754|772|786|813|850|863|904|941|954|229|404|470|478|678|706|762|770|912|808|208|217|224|309|312|331|447|464|618|630|708|730|773|779|815|847|872|219|260|317|574|765|812|319|515|563|641|712|316|620|785|913|270|364|502|606|859|225|318|337|504|985|207|227|240|301|410|443|667|339|351|413|508|617|774|781|857|978|231|248|269|313|517|586|616|679|734|810|906|947|989|218|320|507|612|651|763|952|228|601|662|769|314|417|557|573|636|660|816|975|406|308|402|531|702|775|603|201|551|609|732|848|856|862|908|973|505|575|212|315|347|516|518|585|607|631|646|716|718|845|914|917|929|252|336|704|828|910|919|980|984|701|216|234|283|330|380|419|440|513|567|614|740|937|405|539|580|918|458|503|541|971|215|267|272|412|445|484|570|582|610|717|724|814|835|878|401|803|843|864|605|423|615|731|865|901|931|210|214|254|281|325|361|409|430|432|469|512|682|713|737|806|817|830|832|903|915|936|940|956|972|979|385|435|801|802|276|434|540|571|703|757|804|206|253|360|425|509|564|304|681|262|274|414|534|608|715|920|307"
+ :international_dialing_prefix: "011"
+ :area_code: "800|822|833|844|855|866|877|880|881|882|883|884|885|886|887|888|889|900|456|500|533|544|566|700|710|205|251|256|334|659|938|907|250|480|520|602|623|928|327|479|501|870|209|213|310|323|341|369|408|415|424|442|510|530|559|562|619|626|627|628|650|657|661|669|707|714|747|760|764|805|818|831|858|909|916|925|935|949|951|303|719|720|970|203|475|860|959|302|202|239|305|321|352|386|407|561|689|727|754|772|786|813|850|863|904|941|954|229|404|470|478|678|706|762|770|912|808|208|217|224|309|312|331|447|464|618|630|708|730|773|779|815|847|872|219|260|317|574|765|812|319|515|563|641|712|316|620|785|913|270|364|502|606|859|225|318|337|504|985|207|227|240|301|410|443|667|339|351|413|508|617|774|781|857|978|231|248|269|313|517|586|616|679|734|810|906|947|989|218|320|507|612|651|763|952|228|601|662|769|314|417|557|573|636|660|816|975|406|308|402|531|702|775|603|201|551|609|732|848|856|862|908|973|505|575|212|315|347|516|518|585|607|631|646|716|718|845|914|917|929|252|336|704|828|910|919|980|984|701|216|234|283|330|380|419|440|513|567|614|740|937|405|539|580|918|458|503|541|971|215|267|272|412|445|484|570|582|610|717|724|814|835|878|401|803|843|864|605|423|615|731|865|901|931|210|214|254|281|325|361|409|430|432|469|512|682|713|737|806|817|830|832|903|915|936|940|956|972|979|385|435|801|802|276|434|540|571|703|757|804|206|253|360|425|509|564|304|681|262|274|414|534|608|715|920|307"
:local_number_format: "\\d{7}"
:number_format: "\\d{10}"
"1b":
:country_code: "1"
:national_dialing_prefix: "1"
:char_2_code: "1"
- :char_3_code: CA
+ :char_3_code: "CA"
:name: Canada
- :international_dialing_prefix: "11"
+ :international_dialing_prefix: "011"
:area_code: "403|587|780|825|236|250|604|672|778|204|431|506|709|902|226|249|289|343|365|416|437|519|613|647|705|807|905|902|418|438|450|514|579|581|819|873|306|639|867"
:local_number_format: "\\d{7}"
:number_format: "\\d{10}"
+"1c":
+ :country_code: "1"
+ :national_dialing_prefix: "1"
+ :char_2_code: "1"
+ :char_3_code: "GU"
+ :name: Guam
+ :international_dialing_prefix: "011"
+ :area_code: "671"
+ :local_number_format: "\\d{7}"
+ :number_format: "\\d{10}"
"375":
:country_code: "375"
:national_dialing_prefix: "8"
:char_2_code: "8"
- :char_3_code: BY
+ :char_3_code: "BY"
:name: Belarus
:international_dialing_prefix: "810"
+ :area_code: "2[59]|33|44|225|16[23]|177|2[23]2|152|1797|17|2351|216|212|\\d{2,4}"
+ :local_number_format: "\\d{5,7}"
+ :mobile_format: "(25|29|33|44)\\d{7}"
+ :number_format: "\\d{9}"
"233":
:country_code: "233"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: GH
+ :char_3_code: "GH"
:name: Ghana
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
:area_code: "[23]\\d|54"
:local_number_format: "\\d{7}"
:mobile_format: "2\\d{8}|54\\d{7}"
:number_format: "\\d{9}"
-"686":
+"686":
:country_code: "686"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: KI
+ :char_3_code: "KI"
:name: Kiribati
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"998":
:country_code: "998"
:national_dialing_prefix: "8"
:char_2_code: "8"
- :char_3_code: UZ
+ :char_3_code: "UZ"
:name: Uzbekistan
:international_dialing_prefix: "810"
"65":
:country_code: "65"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: SG
+ :char_3_code: "SG"
:name: Singapore
- :international_dialing_prefix: "1"
+ :international_dialing_prefix: "000"
"290":
:country_code: "290"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: SH
+ :char_3_code: "SH"
:name: Saint Helena
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"262":
:country_code: "262"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: RE
+ :char_3_code: "RE"
:name: "R\xC3\xA9union"
- :international_dialing_prefix: "0"
-"234":
+ :international_dialing_prefix: "00"
+"234":
:country_code: "234"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: NG
+ :char_3_code: "NG"
:name: Nigeria
- :international_dialing_prefix: "9"
+ :international_dialing_prefix: "009"
:area_code: "1|9|[2-8]\\d"
:local_number_format: "\\d{5,8}"
:mobile_format: "(70|8[01])\\d{8}"
@@ -799,214 +840,218 @@
:country_code: "687"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: NC
+ :char_3_code: "NC"
:name: New Caledonia
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"856":
:country_code: "856"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: LA
+ :char_3_code: "LA"
:name: Lao People's Democratic Republic
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"93":
:country_code: "93"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: AF
+ :char_3_code: "AF"
:name: Afghanistan
- :international_dialing_prefix: "0"
- :area_code: "7|[2-9][0-9]"
+ :international_dialing_prefix: "00"
+ :area_code: "7|[2-9]\\d"
:local_number_format: "\\d{7,8}"
:mobile_format: "7\\d{8}"
:number_format: "\\d{9}"
"376":
:country_code: "376"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: AD
+ :char_3_code: "AD"
:name: Andorra
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"36":
:country_code: "36"
:national_dialing_prefix: "6"
:char_2_code: "6"
- :char_3_code: HU
+ :char_3_code: "HU"
:name: Hungary
- :international_dialing_prefix: "0"
- :area_code: "1|[2-9][0-9]"
+ :international_dialing_prefix: "00"
+ :area_code: "1|[2-9]\\d"
:local_number_format: "\\d{6,7}"
:mobile_format: "[237]0\\d{7}"
:number_format: "[237]0\\d{7}|[145689]\\d{7}|[237][1-9]\\d{6}"
-"263":
+"263":
:country_code: "263"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: ZW
+ :char_3_code: "ZW"
:name: Zimbabwe
- :international_dialing_prefix: "0"
- :area_code: "9|4|20|54|68|667|71|73|77"
+ :international_dialing_prefix: "00"
+ :area_code: "9|4|20|54|6(8|67)|7[137]"
:local_number_format: "\\d{3,8}"
- :mobile_format: "(71|73|77)\\d{7}"
+ :mobile_format: "(7[137])\\d{7}"
:number_format: "\\d{9}"
"688":
:country_code: "688"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: TV
+ :char_3_code: "TV"
:name: Tuvalu
- :international_dialing_prefix: "0"
-"94":
+ :international_dialing_prefix: "00"
+"94":
:country_code: "94"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: LK
+ :char_3_code: "LK"
:name: Sri Lanka
- :international_dialing_prefix: "0"
- :area_code: "[12345689]\\d|7"
+ :international_dialing_prefix: "00"
+ :area_code: "[1-689]\\d|7"
:local_number_format: "\\d{7,8}"
:mobile_format: "7\\d{8}"
:number_format: "\\d{9}"
"377":
:country_code: "377"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: MC
+ :char_3_code: "MC"
:name: Monaco
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"235":
:country_code: "235"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: TD
+ :char_3_code: "TD"
:name: Chad
- :international_dialing_prefix: "15"
+ :international_dialing_prefix: "00"
"291":
:country_code: "291"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: ER
+ :char_3_code: "ER"
:name: Eritrea
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"66":
:country_code: "66"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: TH
+ :char_3_code: "TH"
:name: Thailand
- :international_dialing_prefix: "1"
+ :international_dialing_prefix: "00"
"886":
:country_code: "886"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: TW
+ :char_3_code: "TW"
:name: Taiwan, Province Of China
- :international_dialing_prefix: "2"
+ :international_dialing_prefix: "002"
"378":
:country_code: "378"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: SM
+ :char_3_code: "SM"
:name: San Marino
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"264":
:country_code: "264"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: NA
+ :char_3_code: "NA"
:name: Namibia
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"95":
:country_code: "95"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: MM
+ :char_3_code: "MM"
:name: Myanmar
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"236":
:country_code: "236"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: CF
+ :char_3_code: "CF"
:name: Central African Republic
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"689":
:country_code: "689"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: PF
+ :char_3_code: "PF"
:name: French Polynesia
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"970":
:country_code: "970"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: PS
+ :char_3_code: "PS"
:name: Palestinian Territory, Occupied
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"237":
:country_code: "237"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: CM
+ :char_3_code: "CM"
:name: Cameroon
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"39":
:country_code: "39"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: IT
+ :char_3_code: "IT"
:name: Italy
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"265":
:country_code: "265"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: MW
+ :char_3_code: "MW"
:name: Malawi
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"971":
:country_code: "971"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: AE
+ :char_3_code: "AE"
:name: United Arab Emirates
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
+ :area_code: "2|3|6|9|48|5[0568]|7[07]|88|4|7"
+ :local_number_format: "\\d{7}"
+ :mobile_format: "(50|55|56)\\d{7}"
+ :number_format: "\\d{8,9}"
"238":
:country_code: "238"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: CV
+ :char_3_code: "CV"
:name: Cape Verde
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"266":
:country_code: "266"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: LS
+ :char_3_code: "LS"
:name: Lesotho
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"239":
:country_code: "239"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: ST
+ :char_3_code: "ST"
:name: Sao Tome and Principe
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"7":
:country_code: "7"
:national_dialing_prefix: "8"
:char_2_code: "8"
- :char_3_code: RU
+ :char_3_code: "RU"
:name: Russian Federation
:international_dialing_prefix: "810"
-"98":
+"98":
:country_code: "98"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: IR
+ :char_3_code: "IR"
:name: Iran, Islamic Republic Of
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
:area_code: "[2]\\d|[3-9]\\d\\d"
:local_number_format: "\\d{7,8}"
:mobile_format: "9\\d{9}"
@@ -1015,9 +1060,9 @@
:country_code: "972"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: IL
+ :char_3_code: "IL"
:name: Israel
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
:area_code: "[2-46-9]|5\\d"
:local_number_format: "\\d{7}"
:mobile_format: "5\\d{8}"
@@ -1026,80 +1071,80 @@
:country_code: "350"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: GI
+ :char_3_code: "GI"
:name: Gibraltar
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"267":
:country_code: "267"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: BW
+ :char_3_code: "BW"
:name: Botswana
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"690":
:country_code: "690"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: TK
+ :char_3_code: "TK"
:name: Tokelau
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"268":
:country_code: "268"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: SZ
+ :char_3_code: "SZ"
:name: Swaziland
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"40":
:country_code: "40"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: RO
+ :char_3_code: "RO"
:name: Romania
- :international_dialing_prefix: "0"
-"351":
+ :international_dialing_prefix: "00"
+"351":
:country_code: "351"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: PT
+ :char_3_code: "PT"
:name: Portugal
- :international_dialing_prefix: "0"
- :area_code: "21|22|2[3-9][1-9]|70[78]|80[089]|9[136]|92[1-9]"
+ :international_dialing_prefix: "00"
+ :area_code: "2[12]|2[3-9][1-9]|70[78]|80[089]|9[136]|92[1-9]"
:local_number_format: "\\d{6,7}"
:mobile_format: "9\\d{8}"
:number_format: "\\d{9}"
"973":
:country_code: "973"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: BH
+ :char_3_code: "BH"
:name: Bahrain
- :international_dialing_prefix: "0"
-"380":
+ :international_dialing_prefix: "00"
+"380":
:country_code: "380"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: UA
+ :char_3_code: "UA"
:name: Ukraine
:international_dialing_prefix: "00"
- :area_code: "[1-9][0-9]"
+ :area_code: "[1-9]\\d"
:local_number_format: "\\d{7}"
:mobile_format: "(39|50|6[3678]|9\\d)\\d{7}"
:number_format: "\\d{9}"
"41":
:country_code: "41"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: CH
+ :char_3_code: "CH"
:name: Switzerland
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"974":
:country_code: "974"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: QA
+ :char_3_code: "QA"
:name: Qatar
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
:area_code: "33|44|55|66|77"
:local_number_format: "\\d{6}"
:mobile_format: "(33|55|66|77)\\d{6}"
@@ -1108,48 +1153,48 @@
:country_code: "691"
:national_dialing_prefix: "1"
:char_2_code: "1"
- :char_3_code: FM
+ :char_3_code: "FM"
:name: Micronesia, Federated States Of
- :international_dialing_prefix: "11"
+ :international_dialing_prefix: "011"
"297":
:country_code: "297"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: AW
+ :char_3_code: "AW"
:name: Aruba
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"352":
:country_code: "352"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: LU
+ :char_3_code: "LU"
:name: Luxembourg
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"269":
:country_code: "269"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: YT
+ :char_3_code: "YT"
:name: Mayotte
- :international_dialing_prefix: "0"
-"381":
+ :international_dialing_prefix: "00"
+"381":
:country_code: "381"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: RS
+ :char_3_code: "RS"
:name: Serbia
- :international_dialing_prefix: "99"
- :area_code: "[1-9][0-9]"
+ :international_dialing_prefix: "00"
+ :area_code: "[1-9]\\d"
:local_number_format: "\\d{7}"
:mobile_format: "6\\d{7,8}"
:number_format: "[1-57-9]\\d{6,8}|6\\d{7,8}"
-"975":
+"975":
:country_code: "975"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: BT
+ :char_3_code: "BT"
:name: Bhutan
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
:area_code: "17|[2-9]"
:local_number_format: "\\d{6}"
:mobile_format: "17\\d{6}"
@@ -1158,72 +1203,72 @@
:country_code: "298"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: FO
+ :char_3_code: "FO"
:name: Faroe Islands
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"353":
:country_code: "353"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: IE
+ :char_3_code: "IE"
:name: Ireland
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"692":
:country_code: "692"
:national_dialing_prefix: "1"
:char_2_code: "1"
- :char_3_code: MH
+ :char_3_code: "MH"
:name: Marshall Islands
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"212":
:country_code: "212"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: MA
+ :char_3_code: "MA"
:name: Morocco
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"382":
:country_code: "382"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: ME
+ :char_3_code: "ME"
:name: Montenegro
- :international_dialing_prefix: "99"
+ :international_dialing_prefix: "00"
"976":
:country_code: "976"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: MN
+ :char_3_code: "MN"
:name: Mongolia
- :international_dialing_prefix: "1"
+ :international_dialing_prefix: "001"
"240":
:country_code: "240"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: GQ
+ :char_3_code: "GQ"
:name: Equatorial Guinea
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"299":
:country_code: "299"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: GL
+ :char_3_code: "GL"
:name: Greenland
- :international_dialing_prefix: "9"
+ :international_dialing_prefix: "00"
"354":
:country_code: "354"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: IS
+ :char_3_code: "IS"
:name: Iceland
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"43":
:country_code: "43"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: AT
+ :char_3_code: "AT"
:name: Austria
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
:area_code: "6|\\d{1,4}"
:local_number_format: "\\d{1,12}"
:mobile_format: "6\\d{8}"
@@ -1232,27 +1277,27 @@
:country_code: "977"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: NP
+ :char_3_code: "NP"
:name: Nepal
- :international_dialing_prefix: "0"
- :area_code: "1|21|41|51|56|61|64|65|71|98"
+ :international_dialing_prefix: "00"
+ :area_code: "1|21|41|5[16]|6[145]|71|98"
:local_number_format: "\\d{6,8}"
:mobile_format: "98\\d{8}"
:number_format: "\\d{8}|98\\d{8}"
"241":
:country_code: "241"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: GA
+ :char_3_code: "GA"
:name: Gabon
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"355":
:country_code: "355"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: AL
+ :char_3_code: "AL"
:name: Albania
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
:area_code: "6|4|[235789]\\d\\d?"
:local_number_format: "\\d{5,8}"
:mobile_format: "6\\d{8}"
@@ -1261,149 +1306,154 @@
:country_code: "213"
:national_dialing_prefix: "7"
:char_2_code: "7"
- :char_3_code: DZ
+ :char_3_code: "DZ"
:name: Algeria
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
:area_code: "[2-8]\\d"
:local_number_format: "\\d{6,7}"
- :mobile_format: "(55|66|69|77|79)\\d{7}"
- :number_format: "(55|66|69|77|79)\\d{7}|\\d{8}"
+ :mobile_format: "(55|6[69]|7[79])\\d{7}"
+ :number_format: "(55|6[69]|7[79])\\d{7}|\\d{8}"
"44":
:country_code: "44"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: GB
+ :char_3_code: "GB"
:name: United Kingdom
- :international_dialing_prefix: "0"
- :area_code: "2[03489]|11[3-8]|1[2-69]1|1[2-9][0-9]{2}|70|7[0-9]{3}|[8|9][0-9]{2}|3[0-9]{2}"
- :local_number_format: "\\d{6,8}"
+ :international_dialing_prefix: "00"
+ :area_code: "2[03489]|11[3-8]|1[2-69]1|1(3873|5(242|39[456])|697[347]|768[347]|9467)|1[2-9]\\d{2}|3[0347]\\d|500|5[56]|70|7([45789]\\d{2}|624)|8(0[08]|4[2-5]|7[0-3])|9[018]\\d"
+ :local_number_format: "\\d{4,8}"
:mobile_format: "7\\d{9}"
:number_format: "\\d{9,10}"
"242":
:country_code: "242"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: CG
+ :char_3_code: "CG"
:name: Congo
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"356":
:country_code: "356"
:national_dialing_prefix: "21"
:char_2_code: "21"
- :char_3_code: MT
+ :char_3_code: "MT"
:name: Malta
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"357":
:country_code: "357"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: CY
+ :char_3_code: "CY"
:name: Cyprus
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
+ :area_code: "2\\d|99"
+ :local_number_format: "\\d{6}"
+ :mobile_format: "99\\d{6}"
+ :number_format: "\\d{8}"
"45":
:country_code: "45"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: DK
+ :char_3_code: "DK"
:name: Denmark
- :local_number_format: "\\d{8}"
+ :international_dialing_prefix: "00"
+ :area_code: "\\d{2}"
+ :local_number_format: "\\d{6}"
:number_format: "\\d{8}"
:mobile_format: "\\d{8}"
- :international_dialing_prefix: "0"
"46":
:country_code: "46"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: SE
+ :char_3_code: "SE"
:name: Sweden
- :international_dialing_prefix: "0"
- :area_code: "900|1[013689]|2[0136]|3[1356]|4[0246]|54|6[03]|7[01236]|8|9[09]|1[2457][0-9]|2[2457-9][0-9]|3[0247-9][0-9]|4[1357-9][0-9]|5[0-35-9][0-9]|6[124-9][0-9]|74[0-9]|9[1-8][0-9]"
+ :international_dialing_prefix: "00"
+ :area_code: "900|1[013689]|2[0136]|3[1356]|4[0246]|54|6[03]|7[01236]|8|9[09]|1[2457]\\d|2[2457-9]\\d|3[0247-9]\\d|4[1357-9]\\d|5[0-35-9]\\d|6[124-9]\\d|74\\d|9[1-8]\\d"
:local_number_format: "\\d{5,8}"
:mobile_format: "7\\d{8}"
:number_format: "\\d{7,10}"
"47":
:country_code: "47"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: NO
- # http://www.howtocallabroad.com/norway/
- # :area_code: "23||5|7|33|37|38|62|69|77" # for largest cities
+ :char_3_code: "NO"
:name: Norway
- :local_number_format: "\\d{8}"
- :mobile_format: "\\d{8}"
+ :international_dialing_prefix: "00"
+ :area_code: "23|3[378]|6[29]|77|4|5|7|9|\\d{1,2}"
+ :local_number_format: "\\d{6,7}"
+ :mobile_format: "[49]\\d{7}"
:number_format: "\\d{8}"
- :international_dialing_prefix: "0"
"385":
:country_code: "385"
:national_dialing_prefix: "0"
:char_2_code: "0"
- :char_3_code: HR
+ :char_3_code: "HR"
:name: Croatia
- :international_dialing_prefix: "0"
- :area_code: "1|[2-9][0-9]"
+ :international_dialing_prefix: "00"
+ :area_code: "1|[2-9]\\d"
:local_number_format: "\\d{6,7}"
:mobile_format: "9\\d{8}"
:number_format: "[1-8]\\d{7,8}|9\\d{8}"
"243":
:country_code: "243"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: CD
+ :char_3_code: "CD"
:name: Congo, The Democratic Republic Of The
- :international_dialing_prefix: "0"
+ :international_dialing_prefix: "00"
"216":
:country_code: "216"
:national_dialing_prefix: None
:char_2_code: None
- :char_3_code: TN
+ :char_3_code: "TN"
:name: Tunisia