1 <!-- Copyright (C) 2009 The Libphonenumber Authors
3 Licensed under the Apache License, Version 2.0 (the "License");
4 you may not use this file except in compliance with the License.
5 You may obtain a copy of the License at
7 http://www.apache.org/licenses/LICENSE-2.0
9 Unless required by applicable law or agreed to in writing, software
10 distributed under the License is distributed on an "AS IS" BASIS,
11 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 See the License for the specific language governing permissions and
13 limitations under the License.
17 Metadata on Phone Number Plan and formatting rules
18 Note: Territories are in alphabetical order by their IDs, which are based on ISO 3166-1
19 two-letter country codes (or are set to "001" for non-geographical entities, which
20 represents "World" in the UN M.49 standard). The country names in the comments are the
21 official short names in English according to ISO 3166-1.
23 For more information on what each element represents, see
24 resources/phonemetadata.proto
26 Note that if you want to add validation metadata, the generalDesc nationalNumberPattern and
27 possibleNumberPattern must be provided. If this is missing, then the country will be
28 considered to have no more specific phone-number type metadata (fixedLine, mobile etc) and
29 hence only basic validation rules (numbers should be between 3 and 15 digits long) will be
32 If adding an element for a non-geographical entity, please add an example number element to the
35 Country code, international and national prefix information main source:
36 http://www.itu.int/pub/T-SP-E.164C-2011
39 <!DOCTYPE phoneNumberMetadata [
40 <!ELEMENT phoneNumberMetadata (territories)>
41 <!ELEMENT territories (territory+)>
42 <!ELEMENT territory (references?, availableFormats?, generalDesc?, noInternationalDialling?,
43 areaCodeOptional?, fixedLine?, mobile?, pager?, tollFree?, premiumRate?,
44 sharedCost?, personalNumber?, voip?, uan?, voicemail?)>
45 <!ELEMENT references (sourceUrl+)>
46 <!ELEMENT generalDesc (nationalNumberPattern, possibleNumberPattern, exampleNumber?)>
47 <!ELEMENT noInternationalDialling (nationalNumberPattern, possibleNumberPattern?,
49 <!ELEMENT areaCodeOptional (nationalNumberPattern, possibleNumberPattern, exampleNumber?)>
50 <!ELEMENT fixedLine (nationalNumberPattern?, possibleNumberPattern?, exampleNumber?)>
51 <!ELEMENT mobile (nationalNumberPattern?, possibleNumberPattern?, exampleNumber?)>
52 <!ELEMENT pager (nationalNumberPattern?, possibleNumberPattern?, exampleNumber?)>
53 <!ELEMENT tollFree (nationalNumberPattern?, possibleNumberPattern?, exampleNumber?)>
54 <!ELEMENT premiumRate (nationalNumberPattern?, possibleNumberPattern?, exampleNumber?)>
55 <!ELEMENT sharedCost (nationalNumberPattern?, possibleNumberPattern?, exampleNumber?)>
56 <!ELEMENT personalNumber (nationalNumberPattern?, possibleNumberPattern?, exampleNumber?)>
57 <!ELEMENT voip (nationalNumberPattern?, possibleNumberPattern?, exampleNumber?)>
58 <!ELEMENT uan (nationalNumberPattern?, possibleNumberPattern?, exampleNumber?)>
59 <!ELEMENT voicemail (nationalNumberPattern?, possibleNumberPattern?, exampleNumber?)>
60 <!ELEMENT sourceUrl (#PCDATA)>
61 <!ELEMENT availableFormats (numberFormat+)>
62 <!ELEMENT nationalNumberPattern (#PCDATA)>
63 <!ELEMENT possibleNumberPattern (#PCDATA)>
64 <!ELEMENT exampleNumber (#PCDATA)>
65 <!ELEMENT numberFormat (leadingDigits*, format, intlFormat*)>
66 <!ELEMENT format (#PCDATA)>
67 <!ELEMENT intlFormat (#PCDATA)>
68 <!ELEMENT leadingDigits (#PCDATA)>
70 <!ATTLIST territory id CDATA #REQUIRED>
71 <!ATTLIST territory countryCode CDATA #REQUIRED>
72 <!ATTLIST territory mainCountryForCode (true) #IMPLIED>
73 <!ATTLIST territory leadingDigits CDATA #IMPLIED>
74 <!ATTLIST territory preferredInternationalPrefix CDATA #IMPLIED>
75 <!ATTLIST territory internationalPrefix CDATA #IMPLIED>
76 <!ATTLIST territory nationalPrefix CDATA #IMPLIED>
77 <!ATTLIST territory nationalPrefixForParsing CDATA #IMPLIED>
78 <!ATTLIST territory nationalPrefixTransformRule CDATA #IMPLIED>
79 <!ATTLIST territory preferredExtnPrefix CDATA #IMPLIED>
80 <!ATTLIST territory nationalPrefixFormattingRule CDATA #IMPLIED>
81 <!ATTLIST territory nationalPrefixOptionalWhenFormatting (true) #IMPLIED>
82 <!ATTLIST territory leadingZeroPossible (true) #IMPLIED>
83 <!ATTLIST territory carrierCodeFormattingRule CDATA #IMPLIED>
84 <!ATTLIST territory mobileNumberPortableRegion (true) #IMPLIED>
85 <!ATTLIST numberFormat nationalPrefixFormattingRule CDATA #IMPLIED>
86 <!ATTLIST numberFormat nationalPrefixOptionalWhenFormatting (true) #IMPLIED>
87 <!ATTLIST numberFormat carrierCodeFormattingRule CDATA #IMPLIED>
88 <!ATTLIST numberFormat pattern CDATA #REQUIRED>
93 <!-- Ascension Island -->
94 <territory id="AC" countryCode="247" internationalPrefix="00">
96 <sourceUrl>http://www.itu.int/oth/T02020000AF/en</sourceUrl>
98 <!-- Formatted as a block. -->
100 <nationalNumberPattern>[2-7]\d{3,5}</nationalNumberPattern>
101 <possibleNumberPattern>\d{4,6}</possibleNumberPattern>
104 <nationalNumberPattern>
110 </nationalNumberPattern>
111 <possibleNumberPattern>\d{4}</possibleNumberPattern>
112 <exampleNumber>6889</exampleNumber>
115 <nationalNumberPattern>5\d{5}</nationalNumberPattern>
116 <possibleNumberPattern>\d{6}</possibleNumberPattern>
117 <exampleNumber>501234</exampleNumber>
122 <territory id="AD" countryCode="376" internationalPrefix="00">
124 <sourceUrl>http://www.itu.int/oth/T0202000005/en</sourceUrl>
127 <numberFormat pattern="(\d{3})(\d{3})">
128 <leadingDigits>[346-9]</leadingDigits>
129 <format>$1 $2</format>
131 <numberFormat pattern="(180[02])(\d{4})">
132 <leadingDigits>1</leadingDigits>
133 <format>$1 $2</format>
137 <nationalNumberPattern>
142 </nationalNumberPattern>
143 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
146 <nationalNumberPattern>[78]\d{5}</nationalNumberPattern>
147 <possibleNumberPattern>\d{6}</possibleNumberPattern>
148 <exampleNumber>712345</exampleNumber>
151 <nationalNumberPattern>[346]\d{5}</nationalNumberPattern>
152 <possibleNumberPattern>\d{6}</possibleNumberPattern>
153 <exampleNumber>312345</exampleNumber>
156 <!-- Note that the definitions of 1800 and 1802 numbers differ in the plan and on the
157 Andorran http://www.sta.ad website, but we consider both to be freephone here. -->
158 <nationalNumberPattern>180[02]\d{4}</nationalNumberPattern>
159 <possibleNumberPattern>\d{8}</possibleNumberPattern>
160 <exampleNumber>18001234</exampleNumber>
162 <!-- The national numbering plan says that numbers beginning with 9 are reserved for special
163 services, so we assume they are premium rate here, although we cannot find examples
166 <nationalNumberPattern>9\d{5}</nationalNumberPattern>
167 <possibleNumberPattern>\d{6}</possibleNumberPattern>
168 <exampleNumber>912345</exampleNumber>
172 <!-- United Arab Emirates -->
173 <territory id="AE" countryCode="971" internationalPrefix="00"
174 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
176 <sourceUrl>http://www.itu.int/oth/T02020000DC/en</sourceUrl>
179 <numberFormat pattern="([2-4679])(\d{3})(\d{4})">
180 <leadingDigits>[2-4679][2-8]</leadingDigits>
181 <format>$1 $2 $3</format>
183 <numberFormat pattern="(5[0256])(\d{3})(\d{4})">
184 <leadingDigits>5</leadingDigits>
185 <format>$1 $2 $3</format>
187 <numberFormat pattern="([479]00)(\d)(\d{5})" nationalPrefixFormattingRule="$FG">
188 <leadingDigits>[479]0</leadingDigits>
189 <format>$1 $2 $3</format>
191 <numberFormat pattern="([68]00)(\d{2,9})" nationalPrefixFormattingRule="$FG">
196 <format>$1 $2</format>
200 <nationalNumberPattern>
203 </nationalNumberPattern>
204 <possibleNumberPattern>\d{5,12}</possibleNumberPattern>
207 <nationalNumberPattern>[2-4679][2-8]\d{6}</nationalNumberPattern>
208 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
209 <exampleNumber>22345678</exampleNumber>
212 <nationalNumberPattern>5[0256]\d{7}</nationalNumberPattern>
213 <possibleNumberPattern>\d{9}</possibleNumberPattern>
214 <exampleNumber>501234567</exampleNumber>
217 <nationalNumberPattern>
220 </nationalNumberPattern>
221 <possibleNumberPattern>\d{5,12}</possibleNumberPattern>
222 <exampleNumber>800123456</exampleNumber>
225 <nationalNumberPattern>900[02]\d{5}</nationalNumberPattern>
226 <possibleNumberPattern>\d{9}</possibleNumberPattern>
227 <exampleNumber>900234567</exampleNumber>
230 <nationalNumberPattern>700[05]\d{5}</nationalNumberPattern>
231 <possibleNumberPattern>\d{9}</possibleNumberPattern>
232 <exampleNumber>700012345</exampleNumber>
235 <nationalNumberPattern>600[25]\d{5}</nationalNumberPattern>
236 <possibleNumberPattern>\d{9}</possibleNumberPattern>
237 <exampleNumber>600212345</exampleNumber>
242 <territory id="AF" countryCode="93" internationalPrefix="00"
243 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
245 <sourceUrl>http://www.itu.int/oth/T0202000001/en</sourceUrl>
248 <!-- Formatting based primarily on ITU document. -->
249 <numberFormat pattern="([2-7]\d)(\d{3})(\d{4})">
254 <format>$1 $2 $3</format>
256 <!-- Formatting 729 numbers differently based on numbers seen online. -->
257 <numberFormat pattern="(729)(\d{3})(\d{3})">
258 <leadingDigits>729</leadingDigits>
259 <format>$1 $2 $3</format>
263 <nationalNumberPattern>[2-7]\d{8}</nationalNumberPattern>
264 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
267 <nationalNumberPattern>
273 </nationalNumberPattern>
274 <exampleNumber>234567890</exampleNumber>
277 <nationalNumberPattern>
282 </nationalNumberPattern>
283 <possibleNumberPattern>\d{9}</possibleNumberPattern>
284 <exampleNumber>701234567</exampleNumber>
288 <!-- Antigua and Barbuda -->
289 <territory id="AG" countryCode="1" leadingDigits="268" nationalPrefix="1"
290 internationalPrefix="011">
292 <sourceUrl>http://www.itu.int/oth/T0202000008/en</sourceUrl>
295 <!-- NANPA country - uses US formatting rules -->
296 <nationalNumberPattern>[2589]\d{9}</nationalNumberPattern>
297 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
300 <!-- 268 468 is not in the plan, but has been added after numbers with this prefix have been
301 found in online searches. -->
302 <nationalNumberPattern>
310 </nationalNumberPattern>
311 <exampleNumber>2684601234</exampleNumber>
314 <!-- 268 776/778/779 are not in the plan, but have been added after numbers with these
315 prefixes have been found in online searches. Same for 268 780/782/784/786. -->
316 <nationalNumberPattern>
326 </nationalNumberPattern>
327 <possibleNumberPattern>\d{10}</possibleNumberPattern>
328 <exampleNumber>2684641234</exampleNumber>
331 <nationalNumberPattern>26840[69]\d{4}</nationalNumberPattern>
332 <possibleNumberPattern>\d{10}</possibleNumberPattern>
333 <exampleNumber>2684061234</exampleNumber>
336 <nationalNumberPattern>
345 </nationalNumberPattern>
346 <possibleNumberPattern>\d{10}</possibleNumberPattern>
347 <exampleNumber>8002123456</exampleNumber>
350 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
351 <possibleNumberPattern>\d{10}</possibleNumberPattern>
352 <exampleNumber>9002123456</exampleNumber>
355 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
356 <nationalNumberPattern>
364 </nationalNumberPattern>
365 <possibleNumberPattern>\d{10}</possibleNumberPattern>
366 <exampleNumber>5002345678</exampleNumber>
369 <!-- This is included as Centrex in the plan. -->
370 <nationalNumberPattern>26848[01]\d{4}</nationalNumberPattern>
371 <possibleNumberPattern>\d{10}</possibleNumberPattern>
372 <exampleNumber>2684801234</exampleNumber>
377 <territory id="AI" countryCode="1" leadingDigits="264" nationalPrefix="1"
378 internationalPrefix="011">
380 <sourceUrl>http://www.itu.int/oth/T0202000007/en</sourceUrl>
383 <!-- NANPA country - uses US formatting rules -->
384 <nationalNumberPattern>[2589]\d{9}</nationalNumberPattern>
385 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
388 <nationalNumberPattern>
393 </nationalNumberPattern>
394 <exampleNumber>2644612345</exampleNumber>
397 <nationalNumberPattern>
410 </nationalNumberPattern>
411 <possibleNumberPattern>\d{10}</possibleNumberPattern>
412 <exampleNumber>2642351234</exampleNumber>
415 <nationalNumberPattern>
424 </nationalNumberPattern>
425 <possibleNumberPattern>\d{10}</possibleNumberPattern>
426 <exampleNumber>8002123456</exampleNumber>
429 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
430 <possibleNumberPattern>\d{10}</possibleNumberPattern>
431 <exampleNumber>9002123456</exampleNumber>
434 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
435 <nationalNumberPattern>
443 </nationalNumberPattern>
444 <possibleNumberPattern>\d{10}</possibleNumberPattern>
445 <exampleNumber>5002345678</exampleNumber>
450 <territory id="AL" countryCode="355" internationalPrefix="00"
451 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
452 mobileNumberPortableRegion="true">
454 <sourceUrl>http://www.itu.int/oth/T0202000002/en</sourceUrl>
457 <!-- Formats mostly follow http://tirana.usembassy.gov/list_of_doctors.html -->
458 <numberFormat pattern="(4)(\d{3})(\d{4})">
459 <leadingDigits>4[0-6]</leadingDigits>
460 <format>$1 $2 $3</format>
462 <numberFormat pattern="(6[6-9])(\d{3})(\d{4})">
463 <leadingDigits>6</leadingDigits>
464 <format>$1 $2 $3</format>
466 <numberFormat pattern="(\d{2})(\d{3})(\d{3})">
471 <format>$1 $2 $3</format>
473 <numberFormat pattern="(\d{3})(\d{3,5})">
479 <format>$1 $2</format>
483 <nationalNumberPattern>
488 </nationalNumberPattern>
489 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
492 <nationalNumberPattern>
518 </nationalNumberPattern>
519 <possibleNumberPattern>\d{5,8}</possibleNumberPattern>
520 <exampleNumber>22345678</exampleNumber>
523 <nationalNumberPattern>6[6-9]\d{7}</nationalNumberPattern>
524 <possibleNumberPattern>\d{9}</possibleNumberPattern>
525 <exampleNumber>661234567</exampleNumber>
528 <nationalNumberPattern>800\d{4}</nationalNumberPattern>
529 <possibleNumberPattern>\d{7}</possibleNumberPattern>
530 <exampleNumber>8001234</exampleNumber>
533 <!-- It is named "Shared Revenue Services" in the plan, but as there is a separate "Shared
534 Cost Services", it is highly likely these numbers are premium rate numbers. No
535 information/example is found in the Internet. -->
536 <nationalNumberPattern>900\d{3}</nationalNumberPattern>
537 <possibleNumberPattern>\d{6}</possibleNumberPattern>
538 <exampleNumber>900123</exampleNumber>
541 <nationalNumberPattern>808\d{3}</nationalNumberPattern>
542 <possibleNumberPattern>\d{6}</possibleNumberPattern>
543 <exampleNumber>808123</exampleNumber>
546 <nationalNumberPattern>700\d{5}</nationalNumberPattern>
547 <possibleNumberPattern>\d{8}</possibleNumberPattern>
548 <exampleNumber>70012345</exampleNumber>
553 <!-- We think the national dialling prefix is 0 - it seems this was a change in 2005 (or 2008)
554 along with the new city codes. However, their official document makes no mention of it,
555 websites disagree, and we are not sure if the change has actually been made. -->
556 <territory id="AM" countryCode="374" internationalPrefix="00"
557 nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)"
558 mobileNumberPortableRegion="true" >
560 <sourceUrl>http://www.itu.int/oth/T020200000A/en</sourceUrl>
561 <sourceUrl>http://en.wikipedia.org/wiki/%2B374</sourceUrl>
562 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Nagorno-Karabakh_Republic</sourceUrl>
565 <numberFormat pattern="(\d{2})(\d{6})">
570 <format>$1 $2</format>
572 <numberFormat pattern="(\d{2})(\d{6})" nationalPrefixFormattingRule="$NP$FG">
578 <format>$1 $2</format>
580 <numberFormat pattern="(\d{3})(\d{5})">
581 <leadingDigits>[23]</leadingDigits>
582 <format>$1 $2</format>
584 <numberFormat pattern="(\d{3})(\d{2})(\d{3})" nationalPrefixFormattingRule="$NP $FG">
589 <format>$1 $2 $3</format>
593 <nationalNumberPattern>[1-9]\d{7}</nationalNumberPattern>
594 <possibleNumberPattern>\d{5,8}</possibleNumberPattern>
597 <!-- Includes telephone numbers in Nagorno-Karabakh Republic, physically located inside
598 Azerbaijan, which use prefix 47. -->
599 <nationalNumberPattern>
613 </nationalNumberPattern>
614 <exampleNumber>10123456</exampleNumber>
617 <!-- Part of the range 97 is used by Nagorno-Karabakh Republic. -->
618 <nationalNumberPattern>
625 </nationalNumberPattern>
626 <possibleNumberPattern>\d{8}</possibleNumberPattern>
627 <exampleNumber>77123456</exampleNumber>
630 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
631 <possibleNumberPattern>\d{8}</possibleNumberPattern>
632 <exampleNumber>80012345</exampleNumber>
635 <nationalNumberPattern>90[016]\d{5}</nationalNumberPattern>
636 <possibleNumberPattern>\d{8}</possibleNumberPattern>
637 <exampleNumber>90012345</exampleNumber>
640 <nationalNumberPattern>80[1-4]\d{5}</nationalNumberPattern>
641 <possibleNumberPattern>\d{8}</possibleNumberPattern>
642 <exampleNumber>80112345</exampleNumber>
645 <nationalNumberPattern>60[2-6]\d{5}</nationalNumberPattern>
646 <possibleNumberPattern>\d{8}</possibleNumberPattern>
647 <exampleNumber>60271234</exampleNumber>
652 <territory id="AO" countryCode="244" internationalPrefix="00">
654 <sourceUrl>http://www.itu.int/oth/T0202000006/en</sourceUrl>
657 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
658 <format>$1 $2 $3</format>
662 <nationalNumberPattern>[29]\d{8}</nationalNumberPattern>
663 <possibleNumberPattern>\d{9}</possibleNumberPattern>
666 <nationalNumberPattern>
671 </nationalNumberPattern>
672 <exampleNumber>222123456</exampleNumber>
675 <!-- Expanded the 92 prefix possibilities to match numbers found online. Unitel
676 apparently launched the prefix 94 on 25th April 2012, and Movicel has 99. -->
677 <nationalNumberPattern>9[1-49]\d{7}</nationalNumberPattern>
678 <exampleNumber>923123456</exampleNumber>
683 <!-- The national prefix for parsing here consists of a 0 (optional), followed by the area code
684 (which is captured, so that it can be retained), followed by 15, which is the mobile token,
685 which will be stripped if present. We expect the following combinations: 0AC15 and AC15
686 (where the 0 and 15 will be stripped, and it will be transformed into 9AC), 0, and 15 (in
687 the latter two cases we just strip the 0 or 15 as appropriate and leave the number as is.)
689 <territory id="AR" countryCode="54" internationalPrefix="00" nationalPrefix="0"
690 nationalPrefixForParsing="
788 nationalPrefixTransformRule="9$1" nationalPrefixFormattingRule="$NP$FG"
789 mobileNumberPortableRegion="true">
791 <sourceUrl>http://www.itu.int/oth/T0202000009/en</sourceUrl>
792 <!-- On the following link, click on Indicativos Interurbanos to access detailed
794 <sourceUrl>http://www.cnc.gov.ar/infotecnica/numeracion/Index.asp</sourceUrl>
795 <sourceUrl>http://en.wikipedia.org/wiki/+54</sourceUrl>
798 <numberFormat pattern="([68]\d{2})(\d{3})(\d{4})">
799 <leadingDigits>[68]</leadingDigits>
800 <format>$1-$2-$3</format>
802 <!-- Format local numbers in two groups. The leading digits are 2-9 since the ITU document
803 says that the digit zero and one will not be present at the start of the subscriber
804 number (which starts with an "Exchange characteristic"). -->
805 <numberFormat pattern="(\d{2})(\d{4})" nationalPrefixFormattingRule="$FG">
806 <leadingDigits>[2-9]</leadingDigits>
807 <format>$1-$2</format>
808 <intlFormat>NA</intlFormat>
810 <numberFormat pattern="(\d{3})(\d{4})" nationalPrefixFormattingRule="$FG">
811 <leadingDigits>[2-9]</leadingDigits>
812 <format>$1-$2</format>
813 <intlFormat>NA</intlFormat>
815 <numberFormat pattern="(\d{4})(\d{4})" nationalPrefixFormattingRule="$FG">
816 <leadingDigits>[2-9]</leadingDigits>
817 <format>$1-$2</format>
818 <intlFormat>NA</intlFormat>
820 <numberFormat pattern="(9)(11)(\d{4})(\d{4})">
821 <leadingDigits>911</leadingDigits>
822 <format>$2 15-$3-$4</format>
823 <intlFormat>$1 $2 $3-$4</intlFormat>
825 <numberFormat pattern="(9)(\d{3})(\d{3})(\d{4})">
826 <!-- Some 4-digit area codes actually are caught by this rule. Preference is given however
827 to the 3-digit area codes, since they are considerably larger communities. -->
854 <!-- We exclude here several 294X four-digit area codes: 2940, 2942, 2945, 2946 and 2948,
855 298[23], and several 38[3578]X four-digit area codes. -->
889 <format>$2 15-$3-$4</format>
890 <intlFormat>$1 $2 $3-$4</intlFormat>
892 <!-- Both 4-3-3 and 4-2-4 have been seen online; we prefer the latter since it matches the
893 Argentinian ITU doc and wikipedia. -->
894 <numberFormat pattern="(9)(\d{4})(\d{2})(\d{4})">
895 <leadingDigits>9[23]</leadingDigits>
896 <format>$2 15-$3-$4</format>
897 <intlFormat>$1 $2 $3-$4</intlFormat>
899 <numberFormat pattern="(11)(\d{4})(\d{4})" nationalPrefixOptionalWhenFormatting="true">
900 <leadingDigits>1</leadingDigits>
901 <format>$1 $2-$3</format>
903 <!-- These patterns are a copy of the mobile patterns with the leading 9 removed. -->
904 <numberFormat pattern="(\d{3})(\d{3})(\d{4})" nationalPrefixOptionalWhenFormatting="true">
923 <!-- We exclude here several 294X four-digit area codes: 2940, 2942, 2945, 2946 and 2948,
924 298[23], and several 38[3578]X four-digit area codes. -->
956 <format>$1 $2-$3</format>
958 <numberFormat pattern="(\d{4})(\d{2})(\d{4})" nationalPrefixOptionalWhenFormatting="true">
959 <leadingDigits>[23]</leadingDigits>
960 <format>$1 $2-$3</format>
962 <!-- Format short numbers as a block. -->
963 <numberFormat pattern="(\d{3})" nationalPrefixFormattingRule="$FG">
969 <intlFormat>NA</intlFormat>
973 <!-- We restrict the second digit after 1 here so we can recognise and strip the 15 mobile
974 carrier prefix when we see it. -->
975 <nationalNumberPattern>
979 </nationalNumberPattern>
980 <possibleNumberPattern>\d{6,11}</possibleNumberPattern>
982 <noInternationalDialling>
983 <nationalNumberPattern>810\d{7}</nationalNumberPattern>
984 <possibleNumberPattern>\d{10}</possibleNumberPattern>
985 <exampleNumber>8101234567</exampleNumber>
986 </noInternationalDialling>
988 <!-- Also covering fixed satellite service numbers (670). -->
989 <nationalNumberPattern>
1069 </nationalNumberPattern>
1070 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
1071 <exampleNumber>1123456789</exampleNumber>
1074 <!-- Also covers mobile satellite services (675 numbers). -->
1075 <!-- 4-digit area codes are not covered here in detail - we only check the digit after the
1076 area code is in the range 2-9. The four-digit area-code checking is done in detail if
1077 we attempt to strip the caller-pays token (15) from the number. -->
1078 <nationalNumberPattern>
1102 </nationalNumberPattern>
1103 <possibleNumberPattern>\d{6,11}</possibleNumberPattern>
1104 <exampleNumber>91123456789</exampleNumber>
1107 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
1108 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1109 <exampleNumber>8001234567</exampleNumber>
1112 <nationalNumberPattern>60[04579]\d{7}</nationalNumberPattern>
1113 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1114 <exampleNumber>6001234567</exampleNumber>
1117 <nationalNumberPattern>810\d{7}</nationalNumberPattern>
1118 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1119 <exampleNumber>8101234567</exampleNumber>
1123 <!-- American Samoa -->
1124 <territory id="AS" countryCode="1" leadingDigits="684" nationalPrefix="1"
1125 internationalPrefix="011">
1127 <sourceUrl>http://www.itu.int/oth/T0202000004/en</sourceUrl>
1130 <!-- NANPA country - uses US formatting rules -->
1131 <nationalNumberPattern>[5689]\d{9}</nationalNumberPattern>
1132 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
1135 <nationalNumberPattern>
1145 </nationalNumberPattern>
1146 <exampleNumber>6846221234</exampleNumber>
1149 <!-- Added 25[246], operated from Blue Sky. Added 731, 770, operated by ASTCA. -->
1150 <nationalNumberPattern>
1158 </nationalNumberPattern>
1159 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1160 <exampleNumber>6847331234</exampleNumber>
1163 <nationalNumberPattern>
1172 </nationalNumberPattern>
1173 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1174 <exampleNumber>8002123456</exampleNumber>
1177 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
1178 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1179 <exampleNumber>9002123456</exampleNumber>
1182 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
1183 <nationalNumberPattern>
1191 </nationalNumberPattern>
1192 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1193 <exampleNumber>5002345678</exampleNumber>
1198 <territory id="AT" countryCode="43" internationalPrefix="00"
1199 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
1200 mobileNumberPortableRegion="true">
1202 <sourceUrl>http://www.rtr.at/en/tk/E129</sourceUrl>
1205 <numberFormat pattern="(1)(\d{3,12})">
1206 <leadingDigits>1</leadingDigits>
1207 <format>$1 $2</format>
1209 <!-- The following three patterns are the most common for prefixes 050, 057 and 059, as
1210 found on Austrian web pages. -->
1211 <numberFormat pattern="(5\d)(\d{3,5})">
1212 <leadingDigits>5[079]</leadingDigits>
1213 <format>$1 $2</format>
1215 <numberFormat pattern="(5\d)(\d{3})(\d{3,4})">
1216 <leadingDigits>5[079]</leadingDigits>
1217 <format>$1 $2 $3</format>
1219 <numberFormat pattern="(5\d)(\d{4})(\d{4,7})">
1220 <leadingDigits>5[079]</leadingDigits>
1221 <format>$1 $2 $3</format>
1223 <numberFormat pattern="(\d{3})(\d{3,10})">
1240 <format>$1 $2</format>
1242 <numberFormat pattern="(\d{4})(\d{3,9})">
1263 <format>$1 $2</format>
1267 <nationalNumberPattern>[1-9]\d{3,12}</nationalNumberPattern>
1268 <possibleNumberPattern>\d{3,13}</possibleNumberPattern>
1271 <!-- Note that the full area code is not validated - just the first 3 digits. This also
1272 means that even though for most Austrian numbers the minimum length is 7, we allow 6
1273 since we don't differentiate below between 3 and 4 digit area codes for reasons of
1275 <nationalNumberPattern>
1327 </nationalNumberPattern>
1328 <exampleNumber>1234567890</exampleNumber>
1331 <nationalNumberPattern>
1338 </nationalNumberPattern>
1339 <possibleNumberPattern>\d{7,13}</possibleNumberPattern>
1340 <exampleNumber>644123456</exampleNumber>
1343 <nationalNumberPattern>80[02]\d{6,10}</nationalNumberPattern>
1344 <possibleNumberPattern>\d{9,13}</possibleNumberPattern>
1345 <exampleNumber>800123456</exampleNumber>
1348 <nationalNumberPattern>
1356 </nationalNumberPattern>
1357 <possibleNumberPattern>\d{9,13}</possibleNumberPattern>
1358 <exampleNumber>900123456</exampleNumber>
1361 <nationalNumberPattern>
1366 </nationalNumberPattern>
1367 <possibleNumberPattern>\d{9,13}</possibleNumberPattern>
1368 <exampleNumber>810123456</exampleNumber>
1371 <nationalNumberPattern>780\d{6,10}</nationalNumberPattern>
1372 <possibleNumberPattern>\d{9,13}</possibleNumberPattern>
1373 <exampleNumber>780123456</exampleNumber>
1376 <nationalNumberPattern>
1385 </nationalNumberPattern>
1386 <possibleNumberPattern>\d{5,13}</possibleNumberPattern>
1387 <exampleNumber>50123</exampleNumber>
1392 <!-- Metadata shared with Cocos Islands (CC) and Christmas Islands (CX) -->
1393 <territory id="AU" countryCode="61" mainCountryForCode="true"
1394 internationalPrefix="(?:14(?:1[14]|34|4[17]|[56]6|7[47]|88))?001[14-689]"
1395 preferredInternationalPrefix="0011" nationalPrefix="0"
1396 mobileNumberPortableRegion="true">
1398 <sourceUrl>http://www.itu.int/oth/T020200000D/en</sourceUrl>
1399 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Australia</sourceUrl>
1402 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
1403 pattern="([2378])(\d{4})(\d{4})">
1404 <leadingDigits>[2378]</leadingDigits>
1405 <format>$1 $2 $3</format>
1407 <numberFormat nationalPrefixFormattingRule="$NP$FG"
1408 pattern="(\d{3})(\d{3})(\d{3})">
1413 <format>$1 $2 $3</format>
1415 <numberFormat nationalPrefixFormattingRule="$NP$FG"
1416 pattern="(16)(\d{3})(\d{2,4})">
1417 <leadingDigits>16</leadingDigits>
1418 <format>$1 $2 $3</format>
1420 <numberFormat nationalPrefixFormattingRule="$FG"
1421 pattern="(1[389]\d{2})(\d{3})(\d{3})">
1434 <format>$1 $2 $3</format>
1436 <numberFormat nationalPrefixFormattingRule="$FG"
1437 pattern="(180)(2\d{3})">
1438 <leadingDigits>180</leadingDigits>
1439 <leadingDigits>1802</leadingDigits>
1440 <format>$1 $2</format>
1442 <numberFormat nationalPrefixFormattingRule="$FG"
1443 pattern="(19\d)(\d{3})">
1444 <leadingDigits>19[13]</leadingDigits>
1445 <format>$1 $2</format>
1447 <numberFormat nationalPrefixFormattingRule="$FG"
1448 pattern="(19\d{2})(\d{4})">
1449 <leadingDigits>19[67]</leadingDigits>
1450 <format>$1 $2</format>
1452 <numberFormat nationalPrefixFormattingRule="$FG"
1453 pattern="(13)(\d{2})(\d{2})">
1454 <leadingDigits>13[1-9]</leadingDigits>
1455 <format>$1 $2 $3</format>
1459 <nationalNumberPattern>[1-578]\d{5,9}</nationalNumberPattern>
1460 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
1462 <noInternationalDialling>
1463 <nationalNumberPattern>
1474 </nationalNumberPattern>
1475 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
1476 <exampleNumber>1300123456</exampleNumber>
1477 </noInternationalDialling>
1479 <!-- Excludes prefixes used by Cocos Islands and Christmas Islands -->
1480 <nationalNumberPattern>
1493 </nationalNumberPattern>
1494 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
1495 <exampleNumber>212345678</exampleNumber>
1498 <!-- Includes MobileSat and Thuraya satellite services. According to the wikipedia page,
1499 other ranges 14[1-3] are not currently used. Note CC and CX should be updated as well
1500 if this pattern changes. -->
1501 <nationalNumberPattern>
1516 </nationalNumberPattern>
1517 <possibleNumberPattern>\d{9}</possibleNumberPattern>
1518 <exampleNumber>412345678</exampleNumber>
1521 <nationalNumberPattern>16\d{3,7}</nationalNumberPattern>
1522 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
1523 <exampleNumber>1612345</exampleNumber>
1526 <nationalNumberPattern>
1531 </nationalNumberPattern>
1532 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
1533 <exampleNumber>1800123456</exampleNumber>
1536 <nationalNumberPattern>190[0126]\d{6}</nationalNumberPattern>
1537 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1538 <exampleNumber>1900123456</exampleNumber>
1541 <!-- Local-rate (SmartNumbers) are put here because they are a reverse-charge network,
1542 although they charge a small local call connect fee (around 25c). These start with 13
1544 <nationalNumberPattern>
1548 </nationalNumberPattern>
1549 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
1550 <exampleNumber>1300123456</exampleNumber>
1552 <!-- Wikipedia was the source for these types of numbers, and number allocation search here
1553 http://web.acma.gov.au/numb/openAccess/inquiry/allocationSearch.do confirms this. (Search
1554 from 0500000000 to 0590000000) -->
1556 <nationalNumberPattern>500\d{6}</nationalNumberPattern>
1557 <possibleNumberPattern>\d{9}</possibleNumberPattern>
1558 <exampleNumber>500123456</exampleNumber>
1561 <nationalNumberPattern>550\d{6}</nationalNumberPattern>
1562 <possibleNumberPattern>\d{9}</possibleNumberPattern>
1563 <exampleNumber>550123456</exampleNumber>
1568 <territory id="AW" countryCode="297" internationalPrefix="00">
1570 <sourceUrl>http://www.itu.int/oth/T020200000B/en</sourceUrl>
1573 <numberFormat pattern="(\d{3})(\d{4})">
1574 <format>$1 $2</format>
1578 <nationalNumberPattern>[25-9]\d{6}</nationalNumberPattern>
1579 <possibleNumberPattern>\d{7}</possibleNumberPattern>
1582 <nationalNumberPattern>
1587 </nationalNumberPattern>
1588 <exampleNumber>5212345</exampleNumber>
1591 <!-- The prefixes 662, 994 & 96[45], while not in the plan, seem to be used in mobile
1592 numbers found online. -->
1593 <nationalNumberPattern>
1611 </nationalNumberPattern>
1612 <exampleNumber>5601234</exampleNumber>
1615 <nationalNumberPattern>800\d{4}</nationalNumberPattern>
1616 <exampleNumber>8001234</exampleNumber>
1619 <nationalNumberPattern>900\d{4}</nationalNumberPattern>
1620 <exampleNumber>9001234</exampleNumber>
1623 <nationalNumberPattern>
1626 </nationalNumberPattern>
1627 <exampleNumber>5011234</exampleNumber>
1631 <!-- Ã…land Islands. -->
1632 <!-- Metadata shared with Finland. -->
1633 <territory id="AX" countryCode="358" internationalPrefix="00|99[049]" nationalPrefix="0"
1634 nationalPrefixFormattingRule="$NP$FG">
1636 <sourceUrl>http://www.ficora.fi/en/index/palvelut/palvelutaiheittain/numerointi/numerotyypitjaalueet.html</sourceUrl>
1638 <!-- The general desc and fixed line are numbers different from Finland metadata. -->
1640 <nationalNumberPattern>
1646 </nationalNumberPattern>
1647 <possibleNumberPattern>\d{5,12}</possibleNumberPattern>
1649 <noInternationalDialling>
1650 <!-- According to the national numbering plan, service numbers are in general not accessible
1651 from abroad, although 600/700/800 numbers may be. -->
1652 <nationalNumberPattern>
1670 </nationalNumberPattern>
1671 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
1672 <exampleNumber>100123</exampleNumber>
1673 </noInternationalDialling>
1675 <nationalNumberPattern>18[1-8]\d{3,9}</nationalNumberPattern>
1676 <possibleNumberPattern>\d{6,12}</possibleNumberPattern>
1677 <exampleNumber>1812345678</exampleNumber>
1679 <!-- The mobile, toll free, premium rate and UAN numbers copied from Finland. -->
1681 <nationalNumberPattern>
1684 </nationalNumberPattern>
1685 <possibleNumberPattern>\d{6,11}</possibleNumberPattern>
1686 <exampleNumber>412345678</exampleNumber>
1689 <nationalNumberPattern>800\d{4,7}</nationalNumberPattern>
1690 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
1691 <exampleNumber>8001234567</exampleNumber>
1694 <nationalNumberPattern>[67]00\d{5,6}</nationalNumberPattern>
1695 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
1696 <exampleNumber>600123456</exampleNumber>
1699 <!-- Covers nationwide non-geographic numbers, and nationwide "service numbers", typically
1700 assigned to institutions such as universities, the national post, etc, where they are
1701 not otherwise classified as toll-free or premium-rate numbers. -->
1702 <nationalNumberPattern>
1720 </nationalNumberPattern>
1721 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
1722 <exampleNumber>10112345</exampleNumber>
1727 <territory id="AZ" countryCode="994" internationalPrefix="00" nationalPrefix="0"
1728 nationalPrefixFormattingRule="($NP$FG)" mobileNumberPortableRegion="true">
1730 <sourceUrl>http://www.itu.int/oth/T020200000F/en</sourceUrl>
1733 <numberFormat pattern="(\d{2})(\d{3})(\d{2})(\d{2})">
1744 <format>$1 $2 $3 $4</format>
1746 <numberFormat pattern="(\d{2})(\d{3})(\d{2})(\d{2})" nationalPrefixFormattingRule="$NP$FG">
1747 <leadingDigits>[4-8]</leadingDigits>
1748 <format>$1 $2 $3 $4</format>
1750 <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})"
1751 nationalPrefixFormattingRule="$NP$FG">
1752 <leadingDigits>9</leadingDigits>
1753 <format>$1 $2 $3 $4</format>
1757 <nationalNumberPattern>[1-9]\d{8}</nationalNumberPattern>
1758 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
1761 <nationalNumberPattern>
1774 </nationalNumberPattern>
1775 <exampleNumber>123123456</exampleNumber>
1778 <nationalNumberPattern>
1785 </nationalNumberPattern>
1786 <possibleNumberPattern>\d{9}</possibleNumberPattern>
1787 <exampleNumber>401234567</exampleNumber>
1790 <!-- 88 is listed as fixed-line for Baku in the ITU document, but online numbers seem to
1791 suggest they are in fact national toll-free numbers. -->
1792 <nationalNumberPattern>88\d{7}</nationalNumberPattern>
1793 <possibleNumberPattern>\d{9}</possibleNumberPattern>
1794 <exampleNumber>881234567</exampleNumber>
1797 <!-- These are marked as Interactive Calls in the ITU document. -->
1798 <nationalNumberPattern>900200\d{3}</nationalNumberPattern>
1799 <possibleNumberPattern>\d{9}</possibleNumberPattern>
1800 <exampleNumber>900200123</exampleNumber>
1804 <!-- Bosnia and Herzegovina -->
1805 <territory id="BA" countryCode="387" internationalPrefix="00"
1806 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
1807 mobileNumberPortableRegion="true">
1809 <!-- accessible from http://www.cra.ba/en/telecom/numbering/ -->
1810 <sourceUrl>http://www.rak.ba/eng/index.php?uid=1272016657</sourceUrl>
1811 <sourceUrl>http://en.wikipedia.org/wiki/+387</sourceUrl>
1814 <numberFormat pattern="(\d{2})(\d{3})(\d{3})">
1815 <leadingDigits>[3-5]</leadingDigits>
1816 <format>$1 $2-$3</format>
1818 <numberFormat pattern="(\d{2})(\d{3})(\d{3})">
1823 <format>$1 $2 $3</format>
1825 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{3})">
1826 <leadingDigits>6[047]</leadingDigits>
1827 <format>$1 $2 $3 $4</format>
1831 <nationalNumberPattern>[3-9]\d{7,8}</nationalNumberPattern>
1832 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
1835 <nationalNumberPattern>
1840 </nationalNumberPattern>
1841 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
1842 <exampleNumber>30123456</exampleNumber>
1845 <nationalNumberPattern>
1852 </nationalNumberPattern>
1853 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
1854 <exampleNumber>61123456</exampleNumber>
1857 <nationalNumberPattern>8[08]\d{6}</nationalNumberPattern>
1858 <possibleNumberPattern>\d{8}</possibleNumberPattern>
1859 <exampleNumber>80123456</exampleNumber>
1862 <nationalNumberPattern>9[0246]\d{6}</nationalNumberPattern>
1863 <possibleNumberPattern>\d{8}</possibleNumberPattern>
1864 <exampleNumber>90123456</exampleNumber>
1867 <!-- Using this category to model national tariff numbers - these are under Shared Cost in
1869 <nationalNumberPattern>8[12]\d{6}</nationalNumberPattern>
1870 <possibleNumberPattern>\d{8}</possibleNumberPattern>
1871 <exampleNumber>82123456</exampleNumber>
1874 <!-- Using this to classify nomad numbers. -->
1875 <nationalNumberPattern>70[23]\d{5}</nationalNumberPattern>
1876 <possibleNumberPattern>\d{8}</possibleNumberPattern>
1877 <exampleNumber>70223456</exampleNumber>
1882 <territory id="BB" countryCode="1" leadingDigits="246" nationalPrefix="1"
1883 internationalPrefix="011">
1885 <sourceUrl>http://www.itu.int/oth/T0202000013/en</sourceUrl>
1888 <!-- NANPA country - uses US formatting rules -->
1889 <nationalNumberPattern>[2589]\d{9}</nationalNumberPattern>
1890 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
1893 <nationalNumberPattern>246[2-9]\d{6}</nationalNumberPattern>
1894 <exampleNumber>2462345678</exampleNumber>
1897 <nationalNumberPattern>
1906 </nationalNumberPattern>
1907 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1908 <exampleNumber>2462501234</exampleNumber>
1911 <nationalNumberPattern>
1920 </nationalNumberPattern>
1921 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1922 <exampleNumber>8002123456</exampleNumber>
1925 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
1926 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1927 <exampleNumber>9002123456</exampleNumber>
1930 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
1931 <nationalNumberPattern>
1939 </nationalNumberPattern>
1940 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1941 <exampleNumber>5002345678</exampleNumber>
1946 <territory id="BD" countryCode="880" internationalPrefix="00[12]?"
1947 preferredInternationalPrefix="00"
1948 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
1950 <sourceUrl>http://www.itu.int/oth/T0202000012/en</sourceUrl>
1951 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Bangladesh</sourceUrl>
1952 <sourceUrl>http://www.btrc.gov.bd/engineering/national_numbering_plan_2005.pdf</sourceUrl>
1955 <numberFormat pattern="(2)(\d{7})">
1956 <leadingDigits>2</leadingDigits>
1957 <format>$1-$2</format>
1959 <numberFormat pattern="(\d{2})(\d{4,6})">
1960 <leadingDigits>[3-79]1</leadingDigits>
1961 <format>$1-$2</format>
1963 <!-- Mobile numbers, VOIP, and four-digit fixed-line area codes. -->
1964 <numberFormat pattern="(\d{4})(\d{3,6})">
1996 <format>$1-$2</format>
1998 <numberFormat pattern="(\d{3})(\d{3,7})">
2003 <format>$1-$2</format>
2007 <!-- This is quite complex so we can define that numbers beginning with 88 are not part of the
2008 plan, so the country code can be accurately stripped off. -->
2009 <nationalNumberPattern>
2013 </nationalNumberPattern>
2014 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
2017 <!-- There was a plan to move to 10 digit fixed-line numbers, but this does not seem to have
2018 been realised, judging by online numbers and wikipedia. These patterns are grouped
2019 first by leading digit, then within by number of digits. Several Dhaka prefixes (02 731
2020 etc) are included despite not being mentioned on the wikipedia page or ITU doc due to
2021 online evidence. Another oddity is Chittagong - some numbers have a leading 2, others
2022 do not - both are allowed for now. For some area codes, the subscriber number length
2023 described in our source documentation doesn't match numbers online (e.g. 05222) so we
2024 allow both for now. (This applies to 0431, 04329, 04623, 05327 as well). We have
2025 also added 04452 and 04923 from numbers found online. -->
2026 <nationalNumberPattern>
2299 </nationalNumberPattern>
2300 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
2301 <exampleNumber>27111234</exampleNumber>
2304 <!-- Presuming that mobile numbers with the prefixes 66, 37, 44 and 38 must be followed by
2305 numbers [02-9] or they would clash with fixed-line codes. According to the plan, mobile
2306 numbers should be moving to 1[13-9] anyway. -->
2307 <nationalNumberPattern>
2319 </nationalNumberPattern>
2320 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2321 <exampleNumber>1812345678</exampleNumber>
2324 <!-- Note: Including Tele-voting numbers here as they are free of charge. -->
2325 <nationalNumberPattern>80[03]\d{7}</nationalNumberPattern>
2326 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2327 <exampleNumber>8001234567</exampleNumber>
2330 <nationalNumberPattern>
2336 </nationalNumberPattern>
2337 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2338 <exampleNumber>9604123456</exampleNumber>
2343 <territory id="BE" countryCode="32" internationalPrefix="00"
2344 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
2345 mobileNumberPortableRegion="true">
2347 <sourceUrl>http://www.bipt.be/en/161/ShowContent/502/Database/Databases.aspx</sourceUrl>
2348 <sourceUrl>http://www.telefoonzones.be/</sourceUrl>
2351 <numberFormat pattern="(4[6-9]\d)(\d{2})(\d{2})(\d{2})">
2352 <leadingDigits>4[6-9]</leadingDigits>
2353 <format>$1 $2 $3 $4</format>
2355 <numberFormat pattern="([2-49])(\d{3})(\d{2})(\d{2})">
2360 <format>$1 $2 $3 $4</format>
2362 <numberFormat pattern="([15-8]\d)(\d{2})(\d{2})(\d{2})">
2371 <format>$1 $2 $3 $4</format>
2373 <numberFormat pattern="([89]\d{2})(\d{2})(\d{3})">
2380 <format>$1 $2 $3</format>
2384 <nationalNumberPattern>[1-9]\d{7,8}</nationalNumberPattern>
2385 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
2388 <!-- According to the published Excel document the third digit must be 1-9. -->
2389 <nationalNumberPattern>
2399 </nationalNumberPattern>
2400 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2401 <exampleNumber>12345678</exampleNumber>
2404 <!-- Numbers beginning with 46 outside the ranges allocated by the plan have been included
2405 since many were found online. -->
2406 <nationalNumberPattern>
2411 </nationalNumberPattern>
2412 <possibleNumberPattern>\d{9}</possibleNumberPattern>
2413 <exampleNumber>470123456</exampleNumber>
2416 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
2417 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2418 <exampleNumber>80012345</exampleNumber>
2421 <nationalNumberPattern>
2426 </nationalNumberPattern>
2427 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2428 <exampleNumber>90123456</exampleNumber>
2431 <!-- Using this for National Rate Services, since
2432 http://www.voipgate.com/site/news/newsflash/new-numbers-available-the-netherlands-and-austria.html
2433 says it will be priced the same as any other national calls. -->
2434 <nationalNumberPattern>78\d{6}</nationalNumberPattern>
2435 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2436 <exampleNumber>78123456</exampleNumber>
2440 <!-- Burkina Faso -->
2441 <territory id="BF" countryCode="226" internationalPrefix="00">
2443 <sourceUrl>http://www.itu.int/oth/T0202000021/en</sourceUrl>
2444 <sourceUrl>http://www.onatel.bf/onatelsa/plandenumerotation_burkina.pdf</sourceUrl>
2447 <!-- The national numbering plan from ITU suggests grouping of 2, 2 and 4, but we have
2448 chosen to use the standard from numbers found on the internet instead. -->
2449 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
2450 <format>$1 $2 $3 $4</format>
2454 <nationalNumberPattern>[24-7]\d{7}</nationalNumberPattern>
2455 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2458 <nationalNumberPattern>
2475 </nationalNumberPattern>
2476 <exampleNumber>20491234</exampleNumber>
2479 <nationalNumberPattern>
2485 </nationalNumberPattern>
2486 <exampleNumber>70123456</exampleNumber>
2491 <territory id="BG" countryCode="359" internationalPrefix="00"
2492 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
2493 mobileNumberPortableRegion="true">
2495 <sourceUrl>http://www.itu.int/oth/T0202000020/en</sourceUrl>
2498 <!-- Formatting rules follow the conventions seen in web-search results. A space has been
2499 used to separate the area code from the rest of the number, based on sites like
2500 http://www.goldenpages.bg. -->
2501 <numberFormat pattern="(2)(\d{5})">
2502 <leadingDigits>29</leadingDigits>
2503 <format>$1 $2</format>
2505 <numberFormat pattern="(2)(\d{3})(\d{3,4})">
2506 <leadingDigits>2</leadingDigits>
2507 <format>$1 $2 $3</format>
2509 <numberFormat pattern="(\d{3})(\d{4})">
2514 <format>$1 $2</format>
2516 <numberFormat pattern="(\d{3})(\d{3})(\d{2})">
2521 <format>$1 $2 $3</format>
2523 <numberFormat pattern="(\d{3})(\d{2})(\d{3})">
2524 <leadingDigits>[78]00</leadingDigits>
2525 <format>$1 $2 $3</format>
2527 <numberFormat pattern="(\d{2})(\d{3})(\d{2,3})">
2535 <format>$1 $2 $3</format>
2537 <numberFormat pattern="(\d{2})(\d{3})(\d{3,4})">
2543 <format>$1 $2 $3</format>
2547 <nationalNumberPattern>
2550 </nationalNumberPattern>
2551 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
2554 <!-- 29xxxx numbers have been added because they can be found online, and are typically
2555 used by taxi companies. -->
2556 <nationalNumberPattern>
2577 </nationalNumberPattern>
2578 <possibleNumberPattern>\d{5,8}</possibleNumberPattern>
2579 <exampleNumber>2123456</exampleNumber>
2582 <nationalNumberPattern>
2591 </nationalNumberPattern>
2592 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
2593 <exampleNumber>48123456</exampleNumber>
2596 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
2597 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2598 <exampleNumber>80012345</exampleNumber>
2601 <nationalNumberPattern>90\d{6}</nationalNumberPattern>
2602 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2603 <exampleNumber>90123456</exampleNumber>
2606 <nationalNumberPattern>700\d{5}</nationalNumberPattern>
2607 <exampleNumber>70012345</exampleNumber>
2612 <territory id="BH" countryCode="973" internationalPrefix="00" mobileNumberPortableRegion="true">
2614 <sourceUrl>http://www.itu.int/oth/T0202000011/en</sourceUrl>
2615 <sourceUrl>http://www.tra.org.bh/en/marketNumbering.aspx</sourceUrl>
2616 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Bahrain</sourceUrl>
2619 <numberFormat pattern="(\d{4})(\d{4})">
2620 <format>$1 $2</format>
2624 <nationalNumberPattern>[136-9]\d{7}</nationalNumberPattern>
2625 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2627 <!-- Some ranges were previously described as "universal", but in subsequent versions of the
2628 ITU doc they have been specified to be mobile or fixed-line. We follow the ITU
2629 designations, even though some publications still refer to them as universal. -->
2630 <!-- According to http://en.wikipedia.org/wiki/Telephone_numbers_in_Bahrain, the ranges
2631 "6966-6969, 6996, 6999" are assigned to Rapid. However this contradicts the ITU doc
2632 which lists "6966, 6969, 6996, 6999". We follow ITU here. -->
2634 <nationalNumberPattern>
2657 </nationalNumberPattern>
2658 <exampleNumber>17001234</exampleNumber>
2660 <!-- 31 is assigned to Royal Court, as per documents on Bahrain's own telecom site, even
2661 though it is omitted from the ITU document. -->
2663 <nationalNumberPattern>
2682 </nationalNumberPattern>
2683 <exampleNumber>36001234</exampleNumber>
2686 <nationalNumberPattern>80\d{6}</nationalNumberPattern>
2687 <exampleNumber>80123456</exampleNumber>
2689 <!-- 87 numbers are "wholly paid by the caller", so they are slotted under premium-rate for
2692 <nationalNumberPattern>
2697 </nationalNumberPattern>
2698 <exampleNumber>90123456</exampleNumber>
2701 <nationalNumberPattern>84\d{6}</nationalNumberPattern>
2702 <exampleNumber>84123456</exampleNumber>
2707 <territory id="BI" countryCode="257" internationalPrefix="00">
2709 <sourceUrl>http://www.itu.int/oth/T0202000022/en</sourceUrl>
2713 pattern="([27]\d)(\d{2})(\d{2})(\d{2})">
2714 <format>$1 $2 $3 $4</format>
2718 <nationalNumberPattern>[27]\d{7}</nationalNumberPattern>
2719 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2722 <nationalNumberPattern>
2727 </nationalNumberPattern>
2728 <exampleNumber>22201234</exampleNumber>
2731 <!-- Extra online mobile number prefixes found: 74.
2732 The 29 prefix is listed as a mobile prefix, but many people list it as their fixed home
2733 number. We will keep it as mobile for now, but it may actually be a prefix for fixed
2734 satellite phones. -->
2735 <nationalNumberPattern>
2740 </nationalNumberPattern>
2741 <exampleNumber>79561234</exampleNumber>
2746 <territory id="BJ" countryCode="229" internationalPrefix="00">
2748 <sourceUrl>http://www.itu.int/oth/T0202000017/en</sourceUrl>
2751 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
2752 <format>$1 $2 $3 $4</format>
2754 <!-- Numbers beginning with 7 should be formatted as a block. -->
2757 <nationalNumberPattern>
2760 </nationalNumberPattern>
2761 <possibleNumberPattern>\d{4,8}</possibleNumberPattern>
2764 <!-- These come from the national numbering plan, but have been widened to include other
2765 prefixes found in the yellow pages - specifically 21 0. -->
2766 <nationalNumberPattern>
2773 </nationalNumberPattern>
2774 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2775 <exampleNumber>20211234</exampleNumber>
2778 <!-- We have restricted the pattern here to the first two digits, as beyond this the data
2779 seems to be no longer accurate. The prefixes 9[46] have also been added, along with
2780 6[167] (seemingly prefixes for Mobile MTN), and 64 for BeninCell. Glo Mobile has been
2781 reported as having prefixes 68 and 9[89]. -->
2782 <nationalNumberPattern>
2787 </nationalNumberPattern>
2788 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2789 <exampleNumber>90011234</exampleNumber>
2792 <nationalNumberPattern>7[3-5]\d{2}</nationalNumberPattern>
2793 <possibleNumberPattern>\d{4}</possibleNumberPattern>
2794 <exampleNumber>7312</exampleNumber>
2797 <nationalNumberPattern>857[58]\d{4}</nationalNumberPattern>
2798 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2799 <exampleNumber>85751234</exampleNumber>
2801 <!-- Numbers beginning with 81 are reserved for _either_ free phone or shared-cost (same cost
2802 as a local-call.) We model these as UAN since we have no more detailed information. -->
2804 <nationalNumberPattern>81\d{6}</nationalNumberPattern>
2805 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2806 <exampleNumber>81123456</exampleNumber>
2810 <!-- Saint Barthélemy, French Antilles -->
2811 <!-- There seems to be some overlap with phone numbers from Saint Martin and Guadeloupe. The
2812 national numbering plan does not specify any St Barthélemy-specific numbering prefixes, but
2813 it appears from searches in online white and yellow pages that a subset of the prefixes
2814 available in these regions are used. In these cases, if getRegionCodeForNumber is used, one
2815 of these region codes will be returned, although numbers will be valid for both regions.
2817 <territory id="BL" countryCode="590" internationalPrefix="00" nationalPrefix="0">
2819 <sourceUrl>http://www.itu.int/oth/T0202000058/en</sourceUrl>
2821 <!-- Formatting rules borrowed from Guadeloupe. -->
2823 <nationalNumberPattern>[56]\d{8}</nationalNumberPattern>
2824 <possibleNumberPattern>\d{9}</possibleNumberPattern>
2827 <nationalNumberPattern>
2833 </nationalNumberPattern>
2834 <exampleNumber>590271234</exampleNumber>
2837 <!-- Any ranges assigned from
2838 http://www.arcep.fr/index.php?id=interactivenumeros have been listed as belonging to
2839 Guadeloupe, St Martin and St Barthélemy, since we can't reliably distinguish between
2841 <nationalNumberPattern>
2846 </nationalNumberPattern>
2847 <exampleNumber>690301234</exampleNumber>
2852 <territory id="BM" countryCode="1" leadingDigits="441" nationalPrefix="1"
2853 internationalPrefix="011">
2855 <sourceUrl>http://www.itu.int/oth/T0202000018/en</sourceUrl>
2858 <!-- NANPA country - uses US formatting rules -->
2859 <nationalNumberPattern>[4589]\d{9}</nationalNumberPattern>
2860 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
2863 <nationalNumberPattern>
2879 </nationalNumberPattern>
2880 <exampleNumber>4412345678</exampleNumber>
2883 <nationalNumberPattern>
2888 </nationalNumberPattern>
2889 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2890 <exampleNumber>4413701234</exampleNumber>
2893 <nationalNumberPattern>
2902 </nationalNumberPattern>
2903 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2904 <exampleNumber>8002123456</exampleNumber>
2907 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
2908 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2909 <exampleNumber>9002123456</exampleNumber>
2912 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
2913 <nationalNumberPattern>
2921 </nationalNumberPattern>
2922 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2923 <exampleNumber>5002345678</exampleNumber>
2927 <!-- Brunei Darussalam -->
2928 <territory id="BN" countryCode="673" internationalPrefix="00">
2930 <sourceUrl>http://www.itu.int/oth/T020200001F/en</sourceUrl>
2932 <!-- Format is from http://aiti.gov.bn/contact.html -->
2934 <numberFormat pattern="([2-578]\d{2})(\d{4})">
2935 <format>$1 $2</format>
2939 <nationalNumberPattern>[2-578]\d{6}</nationalNumberPattern>
2940 <possibleNumberPattern>\d{7}</possibleNumberPattern>
2943 <nationalNumberPattern>
2949 </nationalNumberPattern>
2950 <exampleNumber>2345678</exampleNumber>
2953 <nationalNumberPattern>
2956 </nationalNumberPattern>
2957 <exampleNumber>7123456</exampleNumber>
2962 <territory id="BO" countryCode="591" internationalPrefix="00(1\d)?" nationalPrefix="0"
2963 nationalPrefixForParsing="0(1\d)?" carrierCodeFormattingRule="$NP$CC $FG">
2965 <sourceUrl>http://www.itu.int/oth/T020200001A/en</sourceUrl>
2966 <sourceUrl>http://www.bolivia.com/Servicios/Plandenumeracion.pdf</sourceUrl>
2969 <numberFormat pattern="([234])(\d{7})">
2970 <leadingDigits>[234]</leadingDigits>
2971 <format>$1 $2</format>
2973 <numberFormat pattern="([67]\d{7})">
2974 <leadingDigits>[67]</leadingDigits>
2979 <nationalNumberPattern>[23467]\d{7}</nationalNumberPattern>
2980 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
2983 <nationalNumberPattern>
2987 5(?:11|[258]\d|9[67])|
2994 8(?:25|42|5[257]|86|9[25])|
2995 9(?:2\d|3[234]|4[248]|5[24]|6[2-6]|7\d)
2999 6(?:11|[24689]\d|72)
3002 </nationalNumberPattern>
3003 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
3004 <exampleNumber>22123456</exampleNumber>
3007 <nationalNumberPattern>[67]\d{7}</nationalNumberPattern>
3008 <possibleNumberPattern>\d{8}</possibleNumberPattern>
3009 <exampleNumber>71234567</exampleNumber>
3013 <!-- Bonaire, Sint Eustatius and Saba -->
3014 <territory id="BQ" countryCode="599" internationalPrefix="00">
3016 <sourceUrl>http://www.itu.int/oth/T02020000F8/en</sourceUrl>
3018 <!-- Shares formatting patterns with CW. -->
3020 <nationalNumberPattern>[347]\d{6}</nationalNumberPattern>
3021 <possibleNumberPattern>\d{7}</possibleNumberPattern>
3024 <nationalNumberPattern>
3033 </nationalNumberPattern>
3034 <exampleNumber>7151234</exampleNumber>
3037 <nationalNumberPattern>
3047 </nationalNumberPattern>
3048 <exampleNumber>3181234</exampleNumber>
3053 <territory id="BR" countryCode="55"
3054 internationalPrefix="00(?:1[45]|2[135]|31|4[13])"
3056 nationalPrefixForParsing="0(?:(1[245]|2[135]|31|4[13])(\d{10,11}))?"
3057 nationalPrefixTransformRule="$2" mobileNumberPortableRegion="true">
3059 <sourceUrl>http://en.wikipedia.org/wiki/%2B55</sourceUrl>
3060 <sourceUrl>http://www.itu.int/oth/T020200001D/en</sourceUrl>
3062 <!-- The national prefix for parsing here also contains a capturing group for the main number,
3063 since the carrier codes here may also be area codes, so we want to check the length of
3064 the number after capturing. We also need a nationalTransformRule to repopulate with the
3065 number without the carrier code. -->
3067 <!-- Numbers can be dialled without an area code on mobile phones in Brazil. The first two
3068 rules here handle this case. The leading digits pattern must be specific enough such
3069 that it doesn't match X00 numbers (e.g. toll-free). -->
3070 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{4})">
3077 <format>$1-$2</format>
3078 <intlFormat>NA</intlFormat>
3080 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{5})(\d{4})">
3087 <format>$1-$2</format>
3088 <intlFormat>NA</intlFormat>
3090 <!-- Format short numbers as a block. -->
3091 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{3,5})">
3092 <leadingDigits>1[125689]</leadingDigits>
3094 <intlFormat>NA</intlFormat>
3096 <numberFormat nationalPrefixFormattingRule="($FG)"
3097 pattern="(\d{2})(\d{5})(\d{4})"
3098 carrierCodeFormattingRule="$NP $CC ($FG)">
3106 <format>$1 $2-$3</format>
3108 <numberFormat nationalPrefixFormattingRule="($FG)"
3109 pattern="(\d{2})(\d{4})(\d{4})"
3110 carrierCodeFormattingRule="$NP $CC ($FG)">
3111 <leadingDigits>[1-9][1-9]</leadingDigits>
3112 <format>$1 $2-$3</format>
3114 <numberFormat pattern="([34]00\d)(\d{4})">
3115 <leadingDigits>[34]00</leadingDigits>
3116 <format>$1-$2</format>
3118 <numberFormat nationalPrefixFormattingRule="$NP$FG"
3119 pattern="([3589]00)(\d{2,3})(\d{4})">
3120 <leadingDigits>[3589]00</leadingDigits>
3121 <format>$1 $2 $3</format>
3125 <nationalNumberPattern>
3128 </nationalNumberPattern>
3129 <possibleNumberPattern>\d{8,11}</possibleNumberPattern>
3131 <noInternationalDialling>
3132 <nationalNumberPattern>[34]00\d{5}</nationalNumberPattern>
3133 <possibleNumberPattern>\d{8}</possibleNumberPattern>
3134 <exampleNumber>40041234</exampleNumber>
3135 </noInternationalDialling>
3137 <!-- According to this publication, the prefixes 11 53, 11 54 and 11 57 are to be used for
3138 mobile phones prior to the introduction of a ninth digit. It is not clear whether they
3139 are still valid as fixed-line numbers, so we are leaving them here in the meantime:
3140 http://www.anatel.gov.br/Portal/exibirPortalNoticias.do?acao=carregaNoticia&codigo=22406
3142 <nationalNumberPattern>
3151 </nationalNumberPattern>
3152 <exampleNumber>1123456789</exampleNumber>
3155 <!-- Since 2012, Brazil has been migrating from 10 to 11 digits by inserting a 9 before the
3156 last 8 digits. The following pattern is divided into 3 sections: ranges for which the
3157 migration has been completed, ranges which are in transition, and ranges which are
3158 still in the old format. (Ranges which were supposed to have been deprecated in
3159 Oct. 2013 are still working as of Jan. 2014.) Note that mobile radio services are
3160 still 10 digits, with the subscriber number (the last 8 digits) beginning with 7. -->
3161 <nationalNumberPattern>
3176 </nationalNumberPattern>
3177 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
3178 <exampleNumber>11961234567</exampleNumber>
3181 <nationalNumberPattern>800\d{6,7}</nationalNumberPattern>
3182 <exampleNumber>800123456</exampleNumber>
3185 <nationalNumberPattern>[359]00\d{6,7}</nationalNumberPattern>
3186 <exampleNumber>300123456</exampleNumber>
3189 <nationalNumberPattern>[34]00\d{5}</nationalNumberPattern>
3190 <possibleNumberPattern>\d{8}</possibleNumberPattern>
3191 <exampleNumber>40041234</exampleNumber>
3196 <territory id="BS" countryCode="1" leadingDigits="242" nationalPrefix="1"
3197 internationalPrefix="011">
3199 <sourceUrl>http://www.itu.int/oth/T0202000010/en</sourceUrl>
3202 <!-- NANPA country - uses US formatting rules -->
3203 <nationalNumberPattern>[2589]\d{9}</nationalNumberPattern>
3204 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
3207 <nationalNumberPattern>
3229 </nationalNumberPattern>
3230 <exampleNumber>2423456789</exampleNumber>
3233 <nationalNumberPattern>
3257 </nationalNumberPattern>
3258 <possibleNumberPattern>\d{10}</possibleNumberPattern>
3259 <exampleNumber>2423591234</exampleNumber>
3262 <!-- 242 300 is a Domestic Toll Free service. -->
3263 <nationalNumberPattern>
3273 </nationalNumberPattern>
3274 <possibleNumberPattern>\d{10}</possibleNumberPattern>
3275 <exampleNumber>8002123456</exampleNumber>
3278 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
3279 <possibleNumberPattern>\d{10}</possibleNumberPattern>
3280 <exampleNumber>9002123456</exampleNumber>
3283 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
3284 <nationalNumberPattern>
3292 </nationalNumberPattern>
3293 <possibleNumberPattern>\d{10}</possibleNumberPattern>
3294 <exampleNumber>5002345678</exampleNumber>
3299 <territory id="BT" countryCode="975" internationalPrefix="00">
3301 <sourceUrl>http://www.itu.int/oth/T0202000019/en</sourceUrl>
3305 http://www.tourism.gov.bt/tour-operators/bhutan-abbot-tours-and-travels.html -->
3306 <numberFormat pattern="([17]7)(\d{2})(\d{2})(\d{2})">
3311 <format>$1 $2 $3 $4</format>
3313 <numberFormat pattern="([2-8])(\d{3})(\d{3})">
3318 <format>$1 $2 $3</format>
3322 <nationalNumberPattern>[1-8]\d{6,7}</nationalNumberPattern>
3323 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
3326 <nationalNumberPattern>
3335 </nationalNumberPattern>
3336 <possibleNumberPattern>\d{6,7}</possibleNumberPattern>
3337 <exampleNumber>2345678</exampleNumber>
3340 <!-- The 77 prefix is not yet in the ITU document but numbers online indicate this prefix
3342 <nationalNumberPattern>[17]7\d{6}</nationalNumberPattern>
3343 <possibleNumberPattern>\d{8}</possibleNumberPattern>
3344 <exampleNumber>17123456</exampleNumber>
3346 <!-- No information on other types of phone numbers for Bhutan has been found. -->
3350 <territory id="BW" countryCode="267" internationalPrefix="00">
3352 <sourceUrl>http://www.itu.int/oth/T020200001C/en</sourceUrl>
3355 <numberFormat pattern="(\d{3})(\d{4})">
3356 <leadingDigits>[2-6]</leadingDigits>
3357 <format>$1 $2</format>
3359 <numberFormat pattern="(7\d)(\d{3})(\d{3})">
3360 <leadingDigits>7</leadingDigits>
3361 <format>$1 $2 $3</format>
3363 <numberFormat pattern="(90)(\d{5})">
3364 <leadingDigits>9</leadingDigits>
3365 <format>$1 $2</format>
3369 <nationalNumberPattern>[2-79]\d{6,7}</nationalNumberPattern>
3370 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
3373 <nationalNumberPattern>
3405 </nationalNumberPattern>
3406 <possibleNumberPattern>\d{7}</possibleNumberPattern>
3407 <exampleNumber>2401234</exampleNumber>
3410 <nationalNumberPattern>
3416 </nationalNumberPattern>
3417 <possibleNumberPattern>\d{8}</possibleNumberPattern>
3418 <exampleNumber>71123456</exampleNumber>
3420 <!-- No reliable information about toll-free numbers can be found; many are written on the
3421 internet like 0800 123 456, but this is not supported by any documentation and no
3422 numbers can be found that actually work. -->
3424 <nationalNumberPattern>90\d{5}</nationalNumberPattern>
3425 <possibleNumberPattern>\d{7}</possibleNumberPattern>
3426 <exampleNumber>9012345</exampleNumber>
3429 <nationalNumberPattern>79[12][01]\d{4}</nationalNumberPattern>
3430 <possibleNumberPattern>\d{8}</possibleNumberPattern>
3431 <exampleNumber>79101234</exampleNumber>
3436 <!-- Information on national prefix provided by a Belarussian person. -->
3437 <territory id="BY" countryCode="375" preferredInternationalPrefix="8~10"
3438 internationalPrefix="810" nationalPrefixForParsing="8?0?"
3439 nationalPrefix="8" mobileNumberPortableRegion="true">
3441 <sourceUrl>http://www.eng.beltelecom.by/en/subscribers/phone-codes</sourceUrl>
3444 <numberFormat nationalPrefixFormattingRule="$NP 0$FG"
3445 pattern="(\d{2})(\d{3})(\d{2})(\d{2})">
3460 <format>$1 $2-$3-$4</format>
3462 <numberFormat nationalPrefixFormattingRule="$NP 0$FG"
3463 pattern="(\d{3})(\d{2})(\d{2})(\d{2})">
3495 <format>$1 $2-$3-$4</format>
3497 <numberFormat nationalPrefixFormattingRule="$NP 0$FG"
3498 pattern="(\d{4})(\d{2})(\d{3})">
3531 <format>$1 $2-$3</format>
3533 <numberFormat nationalPrefixFormattingRule="$NP $FG"
3534 pattern="([89]\d{2})(\d{3})(\d{4})">
3539 <format>$1 $2 $3</format>
3541 <numberFormat nationalPrefixFormattingRule="$NP $FG"
3542 pattern="(8\d{2})(\d{4})(\d{4})">
3543 <leadingDigits>82</leadingDigits>
3544 <format>$1 $2 $3</format>
3548 <nationalNumberPattern>
3551 </nationalNumberPattern>
3552 <!-- Numbers are often written without the city code. -->
3553 <possibleNumberPattern>\d{7,11}</possibleNumberPattern>
3555 <!-- Toll-free and premium rate numbers are not available from abroad. -->
3556 <noInternationalDialling>
3557 <nationalNumberPattern>
3563 </nationalNumberPattern>
3564 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
3565 <exampleNumber>82012345678</exampleNumber>
3566 </noInternationalDialling>
3568 <nationalNumberPattern>
3601 </nationalNumberPattern>
3602 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
3603 <!-- Using test number for Grodno from the plan. -->
3604 <exampleNumber>152450911</exampleNumber>
3607 <nationalNumberPattern>
3616 </nationalNumberPattern>
3617 <possibleNumberPattern>\d{9}</possibleNumberPattern>
3618 <!-- Using test number for BelCel from the plan. -->
3619 <exampleNumber>294911911</exampleNumber>
3622 <!-- Putting Interactive Polling Service (free) here too. -->
3623 <nationalNumberPattern>
3628 </nationalNumberPattern>
3629 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
3630 <exampleNumber>8011234567</exampleNumber>
3633 <!-- Putting Interactive Polling Service (paid) here too. -->
3634 <nationalNumberPattern>
3639 </nationalNumberPattern>
3640 <possibleNumberPattern>\d{10}</possibleNumberPattern>
3641 <exampleNumber>9021234567</exampleNumber>
3646 <!-- The trunk prefix, formally 0, was dropped in the last reorganisation of the numbering plan.
3648 <territory id="BZ" countryCode="501" internationalPrefix="00" leadingZeroPossible="true">
3650 <sourceUrl>http://www.itu.int/oth/T0202000016/en</sourceUrl>
3653 <numberFormat pattern="(\d{3})(\d{4})">
3654 <leadingDigits>[2-8]</leadingDigits>
3655 <!-- Adding hyphen following the Belize Telemedia formatting rules. -->
3656 <format>$1-$2</format>
3658 <numberFormat pattern="(0)(800)(\d{4})(\d{3})">
3659 <leadingDigits>0</leadingDigits>
3660 <format>$1-$2-$3-$4</format>
3664 <nationalNumberPattern>
3667 </nationalNumberPattern>
3668 <possibleNumberPattern>\d{7}(?:\d{4})?</possibleNumberPattern>
3671 <nationalNumberPattern>[234578][02]\d{5}</nationalNumberPattern>
3672 <possibleNumberPattern>\d{7}</possibleNumberPattern>
3673 <exampleNumber>2221234</exampleNumber>
3676 <!-- 62[6-9], 63X and 6[67][2-9] were added as we have been able to successfully send SMSs
3677 to these numbers or many numbers have been found online. -->
3678 <nationalNumberPattern>6[0-367]\d{5}</nationalNumberPattern>
3679 <possibleNumberPattern>\d{7}</possibleNumberPattern>
3680 <exampleNumber>6221234</exampleNumber>
3682 <!-- We don't know how these would be dialled internationally - it is possible that they can't
3683 be dialled internationally at all - so we represent the leading 0 as part of the number.
3684 Information from http://www.belizetelemedia.net. -->
3686 <nationalNumberPattern>0800\d{7}</nationalNumberPattern>
3687 <possibleNumberPattern>\d{11}</possibleNumberPattern>
3688 <exampleNumber>08001234123</exampleNumber>
3693 <territory id="CA" countryCode="1" internationalPrefix="011" nationalPrefix="1"
3694 mobileNumberPortableRegion="true">
3696 <sourceUrl>http://www.cnac.ca/canadian_dial_plan/canadian_dial_plan.htm</sourceUrl>
3699 <!-- NANPA country - uses US formatting rules -->
3700 <nationalNumberPattern>
3703 </nationalNumberPattern>
3704 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
3707 <nationalNumberPattern>
3751 </nationalNumberPattern>
3752 <exampleNumber>2042345678</exampleNumber>
3755 <nationalNumberPattern>
3798 </nationalNumberPattern>
3799 <exampleNumber>2042345678</exampleNumber>
3802 <nationalNumberPattern>
3812 </nationalNumberPattern>
3813 <exampleNumber>8002123456</exampleNumber>
3816 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
3817 <possibleNumberPattern>\d{10}</possibleNumberPattern>
3818 <exampleNumber>9002123456</exampleNumber>
3821 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
3822 <nationalNumberPattern>
3830 </nationalNumberPattern>
3831 <possibleNumberPattern>\d{10}</possibleNumberPattern>
3832 <exampleNumber>5002345678</exampleNumber>
3836 <!-- Cocos Islands -->
3837 <!-- Metadata shared with Australia. -->
3838 <!-- References state Cocos Islands have fixed line numbers starting +61 8 9162. -->
3839 <territory id="CC" countryCode="61" preferredInternationalPrefix="0011"
3840 internationalPrefix="(?:14(?:1[14]|34|4[17]|[56]6|7[47]|88))?001[14-689]"
3843 <sourceUrl>http://en.wikipedia.org/wiki/List_of_country_calling_codes</sourceUrl>
3844 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Australia</sourceUrl>
3846 <!-- Uses AU formatting rules. -->
3847 <!-- General desc and fixed line rules different from Australia. -->
3849 <nationalNumberPattern>[1458]\d{5,9}</nationalNumberPattern>
3850 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
3853 <nationalNumberPattern>89162\d{4}</nationalNumberPattern>
3854 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
3855 <exampleNumber>891621234</exampleNumber>
3857 <!-- Mobile, toll free, premium rate, personal number and VOIP copied from Australia. -->
3859 <nationalNumberPattern>
3874 </nationalNumberPattern>
3875 <possibleNumberPattern>\d{9}</possibleNumberPattern>
3876 <exampleNumber>412345678</exampleNumber>
3879 <nationalNumberPattern>
3888 </nationalNumberPattern>
3889 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
3890 <exampleNumber>1800123456</exampleNumber>
3893 <nationalNumberPattern>190[0126]\d{6}</nationalNumberPattern>
3894 <possibleNumberPattern>\d{10}</possibleNumberPattern>
3895 <exampleNumber>1900123456</exampleNumber>
3898 <nationalNumberPattern>500\d{6}</nationalNumberPattern>
3899 <possibleNumberPattern>\d{9}</possibleNumberPattern>
3900 <exampleNumber>500123456</exampleNumber>
3903 <nationalNumberPattern>550\d{6}</nationalNumberPattern>
3904 <possibleNumberPattern>\d{9}</possibleNumberPattern>
3905 <exampleNumber>550123456</exampleNumber>
3909 <!-- Congo, Dem. Rep. of the (formerly Zaire) -->
3910 <territory id="CD" countryCode="243" internationalPrefix="00"
3911 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
3913 <sourceUrl>http://www.itu.int/oth/T0202000037/en</sourceUrl>
3916 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
3917 <leadingDigits>12</leadingDigits>
3918 <format>$1 $2 $3</format>
3920 <numberFormat pattern="([89]\d{2})(\d{3})(\d{3})">
3925 <format>$1 $2 $3</format>
3927 <numberFormat pattern="(\d{2})(\d{2})(\d{3})">
3928 <leadingDigits>88</leadingDigits>
3929 <format>$1 $2 $3</format>
3931 <numberFormat pattern="(\d{2})(\d{5})">
3932 <leadingDigits>[1-6]</leadingDigits>
3933 <format>$1 $2</format>
3937 <nationalNumberPattern>
3941 </nationalNumberPattern>
3942 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
3945 <nationalNumberPattern>
3951 </nationalNumberPattern>
3952 <exampleNumber>1234567</exampleNumber>
3955 <!-- As of May'13 the 88 range looks as if it is defunct. The ITU document lists "Yozma
3956 Timeturns" as the operator, but their website (http://www.ytt.cd) is offline and the
3957 holdings company http://www.timeturnsholdings.com/products does not show a link for
3958 DRC. While there are still numbers of the form "88\d{5}" online, none of the ones
3959 tried were valid. If the holdings company does not respond to requests about this
3960 range and unless we receive further information, we will remove this range. -->
3961 <nationalNumberPattern>
3967 </nationalNumberPattern>
3968 <exampleNumber>991234567</exampleNumber>
3972 <!-- Central African Republic -->
3973 <territory id="CF" countryCode="236" internationalPrefix="00">
3975 <sourceUrl>http://www.itu.int/oth/T0202000028/en</sourceUrl>
3978 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
3979 <format>$1 $2 $3 $4</format>
3983 <nationalNumberPattern>[278]\d{7}</nationalNumberPattern>
3984 <possibleNumberPattern>\d{8}</possibleNumberPattern>
3987 <nationalNumberPattern>2[12]\d{6}</nationalNumberPattern>
3988 <exampleNumber>21612345</exampleNumber>
3991 <nationalNumberPattern>7[0257]\d{6}</nationalNumberPattern>
3992 <exampleNumber>70012345</exampleNumber>
3995 <nationalNumberPattern>8776\d{4}</nationalNumberPattern>
3996 <exampleNumber>87761234</exampleNumber>
4000 <!-- Congo (Rep. of the) (Brazzaville) -->
4001 <territory id="CG" countryCode="242" internationalPrefix="00" leadingZeroPossible="true">
4003 <sourceUrl>http://www.itu.int/oth/T020200002E/en</sourceUrl>
4006 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
4007 <leadingDigits>[02]</leadingDigits>
4008 <format>$1 $2 $3</format>
4010 <numberFormat pattern="(\d)(\d{4})(\d{4})">
4011 <leadingDigits>8</leadingDigits>
4012 <format>$1 $2 $3</format>
4016 <nationalNumberPattern>[028]\d{8}</nationalNumberPattern>
4017 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4020 <nationalNumberPattern>222[1-589]\d{5}</nationalNumberPattern>
4021 <exampleNumber>222123456</exampleNumber>
4024 <nationalNumberPattern>0[14-6]\d{7}</nationalNumberPattern>
4025 <exampleNumber>061234567</exampleNumber>
4027 <!-- Referred to as a "Green number" in the telephone plan. -->
4029 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
4030 <exampleNumber>800123456</exampleNumber>
4034 <!-- Switzerland -->
4035 <territory id="CH" countryCode="41" internationalPrefix="00"
4036 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
4037 mobileNumberPortableRegion="true">
4039 <!-- Under Technical prescriptions: Numbering plan for international carriers. -->
4040 <sourceUrl>http://www.bakom.admin.ch/themen/telekom/00479/00604/index.html?lang=en</sourceUrl>
4043 <numberFormat pattern="([2-9]\d)(\d{3})(\d{2})(\d{2})">
4048 <format>$1 $2 $3 $4</format>
4050 <numberFormat pattern="([89]\d{2})(\d{3})(\d{3})">
4055 <format>$1 $2 $3</format>
4057 <numberFormat pattern="(\d{3})(\d{2})(\d{3})(\d{2})(\d{2})">
4058 <leadingDigits>860</leadingDigits>
4059 <format>$1 $2 $3 $4 $5</format>
4063 <nationalNumberPattern>
4066 </nationalNumberPattern>
4067 <possibleNumberPattern>\d{9}(?:\d{3})?</possibleNumberPattern>
4070 <nationalNumberPattern>
4079 </nationalNumberPattern>
4080 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4081 <exampleNumber>212345678</exampleNumber>
4084 <nationalNumberPattern>7[5-9]\d{7}</nationalNumberPattern>
4085 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4086 <exampleNumber>781234567</exampleNumber>
4089 <!-- https://www.eofcom.admin.ch/eofcom/public/listEofcom_e164Allocated.do -->
4090 <nationalNumberPattern>74[0248]\d{6}</nationalNumberPattern>
4091 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4092 <exampleNumber>740123456</exampleNumber>
4095 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
4096 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4097 <exampleNumber>800123456</exampleNumber>
4100 <nationalNumberPattern>90[016]\d{6}</nationalNumberPattern>
4101 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4102 <exampleNumber>900123456</exampleNumber>
4105 <nationalNumberPattern>84[0248]\d{6}</nationalNumberPattern>
4106 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4107 <exampleNumber>840123456</exampleNumber>
4110 <nationalNumberPattern>878\d{6}</nationalNumberPattern>
4111 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4112 <exampleNumber>878123456</exampleNumber>
4115 <!-- Used for corporate networks. -->
4116 <nationalNumberPattern>5[18]\d{7}</nationalNumberPattern>
4117 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4118 <exampleNumber>581234567</exampleNumber>
4121 <nationalNumberPattern>860\d{9}</nationalNumberPattern>
4122 <possibleNumberPattern>\d{12}</possibleNumberPattern>
4123 <exampleNumber>860123456789</exampleNumber>
4127 <!-- Côte d'Ivoire -->
4128 <territory id="CI" countryCode="225" internationalPrefix="00" leadingZeroPossible="true">
4130 <sourceUrl>http://www.itu.int/oth/T0202000031/en</sourceUrl>
4133 <!-- Using format from online yellow pages over format implied in national numbering plan.
4135 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
4136 <format>$1 $2 $3 $4</format>
4140 <nationalNumberPattern>[02-7]\d{7}</nationalNumberPattern>
4141 <possibleNumberPattern>\d{8}</possibleNumberPattern>
4144 <nationalNumberPattern>
4160 </nationalNumberPattern>
4161 <exampleNumber>21234567</exampleNumber>
4164 <!-- Added the prefixes 4[0-2] (Moov), 5[5-9] & 6[15] because SMS messages have been
4165 successfully delivered. Supported by numbers found on the internet. The prefix 56 was
4166 assigned to MTN in July 2013:
4167 http://www.atci.ci/images/stories/pdf/decisions-dg/decision_002.pdf
4168 The prefix 75 is from an open-source bug report.
4169 50 has been removed since Warid seems to have stopped operation in Côte d'Ivoire. -->
4170 <nationalNumberPattern>
4178 </nationalNumberPattern>
4179 <exampleNumber>01234567</exampleNumber>
4183 <!-- Cook Islands -->
4184 <territory id="CK" countryCode="682" internationalPrefix="00">
4186 <sourceUrl>http://www.itu.int/oth/T020200002F/en</sourceUrl>
4189 <numberFormat pattern="(\d{2})(\d{3})">
4190 <format>$1 $2</format>
4194 <nationalNumberPattern>[2-57]\d{4}</nationalNumberPattern>
4195 <possibleNumberPattern>\d{5}</possibleNumberPattern>
4198 <nationalNumberPattern>
4204 </nationalNumberPattern>
4205 <exampleNumber>21234</exampleNumber>
4208 <nationalNumberPattern>
4213 </nationalNumberPattern>
4214 <exampleNumber>71234</exampleNumber>
4219 <!-- Carriers listed here: http://www.turismochile.com/datos/carrier.php -->
4220 <territory id="CL" countryCode="56"
4221 internationalPrefix="(?:0|1(?:1[0-69]|2[0-57]|5[13-58]|69|7[0167]|8[018]))0"
4223 nationalPrefixForParsing="0|(1(?:1[0-69]|2[0-57]|5[13-58]|69|7[0167]|8[018]))"
4224 nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
4226 <sourceUrl>http://www.itu.int/oth/T020200002A/en</sourceUrl>
4227 <sourceUrl>http://en.wikipedia.org/wiki/%2B56</sourceUrl>
4228 <sourceUrl>http://www.subtel.gob.cl/base_numeracion/tabla_numeracion_ido_idd.xlsx</sourceUrl>
4230 <!-- When dialling mobile numbers from landlines, or vice versa, you need a prefix of 0, which
4231 we strip here. National destinations may be dialled with a carrier if they are not local
4232 so we extract these carrier codes as well. -->
4234 <numberFormat pattern="(\d)(\d{4})(\d{4})"
4235 nationalPrefixFormattingRule="($FG)"
4236 carrierCodeFormattingRule="$CC ($FG)">
4237 <leadingDigits>22</leadingDigits>
4238 <format>$1 $2 $3</format>
4240 <numberFormat pattern="(\d{2})(\d{3})(\d{4})"
4241 nationalPrefixFormattingRule="($FG)"
4242 carrierCodeFormattingRule="$CC ($FG)">
4248 <format>$1 $2 $3</format>
4250 <numberFormat pattern="(9)(\d{4})(\d{4})">
4251 <leadingDigits>9</leadingDigits>
4252 <format>$1 $2 $3</format>
4254 <numberFormat pattern="(44)(\d{3})(\d{4})">
4255 <leadingDigits>44</leadingDigits>
4256 <format>$1 $2 $3</format>
4258 <numberFormat nationalPrefixFormattingRule="$FG"
4259 pattern="([68]00)(\d{3})(\d{3,4})">
4264 <format>$1 $2 $3</format>
4266 <numberFormat nationalPrefixFormattingRule="$FG"
4267 pattern="(600)(\d{3})(\d{2})(\d{3})">
4268 <leadingDigits>60</leadingDigits>
4269 <format>$1 $2 $3 $4</format>
4271 <numberFormat nationalPrefixFormattingRule="$FG"
4272 pattern="(1230)(\d{3})(\d{4})">
4273 <leadingDigits>1</leadingDigits>
4274 <format>$1 $2 $3</format>
4276 <numberFormat pattern="(\d{5})(\d{4})"
4277 nationalPrefixFormattingRule="($FG)"
4278 carrierCodeFormattingRule="$CC ($FG)">
4279 <leadingDigits>219</leadingDigits>
4280 <format>$1 $2</format>
4282 <!-- Format some short numbers as a block. -->
4283 <numberFormat nationalPrefixFormattingRule="$FG"
4284 pattern="(\d{4,5})">
4285 <leadingDigits>[1-9]</leadingDigits>
4287 <intlFormat>NA</intlFormat>
4291 <nationalNumberPattern>
4297 </nationalNumberPattern>
4298 <possibleNumberPattern>\d{7,11}</possibleNumberPattern>
4300 <noInternationalDialling>
4301 <nationalNumberPattern>600\d{7,8}</nationalNumberPattern>
4302 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
4303 <exampleNumber>6001234567</exampleNumber>
4304 </noInternationalDialling>
4306 <!-- In mid-2013, Chile switched from 8 digits to 9 digits for fixed-line numbers, by
4307 inserting a '2' after the area code (which are 2 digits, with the exception of '2').
4308 As of Aug. 2014, all of the prefixes have been switched over to the new plan.
4309 IMPORTANT: The fact that Santiago numbers have a prefix of "22", and that numbers in
4310 other areas have '2' as their third digit, is likely to change in the future. At some
4311 stage, Santiago numbers will probably switch to prefix "2\d", and the third digit in
4312 other areas will probably be allowed to take on other values.
4313 See: http://www.gob.cl/especiales/informate-de-la-nueva-forma-de-marcar/
4314 http://www.subtel.cl/index.php?option=com_content&view=article&id=3081:&catid=3:noticias
4316 <nationalNumberPattern>
4327 </nationalNumberPattern>
4328 <!-- Area codes do not need to be dialled when dialling within the same area, so the
4329 smallest possible number is length 7. -->
4330 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
4331 <exampleNumber>221234567</exampleNumber>
4334 <nationalNumberPattern>9[4-9]\d{7}</nationalNumberPattern>
4335 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
4336 <exampleNumber>961234567</exampleNumber>
4338 <!-- Toll free patterns have been collected by looking at numbers on the internet, rather than
4339 from a definitive source. -->
4341 <!-- 1230 numbers are used by Visa/Mastercard helplines in Chile -->
4342 <nationalNumberPattern>
4345 </nationalNumberPattern>
4346 <possibleNumberPattern>\d{9,11}</possibleNumberPattern>
4347 <exampleNumber>800123456</exampleNumber>
4350 <!-- http://empresa.movistar.cl/nuestros_productos/soluciones_telefonia_ip/servicios/servicio_600.php -->
4351 <nationalNumberPattern>600\d{7,8}</nationalNumberPattern>
4352 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
4353 <exampleNumber>6001234567</exampleNumber>
4356 <nationalNumberPattern>44\d{7}</nationalNumberPattern>
4357 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4358 <exampleNumber>441234567</exampleNumber>
4363 <territory id="CM" countryCode="237" internationalPrefix="00">
4365 <sourceUrl>http://www.itu.int/oth/T0202000024/en</sourceUrl>
4368 <!-- Formatting on the internet is consistently with the first 2 extracted, and usually in
4369 the same format as France (all 2 digit groups) so we use this instead of the guidance
4370 of the national numbering plan (which has 1 3 2 2 and 4 4 as its two formatting
4372 <numberFormat pattern="([2357-9]\d)(\d{2})(\d{2})(\d{2})">
4377 <format>$1 $2 $3 $4</format>
4379 <numberFormat pattern="(800)(\d{2})(\d{3})">
4380 <leadingDigits>80</leadingDigits>
4381 <format>$1 $2 $3</format>
4385 <nationalNumberPattern>[2357-9]\d{7}</nationalNumberPattern>
4386 <possibleNumberPattern>\d{8}</possibleNumberPattern>
4389 <!-- Technically, the numbers are required only to start with a 2 or a 3, but all numbers at
4390 the moment start with 22 or 33 since they have been migrated from seven digit numbers
4391 beginning with these numbers. This rule should be relaxed if/when we start getting
4392 numbers beginning in other ways. -->
4393 <nationalNumberPattern>
4398 </nationalNumberPattern>
4399 <exampleNumber>22123456</exampleNumber>
4402 <!-- Mobile numbers beginning with 5 were found online. -->
4403 <nationalNumberPattern>[579]\d{7}</nationalNumberPattern>
4404 <exampleNumber>71234567</exampleNumber>
4407 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
4408 <exampleNumber>80012345</exampleNumber>
4411 <!-- These numbers are listed as value-added in the guide, and in practice seem to begin
4412 with 88 (usually 880). No information can be found as to whether these are premium rate
4414 <nationalNumberPattern>88\d{6}</nationalNumberPattern>
4415 <exampleNumber>88012345</exampleNumber>
4420 <territory id="CN" countryCode="86" internationalPrefix="(1[1279]\d{3})?00"
4421 preferredInternationalPrefix="00" nationalPrefix="0"
4422 nationalPrefixForParsing="(1[1279]\d{3})|0">
4424 <sourceUrl>http://www.itu.int/oth/T020200002B/en</sourceUrl>
4427 <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(80\d{2})(\d{4})"
4428 nationalPrefixOptionalWhenFormatting="true"
4429 carrierCodeFormattingRule="$CC $FG">
4430 <leadingDigits>80[2678]</leadingDigits>
4431 <format>$1 $2</format>
4433 <numberFormat pattern="([48]00)(\d{3})(\d{4})">
4434 <leadingDigits>[48]00</leadingDigits>
4435 <format>$1 $2 $3</format>
4437 <!-- 100xx and 95xxx(x) short numbers without area codes. Without this rule, these short
4438 numbers will be formatted incorrectly by the AsYouTypeFormatter because they overlap
4439 with area codes 010, 095x. These numbers are defined in ShortNumberMetadata.xml but
4440 must be accounted for here. Note although ITU says the format is more like 95 xxx, in
4441 reality no space is used when writing such numbers in China. -->
4442 <numberFormat pattern="(\d{5,6})">
4448 <intlFormat>NA</intlFormat>
4450 <!-- 100xx and 95xxx(x) numbers with area codes (these numbers without an area code are now
4451 dealt with by ShortNumberMetadata.xml) and 96xxx(x) numbers with area codes (we don't
4452 support these as short numbers because they are only unique within a province, not
4453 within a country). -->
4454 <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(\d{2})(\d{5,6})"
4455 carrierCodeFormattingRule="$CC $FG">
4480 <format>$1 $2</format>
4482 <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(\d{3})(\d{5,6})"
4483 carrierCodeFormattingRule="$CC $FG">
4484 <leadingDigits>[3-9]</leadingDigits>
4485 <leadingDigits>[3-9]\d{2}[19]</leadingDigits>
4492 <format>$1 $2</format>
4494 <!-- Local numbers -->
4495 <!-- Chinese fixed-line numbers can be dialed from a cell phone without area code and they
4496 can be 7 to 8 digits. This rule is here to make formatting work with such numbers, as
4497 people frequently store them in their cellphones. It has to stay before formatting
4498 rules for fixed-line numbers to make AsYouTypeFormatter work with these numbers. The
4499 leadingDigits prefix makes sure it doesn't clash with mobile numbers. -->
4500 <numberFormat pattern="(\d{3,4})(\d{4})">
4501 <leadingDigits>[2-9]</leadingDigits>
4502 <format>$1 $2</format>
4503 <intlFormat>NA</intlFormat>
4505 <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(21)(\d{4})(\d{4,6})"
4506 nationalPrefixOptionalWhenFormatting="true"
4507 carrierCodeFormattingRule="$CC $FG">
4508 <leadingDigits>21</leadingDigits>
4509 <format>$1 $2 $3</format>
4511 <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="([12]\d)(\d{4})(\d{4})"
4512 nationalPrefixOptionalWhenFormatting="true"
4513 carrierCodeFormattingRule="$CC $FG">
4518 <!-- Note the leadingDigitsPattern for 4 digits is the same as 3 digits, -->
4533 <format>$1 $2 $3</format>
4535 <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(\d{3})(\d{4})(\d{4})"
4536 nationalPrefixOptionalWhenFormatting="true"
4537 carrierCodeFormattingRule="$CC $FG">
4566 <format>$1 $2 $3</format>
4568 <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(\d{3})(\d{3})(\d{4})"
4569 nationalPrefixOptionalWhenFormatting="true"
4570 carrierCodeFormattingRule="$CC $FG">
4627 <format>$1 $2 $3</format>
4629 <numberFormat pattern="(\d{3})(\d{4})(\d{4})" carrierCodeFormattingRule="$CC $FG">
4630 <leadingDigits>1[3-578]</leadingDigits>
4631 <format>$1 $2 $3</format>
4633 <numberFormat pattern="(10800)(\d{3})(\d{4})">
4634 <leadingDigits>108</leadingDigits>
4635 <leadingDigits>1080</leadingDigits>
4636 <leadingDigits>10800</leadingDigits>
4637 <format>$1 $2 $3</format>
4641 <nationalNumberPattern>
4645 </nationalNumberPattern>
4646 <possibleNumberPattern>\d{4,12}</possibleNumberPattern>
4648 <noInternationalDialling>
4649 <nationalNumberPattern>
4656 </nationalNumberPattern>
4657 <possibleNumberPattern>\d{10,12}</possibleNumberPattern>
4658 <exampleNumber>4001234567</exampleNumber>
4659 </noInternationalDialling>
4661 <!-- 0432 increased to 8 digits on October 24, 2009. 0791 increased to 8 digits on August
4662 28, 2011. 0551 increased to 8 digits and 0565 was cancelled on Dec 8, 2012. 0871
4663 increased to 8 digits on December 16, 2012. 0475 is the prefix for Tongliao but is not
4665 10xxx and 95xxx(x) numbers with area codes are also included here, as they behave
4666 exactly like fixed-line numbers. We don't support them for 4-digit area codes though,
4667 as they don't seem to be used there based on making actual phone calls.
4669 <nationalNumberPattern>
4778 </nationalNumberPattern>
4779 <exampleNumber>1012345678</exampleNumber>
4782 <!-- 170, 176, 177 and 178 prefixes are introduced in early 2014 for 4G networks. -->
4783 <nationalNumberPattern>
4790 </nationalNumberPattern>
4791 <possibleNumberPattern>\d{11}</possibleNumberPattern>
4792 <exampleNumber>13123456789</exampleNumber>
4794 <!-- Toll free, premium rate, and VoIP numbers are not clearly defined in the official Chinese
4795 number plan, and do not seem to have been standardized. The information below is
4796 collected from searching the web. -->
4797 <!-- http://en.wikipedia.org/wiki/Toll-free_telephone_number -->
4799 <nationalNumberPattern>
4803 </nationalNumberPattern>
4804 <possibleNumberPattern>\d{10,12}</possibleNumberPattern>
4805 <exampleNumber>8001234567</exampleNumber>
4808 <nationalNumberPattern>16[08]\d{5}</nationalNumberPattern>
4809 <possibleNumberPattern>\d{8}</possibleNumberPattern>
4810 <exampleNumber>16812345</exampleNumber>
4813 <!-- 96xxx(x) numbers with area codes are included here. Their costs are not well
4814 documented, but they are thought to be mostly local costs with certain exceptions. We
4815 don't support them for 4-digit area codes though, as they don't seem to be used there
4816 based on online searches. -->
4817 <nationalNumberPattern>
4872 </nationalNumberPattern>
4873 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
4874 <exampleNumber>4001234567</exampleNumber>
4879 <!-- Extra international dialling prefixes from http://www.claro.com.co and
4880 http://www.tigo.com.co. -->
4881 <!-- 05 and 005 are for Orbitel: co.orbitel.com -->
4882 <territory id="CO" countryCode="57" internationalPrefix="00(?:4(?:[14]4|56)|[579])"
4883 nationalPrefix="0" nationalPrefixForParsing="0([3579]|4(?:44|56))?"
4884 mobileNumberPortableRegion="true">
4886 <sourceUrl>http://www.itu.int/oth/T020200002C/en</sourceUrl>
4887 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Colombia</sourceUrl>
4890 <numberFormat pattern="(\d)(\d{7})" carrierCodeFormattingRule="$NP$CC $FG"
4891 nationalPrefixFormattingRule="($FG)">
4911 <format>$1 $2</format>
4913 <numberFormat pattern="(\d{3})(\d{7})" carrierCodeFormattingRule="$NP$CC $FG">
4914 <leadingDigits>3</leadingDigits>
4915 <format>$1 $2</format>
4917 <numberFormat pattern="(1)(\d{3})(\d{7})" nationalPrefixFormattingRule="$NP$FG">
4933 <format>$1-$2-$3</format>
4934 <intlFormat>$1 $2 $3</intlFormat>
4938 <nationalNumberPattern>
4943 </nationalNumberPattern>
4944 <possibleNumberPattern>\d{7,11}</possibleNumberPattern>
4947 <nationalNumberPattern>[124-8][2-9]\d{6}</nationalNumberPattern>
4948 <possibleNumberPattern>\d{8}</possibleNumberPattern>
4949 <exampleNumber>12345678</exampleNumber>
4952 <nationalNumberPattern>
4959 </nationalNumberPattern>
4960 <possibleNumberPattern>\d{10}</possibleNumberPattern>
4961 <exampleNumber>3211234567</exampleNumber>
4964 <nationalNumberPattern>1800\d{7}</nationalNumberPattern>
4965 <possibleNumberPattern>\d{11}</possibleNumberPattern>
4966 <exampleNumber>18001234567</exampleNumber>
4969 <nationalNumberPattern>
4974 </nationalNumberPattern>
4975 <possibleNumberPattern>\d{11}</possibleNumberPattern>
4976 <exampleNumber>19001234567</exampleNumber>
4981 <territory id="CR" countryCode="506" internationalPrefix="00"
4982 nationalPrefixForParsing="(19(?:0[012468]|1[09]|20|66|77|99))"
4983 carrierCodeFormattingRule="$CC $FG">
4985 <sourceUrl>http://www.itu.int/oth/T0202000030/en</sourceUrl>
4988 <numberFormat pattern="(\d{4})(\d{4})">
4993 <format>$1 $2</format>
4995 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
4996 <leadingDigits>[89]0</leadingDigits>
4997 <format>$1-$2-$3</format>
5001 <nationalNumberPattern>[24-9]\d{7,9}</nationalNumberPattern>
5002 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
5005 <nationalNumberPattern>2[24-7]\d{6}</nationalNumberPattern>
5006 <possibleNumberPattern>\d{8}</possibleNumberPattern>
5007 <exampleNumber>22123456</exampleNumber>
5010 <nationalNumberPattern>
5021 </nationalNumberPattern>
5022 <possibleNumberPattern>\d{8}</possibleNumberPattern>
5023 <exampleNumber>83123456</exampleNumber>
5026 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
5027 <possibleNumberPattern>\d{10}</possibleNumberPattern>
5028 <exampleNumber>8001234567</exampleNumber>
5031 <!-- Includes "mass calls" numbers with prefix 905. -->
5032 <nationalNumberPattern>90[059]\d{7}</nationalNumberPattern>
5033 <possibleNumberPattern>\d{10}</possibleNumberPattern>
5034 <exampleNumber>9001234567</exampleNumber>
5037 <!-- Including trunking service numbers starting with 5100. 4001 (callmyway.com) was added
5038 from an open-source bug report supported by numbers found online. -->
5039 <nationalNumberPattern>
5062 </nationalNumberPattern>
5063 <possibleNumberPattern>\d{8}</possibleNumberPattern>
5064 <exampleNumber>40001234</exampleNumber>
5069 <territory id="CU" countryCode="53" internationalPrefix="119"
5070 nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)">
5072 <sourceUrl>http://www.itu.int/oth/T0202000033/en</sourceUrl>
5075 <numberFormat pattern="(\d)(\d{6,7})">
5076 <leadingDigits>7</leadingDigits>
5077 <format>$1 $2</format>
5079 <numberFormat pattern="(\d{2})(\d{4,6})">
5080 <leadingDigits>[2-4]</leadingDigits>
5081 <format>$1 $2</format>
5083 <numberFormat pattern="(\d)(\d{7})" nationalPrefixFormattingRule="$NP$FG">
5084 <leadingDigits>5</leadingDigits>
5085 <format>$1 $2</format>
5089 <nationalNumberPattern>[2-57]\d{5,7}</nationalNumberPattern>
5090 <possibleNumberPattern>\d{4,8}</possibleNumberPattern>
5093 <nationalNumberPattern>
5105 </nationalNumberPattern>
5106 <exampleNumber>71234567</exampleNumber>
5109 <nationalNumberPattern>5\d{7}</nationalNumberPattern>
5110 <possibleNumberPattern>\d{8}</possibleNumberPattern>
5111 <exampleNumber>51234567</exampleNumber>
5116 <territory id="CV" countryCode="238" internationalPrefix="0">
5118 <sourceUrl>http://www.itu.int/oth/T0202000026/en</sourceUrl>
5121 <numberFormat pattern="(\d{3})(\d{2})(\d{2})">
5122 <format>$1 $2 $3</format>
5126 <nationalNumberPattern>[259]\d{6}</nationalNumberPattern>
5127 <possibleNumberPattern>\d{7}</possibleNumberPattern>
5130 <nationalNumberPattern>
5140 </nationalNumberPattern>
5141 <exampleNumber>2211234</exampleNumber>
5144 <!-- It seems, contrary to their numbering plan, the entire 9X range is used for mobile
5145 phones. SMS messages has been successfully sent to numbers starting with 95 and 97 for
5146 example, and there are plenty of numbers on the internet that start with these
5148 <nationalNumberPattern>
5153 </nationalNumberPattern>
5154 <exampleNumber>9911234</exampleNumber>
5159 <territory id="CW" countryCode="599" internationalPrefix="00" mainCountryForCode="true">
5161 <sourceUrl>http://www.itu.int/oth/T02020000F5/en</sourceUrl>
5163 <!-- All the formatting patterns for country-code 599 are here. -->
5165 <numberFormat pattern="(\d{3})(\d{4})">
5166 <leadingDigits>[13-7]</leadingDigits>
5167 <format>$1 $2</format>
5169 <numberFormat pattern="(9)(\d{3})(\d{4})">
5170 <leadingDigits>9</leadingDigits>
5171 <format>$1 $2 $3</format>
5175 <nationalNumberPattern>[169]\d{6,7}</nationalNumberPattern>
5176 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
5179 <nationalNumberPattern>
5191 </nationalNumberPattern>
5192 <exampleNumber>94151234</exampleNumber>
5195 <nationalNumberPattern>
5206 </nationalNumberPattern>
5207 <exampleNumber>95181234</exampleNumber>
5210 <nationalNumberPattern>955\d{5}</nationalNumberPattern>
5211 <exampleNumber>95581234</exampleNumber>
5214 <!-- Value-added services are lumped together under shared cost, since we are not sure
5215 exactly what they are. -->
5216 <nationalNumberPattern>
5221 </nationalNumberPattern>
5222 <possibleNumberPattern>\d{7}</possibleNumberPattern>
5223 <exampleNumber>1011234</exampleNumber>
5227 <!-- Christmas Islands -->
5228 <!-- Metadata shared with Australia. -->
5229 <!-- References state Christmas Islands have fixed line numbers starting +61 8 9164. -->
5230 <territory id="CX" countryCode="61" preferredInternationalPrefix="0011"
5231 internationalPrefix="(?:14(?:1[14]|34|4[17]|[56]6|7[47]|88))?001[14-689]"
5234 <sourceUrl>http://en.wikipedia.org/wiki/List_of_country_calling_codes</sourceUrl>
5235 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Australia</sourceUrl>
5237 <!-- Uses AU formatting rules. -->
5238 <!-- General desc and fixed line rules different from Australia. -->
5240 <nationalNumberPattern>[1458]\d{5,9}</nationalNumberPattern>
5241 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
5244 <nationalNumberPattern>89164\d{4}</nationalNumberPattern>
5245 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
5246 <exampleNumber>891641234</exampleNumber>
5248 <!-- Mobile, toll free, premium rate, personal number and VOIP copied from Australia. -->
5250 <nationalNumberPattern>
5265 </nationalNumberPattern>
5266 <possibleNumberPattern>\d{9}</possibleNumberPattern>
5267 <exampleNumber>412345678</exampleNumber>
5270 <nationalNumberPattern>
5279 </nationalNumberPattern>
5280 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
5281 <exampleNumber>1800123456</exampleNumber>
5284 <nationalNumberPattern>190[0126]\d{6}</nationalNumberPattern>
5285 <possibleNumberPattern>\d{10}</possibleNumberPattern>
5286 <exampleNumber>1900123456</exampleNumber>
5289 <nationalNumberPattern>500\d{6}</nationalNumberPattern>
5290 <possibleNumberPattern>\d{9}</possibleNumberPattern>
5291 <exampleNumber>500123456</exampleNumber>
5294 <nationalNumberPattern>550\d{6}</nationalNumberPattern>
5295 <possibleNumberPattern>\d{9}</possibleNumberPattern>
5296 <exampleNumber>550123456</exampleNumber>
5301 <territory id="CY" countryCode="357" internationalPrefix="00" mobileNumberPortableRegion="true">
5303 <sourceUrl>http://www.itu.int/oth/T0202000034/en</sourceUrl>
5306 <!-- Format from http://www.cyprusyellowpages.com -->
5307 <numberFormat pattern="(\d{2})(\d{6})">
5308 <format>$1 $2</format>
5312 <nationalNumberPattern>[257-9]\d{7}</nationalNumberPattern>
5313 <possibleNumberPattern>\d{8}</possibleNumberPattern>
5316 <nationalNumberPattern>2[2-6]\d{6}</nationalNumberPattern>
5317 <exampleNumber>22345678</exampleNumber>
5320 <!-- Includes paging numbers (they are mixed into the same block). -->
5321 <nationalNumberPattern>9[5-79]\d{6}</nationalNumberPattern>
5322 <exampleNumber>96123456</exampleNumber>
5325 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
5326 <exampleNumber>80001234</exampleNumber>
5329 <nationalNumberPattern>90[09]\d{5}</nationalNumberPattern>
5330 <exampleNumber>90012345</exampleNumber>
5333 <nationalNumberPattern>80[1-9]\d{5}</nationalNumberPattern>
5334 <exampleNumber>80112345</exampleNumber>
5337 <nationalNumberPattern>700\d{5}</nationalNumberPattern>
5338 <exampleNumber>70012345</exampleNumber>
5341 <!-- Using for Corporate Network numbers and Universal Service numbers. -->
5342 <nationalNumberPattern>
5347 </nationalNumberPattern>
5348 <exampleNumber>77123456</exampleNumber>
5353 <territory id="CZ" countryCode="420" internationalPrefix="00" mobileNumberPortableRegion="true">
5355 <sourceUrl>http://www.itu.int/oth/T0202000035/en</sourceUrl>
5356 <sourceUrl>http://en.wikipedia.org/wiki/%2B420</sourceUrl>
5359 <numberFormat pattern="([2-9]\d{2})(\d{3})(\d{3})">
5364 <format>$1 $2 $3</format>
5366 <numberFormat pattern="(96\d)(\d{3})(\d{3})(\d{3})">
5367 <leadingDigits>96</leadingDigits>
5368 <format>$1 $2 $3 $4</format>
5370 <numberFormat pattern="(9\d)(\d{3})(\d{3})(\d{3})">
5371 <leadingDigits>9[36]</leadingDigits>
5372 <format>$1 $2 $3 $4</format>
5376 <nationalNumberPattern>
5379 </nationalNumberPattern>
5380 <possibleNumberPattern>\d{9,12}</possibleNumberPattern>
5383 <nationalNumberPattern>
5390 </nationalNumberPattern>
5391 <exampleNumber>212345678</exampleNumber>
5394 <nationalNumberPattern>
5402 </nationalNumberPattern>
5403 <exampleNumber>601123456</exampleNumber>
5406 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
5407 <exampleNumber>800123456</exampleNumber>
5410 <!-- Includes premium rate dial-up. -->
5411 <nationalNumberPattern>
5416 </nationalNumberPattern>
5417 <exampleNumber>900123456</exampleNumber>
5420 <nationalNumberPattern>8[134]\d{7}</nationalNumberPattern>
5421 <exampleNumber>811234567</exampleNumber>
5424 <nationalNumberPattern>70[01]\d{6}</nationalNumberPattern>
5425 <exampleNumber>700123456</exampleNumber>
5428 <nationalNumberPattern>9[17]0\d{6}</nationalNumberPattern>
5429 <exampleNumber>910123456</exampleNumber>
5432 <!-- Numbers belonging to private communication networks are included here. These are
5433 classified as Institutional networks, belonging to institutions like the police, armed
5434 forces and railways, along with a couple of formerly government-owned banks. These
5435 numbers are reachable by the public. -->
5436 <nationalNumberPattern>
5441 </nationalNumberPattern>
5442 <exampleNumber>972123456</exampleNumber>
5445 <nationalNumberPattern>
5450 </nationalNumberPattern>
5451 <possibleNumberPattern>\d{9,12}</possibleNumberPattern>
5452 <exampleNumber>93123456789</exampleNumber>
5457 <territory id="DE" countryCode="49" internationalPrefix="00"
5458 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
5459 mobileNumberPortableRegion="true">
5461 <sourceUrl>http://www.itu.int/oth/T0202000051/en</sourceUrl>
5462 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_germany</sourceUrl>
5465 <!-- Mobile number formatting rules. We follow the ITU document here for guidance on how
5466 these should best be formatted, even though actual usage varies. -->
5467 <numberFormat pattern="(1\d{2})(\d{7,8})">
5468 <leadingDigits>1[67]</leadingDigits>
5469 <format>$1 $2</format>
5471 <numberFormat pattern="(1\d{3})(\d{7})">
5472 <leadingDigits>15</leadingDigits>
5473 <format>$1 $2</format>
5475 <numberFormat pattern="(\d{2})(\d{3,11})">
5481 <format>$1 $2</format>
5483 <!-- The order of the rules on 3-5 digits area code matter as fallback is used here. -->
5484 <!-- 3 digit area codes. -->
5485 <numberFormat pattern="(\d{3})(\d{3,11})">
5504 <format>$1 $2</format>
5506 <!-- 4 digit area codes. -->
5507 <numberFormat pattern="(\d{4})(\d{2,11})">
5592 <format>$1 $2</format>
5594 <!-- 5 digit area codes. -->
5595 <numberFormat pattern="(3\d{4})(\d{1,10})">
5596 <leadingDigits>3</leadingDigits>
5597 <format>$1 $2</format>
5599 <!-- Note: this is getting ridiculous! How can we format these better? -->
5600 <numberFormat pattern="(800)(\d{7,12})">
5601 <leadingDigits>800</leadingDigits>
5602 <format>$1 $2</format>
5604 <!-- Voicemail access numbers for the carrier Blau. -->
5605 <numberFormat pattern="(177)(99)(\d{7,8})">
5606 <leadingDigits>177</leadingDigits>
5607 <leadingDigits>1779</leadingDigits>
5608 <leadingDigits>17799</leadingDigits>
5609 <format>$1 $2 $3</format>
5611 <numberFormat pattern="(\d{3})(\d)(\d{4,10})">
5626 <format>$1 $2 $3</format>
5628 <numberFormat pattern="(1\d{2})(\d{5,11})">
5629 <leadingDigits>181</leadingDigits>
5630 <format>$1 $2</format>
5632 <!-- Where we have seen prefixes in use for the IVPN/User Group numbers, we format it the
5633 way it is generally written. For other prefixes, we fall back to using a three-digit
5634 prefix since we have currently no more information to allow us to format these more
5636 <numberFormat pattern="(18\d{3})(\d{6})">
5637 <leadingDigits>185</leadingDigits>
5638 <leadingDigits>1850</leadingDigits>
5639 <leadingDigits>18500</leadingDigits>
5640 <format>$1 $2</format>
5642 <numberFormat pattern="(18\d{2})(\d{7})">
5643 <leadingDigits>18[68]</leadingDigits>
5644 <format>$1 $2</format>
5646 <numberFormat pattern="(18\d)(\d{8})">
5647 <leadingDigits>18[2-579]</leadingDigits>
5648 <format>$1 $2</format>
5650 <numberFormat pattern="(700)(\d{4})(\d{4})">
5651 <leadingDigits>700</leadingDigits>
5652 <format>$1 $2 $3</format>
5654 <numberFormat pattern="(138)(\d{4})">
5655 <leadingDigits>138</leadingDigits>
5656 <format>$1 $2</format>
5660 <!-- When deciding whether to assume a leading 49 is a country code or not, the number is
5661 examined to see if it is valid with the 49 as part of the number. Due to the variable
5662 length of German numbers, this test is hard to do. The national pattern is hence
5663 stricter for numbers starting with 49, to try and remove the country code if the number
5664 begins with 49 whenever possible. -->
5665 <nationalNumberPattern>
5679 </nationalNumberPattern>
5680 <possibleNumberPattern>\d{2,15}</possibleNumberPattern>
5683 <!-- The numbering plan defines rather optimistic longest-number limits - online numbers
5684 don't seem to respect this. The max-length is hence extended. -->
5685 <nationalNumberPattern>
5712 </nationalNumberPattern>
5713 <exampleNumber>30123456</exampleNumber>
5717 http://www.bundesnetzagentur.de/SharedDocs/Downloads/DE/BNetzA/Sachgebiete/Telekommunikation/Regulierung/Nummernverwaltung/Mobilfunkdienste/NummernplanMobileDienstepdf.pdf?__blob=publicationFile
5718 numbers beginning with 162, 163 and 17 can all be 10 or 11 digits long.
5719 The ranges 15[056] have been removed from the ITU doc, but information found online
5720 indicates that they may still be working.
5722 <nationalNumberPattern>
5731 </nationalNumberPattern>
5732 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
5733 <exampleNumber>15123456789</exampleNumber>
5736 <nationalNumberPattern>
5741 </nationalNumberPattern>
5742 <possibleNumberPattern>\d{4,14}</possibleNumberPattern>
5743 <exampleNumber>16412345</exampleNumber>
5746 <nationalNumberPattern>800\d{7,12}</nationalNumberPattern>
5747 <possibleNumberPattern>\d{10,15}</possibleNumberPattern>
5748 <exampleNumber>8001234567890</exampleNumber>
5751 <!-- Includes the more expensive of the "televoting" line numbers. See the shared cost
5752 section for more information. -->
5753 <nationalNumberPattern>
5759 </nationalNumberPattern>
5760 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
5761 <exampleNumber>9001234567</exampleNumber>
5764 <!-- Includes some mass-traffic numbers, used for e.g. phone voting, raffles, since their
5765 costs when dialling from a fixed-line phone is similar.
5767 http://www.billiger-telefonieren.de/0180-0137-0900-sonderrufnummern/
5769 http://www.bundesnetzagentur.de/SharedDocs/Downloads/DE/Sachgebiete/Telekommunikation/Unternehmen_Institutionen/Nummerierung/Rufnummern/0137/0137_Nummernplan.pdf?__blob=publicationFile&v=2
5771 <nationalNumberPattern>
5779 </nationalNumberPattern>
5780 <possibleNumberPattern>\d{7,14}</possibleNumberPattern>
5781 <exampleNumber>18012345</exampleNumber>
5784 <nationalNumberPattern>700\d{8}</nationalNumberPattern>
5785 <possibleNumberPattern>\d{11}</possibleNumberPattern>
5786 <exampleNumber>70012345678</exampleNumber>
5789 <!-- Using UAN for numbers marked in the plan as being assigned to International Virtual
5790 Private Networks (0181) & User Groups (018[2-9]). These seem in practice to be assigned
5791 to companies. More information here: http://de.wikipedia.org/wiki/Vorwahl_01 -->
5792 <nationalNumberPattern>
5797 </nationalNumberPattern>
5798 <possibleNumberPattern>\d{8,14}</possibleNumberPattern>
5799 <exampleNumber>18500123456</exampleNumber>
5802 <nationalNumberPattern>17799\d{7,8}</nationalNumberPattern>
5803 <possibleNumberPattern>\d{12,13}</possibleNumberPattern>
5804 <exampleNumber>177991234567</exampleNumber>
5809 <territory id="DJ" countryCode="253" internationalPrefix="00">
5811 <sourceUrl>http://www.itu.int/oth/T020200003A/en</sourceUrl>
5814 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
5815 <format>$1 $2 $3 $4</format>
5819 <nationalNumberPattern>[27]\d{7}</nationalNumberPattern>
5820 <possibleNumberPattern>\d{8}</possibleNumberPattern>
5823 <!-- Includes "Numéro long CDMA fixe" numbers. -->
5824 <nationalNumberPattern>
5829 </nationalNumberPattern>
5830 <exampleNumber>21360003</exampleNumber>
5833 <nationalNumberPattern>77[6-8]\d{5}</nationalNumberPattern>
5834 <exampleNumber>77831001</exampleNumber>
5839 <territory id="DK" countryCode="45" internationalPrefix="00" mobileNumberPortableRegion="true">
5841 <sourceUrl>http://www.dba.erhvervsstyrelsen.dk/numbering-lists</sourceUrl>
5844 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
5845 <format>$1 $2 $3 $4</format>
5849 <nationalNumberPattern>[2-9]\d{7}</nationalNumberPattern>
5850 <possibleNumberPattern>\d{8}</possibleNumberPattern>
5852 <!-- Note that "mainly mobile" and "mainly fixed-line" are put under both number types to be
5855 <nationalNumberPattern>
5861 </nationalNumberPattern>
5862 <exampleNumber>32123456</exampleNumber>
5865 <nationalNumberPattern>
5871 </nationalNumberPattern>
5872 <exampleNumber>20123456</exampleNumber>
5875 <nationalNumberPattern>80\d{6}</nationalNumberPattern>
5876 <exampleNumber>80123456</exampleNumber>
5879 <nationalNumberPattern>90\d{6}</nationalNumberPattern>
5880 <exampleNumber>90123456</exampleNumber>
5885 <territory id="DM" countryCode="1" leadingDigits="767" nationalPrefix="1"
5886 internationalPrefix="011">
5888 <sourceUrl>http://www.itu.int/oth/T020200003B/en</sourceUrl>
5891 <!-- NANPA country - uses US formatting rules -->
5892 <nationalNumberPattern>[57-9]\d{9}</nationalNumberPattern>
5893 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
5896 <nationalNumberPattern>
5909 </nationalNumberPattern>
5910 <exampleNumber>7674201234</exampleNumber>
5913 <!-- Adding 61[237], 285 and 295 since online numbers have been found with this prefix. -->
5914 <nationalNumberPattern>
5923 </nationalNumberPattern>
5924 <possibleNumberPattern>\d{10}</possibleNumberPattern>
5925 <exampleNumber>7672251234</exampleNumber>
5928 <nationalNumberPattern>
5937 </nationalNumberPattern>
5938 <possibleNumberPattern>\d{10}</possibleNumberPattern>
5939 <exampleNumber>8002123456</exampleNumber>
5942 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
5943 <possibleNumberPattern>\d{10}</possibleNumberPattern>
5944 <exampleNumber>9002123456</exampleNumber>
5947 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
5948 <nationalNumberPattern>
5956 </nationalNumberPattern>
5957 <possibleNumberPattern>\d{10}</possibleNumberPattern>
5958 <exampleNumber>5002345678</exampleNumber>
5962 <!-- Dominican Rep. -->
5963 <territory id="DO" countryCode="1" leadingDigits="8[024]9" nationalPrefix="1"
5964 internationalPrefix="011" mobileNumberPortableRegion="true">
5966 <sourceUrl>http://www.itu.int/oth/T020200003C/en</sourceUrl>
5969 <!-- NANPA country - uses US formatting rules -->
5970 <nationalNumberPattern>[589]\d{9}</nationalNumberPattern>
5971 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
5974 <!-- The ITU data seems to be somewhat incomplete. We ensure that the fully-specified mobile
5975 prefixes in the document are classified as such by excluding them from the fixed-line
5976 ranges, but other than this have a generic rule. -->
5977 <nationalNumberPattern>
6027 </nationalNumberPattern>
6028 <exampleNumber>8092345678</exampleNumber>
6031 <nationalNumberPattern>8[024]9[2-9]\d{6}</nationalNumberPattern>
6032 <exampleNumber>8092345678</exampleNumber>
6035 <nationalNumberPattern>
6044 </nationalNumberPattern>
6045 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6046 <exampleNumber>8002123456</exampleNumber>
6049 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
6050 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6051 <exampleNumber>9002123456</exampleNumber>
6054 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
6055 <nationalNumberPattern>
6063 </nationalNumberPattern>
6064 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6065 <exampleNumber>5002345678</exampleNumber>
6070 <territory id="DZ" countryCode="213" internationalPrefix="00"
6071 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
6073 <sourceUrl>http://www.itu.int/oth/T0202000003/en</sourceUrl>
6074 <sourceUrl>http://www.arpt.dz</sourceUrl>
6077 <!-- Formatting from http://www.pagesjaunes-dz.com. -->
6078 <numberFormat pattern="([1-4]\d)(\d{2})(\d{2})(\d{2})">
6079 <leadingDigits>[1-4]</leadingDigits>
6080 <format>$1 $2 $3 $4</format>
6082 <numberFormat pattern="([5-8]\d{2})(\d{2})(\d{2})(\d{2})">
6083 <leadingDigits>[5-8]</leadingDigits>
6084 <format>$1 $2 $3 $4</format>
6086 <numberFormat pattern="(9\d)(\d{3})(\d{2})(\d{2})">
6087 <leadingDigits>9</leadingDigits>
6088 <format>$1 $2 $3 $4</format>
6092 <nationalNumberPattern>
6097 </nationalNumberPattern>
6098 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
6101 <!-- We include the VSAT lines here. -->
6102 <nationalNumberPattern>
6110 </nationalNumberPattern>
6111 <exampleNumber>12345678</exampleNumber>
6114 <!-- Adding 65 and 78 from numbers found online. Also, prefix 670 is added since the carrier
6115 Mobilis Algeria provided it, and 54 for Nedjma. Prefixes 67[1-4] were also added for
6116 Mobilis Algeria based on evidence found online. -->
6117 <nationalNumberPattern>
6126 </nationalNumberPattern>
6127 <possibleNumberPattern>\d{9}</possibleNumberPattern>
6128 <exampleNumber>551234567</exampleNumber>
6131 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
6132 <possibleNumberPattern>\d{9}</possibleNumberPattern>
6133 <exampleNumber>800123456</exampleNumber>
6136 <nationalNumberPattern>80[3-689]1\d{5}</nationalNumberPattern>
6137 <possibleNumberPattern>\d{9}</possibleNumberPattern>
6138 <exampleNumber>808123456</exampleNumber>
6140 <!-- The Algerian plan doesn't specify where the costs start to be considered "premium", so we
6141 draw an arbitrary line here and say that from 50 Da up they will be considered premium.
6144 <nationalNumberPattern>80[12]1\d{5}</nationalNumberPattern>
6145 <possibleNumberPattern>\d{9}</possibleNumberPattern>
6146 <exampleNumber>801123456</exampleNumber>
6149 <nationalNumberPattern>98[23]\d{6}</nationalNumberPattern>
6150 <possibleNumberPattern>\d{9}</possibleNumberPattern>
6151 <exampleNumber>983123456</exampleNumber>
6156 <territory id="EC" countryCode="593" internationalPrefix="00"
6157 nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)"
6158 mobileNumberPortableRegion="true">
6160 <sourceUrl>http://en.wikipedia.org/wiki/+593</sourceUrl>
6161 <sourceUrl>http://www.conatel.gob.ec/site_conatel/index.php?option=com_content&view=category&layout=blog&id=52&Itemid=153</sourceUrl>
6162 <sourceUrl>http://www.itu.int/oth/T020200003D/en</sourceUrl>
6165 <numberFormat pattern="(\d)(\d{3})(\d{4})">
6170 <format>$1 $2-$3</format>
6171 <intlFormat>$1-$2-$3</intlFormat>
6173 <!-- Formatting for the new longer mobile numbers comes from the advertisements about the
6174 change on the http://www.conatel.gob.ec site. -->
6175 <numberFormat pattern="(\d{2})(\d{3})(\d{4})" nationalPrefixFormattingRule="$NP$FG">
6176 <leadingDigits>9</leadingDigits>
6177 <format>$1 $2 $3</format>
6179 <numberFormat pattern="(1800)(\d{3})(\d{3,4})" nationalPrefixFormattingRule="$FG">
6180 <leadingDigits>1</leadingDigits>
6181 <format>$1 $2 $3</format>
6185 <nationalNumberPattern>
6189 </nationalNumberPattern>
6190 <possibleNumberPattern>\d{7,11}</possibleNumberPattern>
6193 <nationalNumberPattern>[2-7][2-7]\d{6}</nationalNumberPattern>
6194 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
6195 <exampleNumber>22123456</exampleNumber>
6198 <nationalNumberPattern>
6205 </nationalNumberPattern>
6206 <possibleNumberPattern>\d{9}</possibleNumberPattern>
6207 <exampleNumber>991234567</exampleNumber>
6210 <nationalNumberPattern>1800\d{6,7}</nationalNumberPattern>
6211 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
6212 <exampleNumber>18001234567</exampleNumber>
6215 <nationalNumberPattern>[2-7]890\d{4}</nationalNumberPattern>
6216 <possibleNumberPattern>\d{8}</possibleNumberPattern>
6217 <exampleNumber>28901234</exampleNumber>
6222 <territory id="EE" countryCode="372" internationalPrefix="00" mobileNumberPortableRegion="true">
6224 <sourceUrl>http://www.itu.int/oth/T0202000043/en</sourceUrl>
6225 <sourceUrl>http://www.tja.ee/public/Legislation_side/Numbering_/Estonian_NP_eng.htm</sourceUrl>
6228 <numberFormat pattern="([3-79]\d{2})(\d{4})">
6256 <format>$1 $2</format>
6258 <numberFormat pattern="(70)(\d{2})(\d{4})">
6259 <leadingDigits>70</leadingDigits>
6260 <format>$1 $2 $3</format>
6262 <numberFormat pattern="(8000)(\d{3})(\d{3})">
6263 <leadingDigits>800</leadingDigits>
6264 <leadingDigits>8000</leadingDigits>
6265 <format>$1 $2 $3</format>
6267 <numberFormat pattern="([458]\d{3})(\d{3,4})">
6284 <format>$1 $2</format>
6288 <nationalNumberPattern>
6292 </nationalNumberPattern>
6293 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
6295 <noInternationalDialling>
6296 <nationalNumberPattern>
6299 </nationalNumberPattern>
6300 <possibleNumberPattern>\d{4,7}</possibleNumberPattern>
6301 <exampleNumber>8002123</exampleNumber>
6302 </noInternationalDialling>
6304 <nationalNumberPattern>
6312 </nationalNumberPattern>
6313 <possibleNumberPattern>\d{7}</possibleNumberPattern>
6314 <exampleNumber>3212345</exampleNumber>
6317 <!-- 7 digit mobile numbers currently in use with special prefixes are preserved - new
6318 numbers are 8 digits. -->
6319 <nationalNumberPattern>
6334 </nationalNumberPattern>
6335 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
6336 <exampleNumber>51234567</exampleNumber>
6339 <nationalNumberPattern>
6345 </nationalNumberPattern>
6346 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
6347 <exampleNumber>80012345</exampleNumber>
6350 <!-- Supporting eFax numbers here as well. We aren't sure the exact cost, but have
6351 had user reports that they are expensive to dial. -->
6352 <nationalNumberPattern>
6357 </nationalNumberPattern>
6358 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
6359 <exampleNumber>9001234</exampleNumber>
6362 <nationalNumberPattern>70[0-2]\d{5}</nationalNumberPattern>
6363 <possibleNumberPattern>\d{8}</possibleNumberPattern>
6364 <exampleNumber>70012345</exampleNumber>
6367 <!-- All 4-5 digit numbers listed in the plan as being a "short number for a service" are
6369 <nationalNumberPattern>
6380 </nationalNumberPattern>
6381 <possibleNumberPattern>\d{4,5}</possibleNumberPattern>
6382 <exampleNumber>12123</exampleNumber>
6387 <territory id="EG" countryCode="20" internationalPrefix="00"
6388 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
6389 mobileNumberPortableRegion="true">
6391 <sourceUrl>http://www.itu.int/oth/T020200003E/en</sourceUrl>
6394 <!-- Note that no explicit formatting rule is here for 5-digit numbers starting with a 16
6395 or 19. These are formatted without national prefix, as a block, so do not need to be
6397 <numberFormat pattern="(\d)(\d{7,8})">
6398 <leadingDigits>[23]</leadingDigits>
6399 <format>$1 $2</format>
6401 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
6406 <format>$1 $2 $3</format>
6408 <numberFormat pattern="(\d{2})(\d{6,7})">
6414 <format>$1 $2</format>
6418 <nationalNumberPattern>
6423 </nationalNumberPattern>
6424 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
6427 <!-- Short numbers used for businesses (starting with 16 or 19) are covered here. Note also
6428 that the plan says numbers starting with 15 should be followed by seven digit
6429 subscriber numbers, but some numbers we have found online are in fact six digit.
6430 Subscriber numbers starting with 5 are also permitted for the area codes 040, with 5, 6
6431 and 7 for the area code 050, with 5 and 7 for 082, with 6 for 084, with 7 for 086 and
6432 092 and with 5 and 6 for 96. -->
6433 <nationalNumberPattern>
6469 </nationalNumberPattern>
6470 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
6471 <exampleNumber>234567890</exampleNumber>
6474 <!-- Adding the extra prefixes 102 and 121 from user reports that Vodafone and Mobinil have
6475 started allocating numbers beginning with these prefixes, along with 115 from numbers
6476 found online. Etisalat is using 110. -->
6477 <nationalNumberPattern>
6483 </nationalNumberPattern>
6484 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6485 <exampleNumber>1001234567</exampleNumber>
6488 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
6489 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6490 <exampleNumber>8001234567</exampleNumber>
6493 <nationalNumberPattern>900\d{7}</nationalNumberPattern>
6494 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6495 <exampleNumber>9001234567</exampleNumber>
6499 <!-- Western Sahara -->
6500 <!-- Country calling code shared with Morocco (MA). -->
6501 <!-- Two area codes are defined in the Morocco ITU document; 05288 XXXXX and 05289 XXXXX -->
6502 <territory id="EH" countryCode="212" leadingDigits="528[89]" internationalPrefix="00"
6503 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
6505 <sourceUrl>http://www.itu.int/oth/T0202000090/en</sourceUrl>
6507 <!-- Uses MA formatting rules and shares general description
6508 (non-geographical numbers for Morocco are still valid). -->
6510 <nationalNumberPattern>[5689]\d{8}</nationalNumberPattern>
6511 <!-- Closed numbering plan. -->
6512 <possibleNumberPattern>\d{9}</possibleNumberPattern>
6515 <nationalNumberPattern>528[89]\d{5}</nationalNumberPattern>
6516 <exampleNumber>528812345</exampleNumber>
6518 <!-- The following sections are copied verbatim from Morocco to allow these non-geographical
6519 numbers to be recognized as available from within Western Sahara. -->
6521 <nationalNumberPattern>
6528 </nationalNumberPattern>
6529 <exampleNumber>650123456</exampleNumber>
6532 <nationalNumberPattern>80\d{7}</nationalNumberPattern>
6533 <exampleNumber>801234567</exampleNumber>
6536 <nationalNumberPattern>89\d{7}</nationalNumberPattern>
6537 <exampleNumber>891234567</exampleNumber>
6542 <territory id="ER" countryCode="291" internationalPrefix="00"
6543 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
6545 <sourceUrl>http://www.itu.int/oth/T0202000042/en</sourceUrl>
6548 <numberFormat pattern="(\d)(\d{3})(\d{3})">
6549 <format>$1 $2 $3</format>
6553 <nationalNumberPattern>[178]\d{6}</nationalNumberPattern>
6554 <possibleNumberPattern>\d{6,7}</possibleNumberPattern>
6557 <nationalNumberPattern>
6566 </nationalNumberPattern>
6567 <exampleNumber>8370362</exampleNumber><!-- Test number from plan. -->
6570 <!-- It is unclear in the plan whether the 07 mobile prefix superseded the previous 017[1-3]
6571 numbers or was in addition to them, so we support both here. -->
6572 <nationalNumberPattern>
6575 </nationalNumberPattern>
6576 <possibleNumberPattern>\d{7}</possibleNumberPattern>
6577 <exampleNumber>7123456</exampleNumber>
6582 <territory id="ES" countryCode="34" internationalPrefix="00" mobileNumberPortableRegion="true">
6584 <sourceUrl>http://www.mityc.es/telecomunicaciones/es-ES/Servicios/Numeracion/Paginas/Plan.aspx</sourceUrl>
6587 <numberFormat pattern="([5-9]\d{2})(\d{2})(\d{2})(\d{2})">
6592 <format>$1 $2 $3 $4</format>
6596 <nationalNumberPattern>[5-9]\d{8}</nationalNumberPattern>
6597 <possibleNumberPattern>\d{9}</possibleNumberPattern>
6599 <!-- The pattern is complex because the Lleida Networks mobile ranges are inside the
6600 fixed-line ranges. -->
6602 <nationalNumberPattern>
6636 </nationalNumberPattern>
6637 <exampleNumber>810123456</exampleNumber>
6639 <!-- The ranges 969060900 to 969061099 and 973900000 to 973909999 are mobile according to
6640 information received from Lleida Networks. -->
6642 <nationalNumberPattern>
6654 </nationalNumberPattern>
6655 <exampleNumber>612345678</exampleNumber>
6658 <nationalNumberPattern>[89]00\d{6}</nationalNumberPattern>
6659 <exampleNumber>800123456</exampleNumber>
6662 <nationalNumberPattern>80[367]\d{6}</nationalNumberPattern>
6663 <exampleNumber>803123456</exampleNumber>
6666 <nationalNumberPattern>90[12]\d{6}</nationalNumberPattern>
6667 <exampleNumber>901123456</exampleNumber>
6670 <nationalNumberPattern>70\d{7}</nationalNumberPattern>
6671 <exampleNumber>701234567</exampleNumber>
6673 <!-- Modelling non-geographic nomadic numbers as UAN. -->
6675 <nationalNumberPattern>51\d{7}</nationalNumberPattern>
6676 <exampleNumber>511234567</exampleNumber>
6681 <territory id="ET" countryCode="251" internationalPrefix="00"
6682 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
6684 <sourceUrl>http://www.itu.int/oth/T0202000044/en</sourceUrl>
6687 <numberFormat pattern="([1-59]\d)(\d{3})(\d{4})">
6688 <format>$1 $2 $3</format>
6692 <nationalNumberPattern>[1-59]\d{8}</nationalNumberPattern>
6693 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
6696 <nationalNumberPattern>
6811 </nationalNumberPattern>
6812 <exampleNumber>111112345</exampleNumber>
6815 <!-- The data here is not regularly updated by the Ethiopian authorities, and many more
6816 numbers are visible online than are reported in the ITU document. This pattern is
6817 therefore somewhat more relaxed than in the ITU document. According to the ETC, the
6818 prefix 93 is assigned to Addis Ababa Mobile and 95[89] to some CDMA providers. -->
6819 <nationalNumberPattern>
6824 </nationalNumberPattern>
6825 <possibleNumberPattern>\d{9}</possibleNumberPattern>
6826 <exampleNumber>911234567</exampleNumber>
6831 <!-- Metadata shared with Ã…land (AX) -->
6832 <territory id="FI" countryCode="358" internationalPrefix="00|99[049]" nationalPrefix="0"
6833 nationalPrefixFormattingRule="$NP$FG" mainCountryForCode="true"
6834 mobileNumberPortableRegion="true">
6836 <sourceUrl>http://www.ficora.fi/en/index/palvelut/palvelutaiheittain/numerointi/numerotyypitjaalueet.html</sourceUrl>
6839 <numberFormat pattern="(\d{3})(\d{3,7})">
6846 <format>$1 $2</format>
6848 <numberFormat pattern="(\d{2})(\d{4,10})">
6855 <format>$1 $2</format>
6857 <numberFormat pattern="(\d)(\d{4,11})">
6862 <format>$1 $2</format>
6866 <nationalNumberPattern>
6869 </nationalNumberPattern>
6870 <possibleNumberPattern>\d{5,12}</possibleNumberPattern>
6872 <noInternationalDialling>
6873 <!-- According to the national numbering plan, service numbers are in general not accessible
6874 from abroad, although 600/700/800 numbers may be. -->
6875 <nationalNumberPattern>
6893 </nationalNumberPattern>
6894 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
6895 <exampleNumber>100123</exampleNumber>
6896 </noInternationalDialling>
6898 <!-- This is limited to geographic numbers - non-geographic nationwide subscriber numbers
6899 are listed under UAN. It also excludes Ã…land numbers. -->
6900 <nationalNumberPattern>
6911 </nationalNumberPattern>
6912 <exampleNumber>1312345678</exampleNumber>
6915 <nationalNumberPattern>
6918 </nationalNumberPattern>
6919 <possibleNumberPattern>\d{6,11}</possibleNumberPattern>
6920 <exampleNumber>412345678</exampleNumber>
6923 <nationalNumberPattern>800\d{4,7}</nationalNumberPattern>
6924 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
6925 <exampleNumber>8001234567</exampleNumber>
6928 <nationalNumberPattern>[67]00\d{5,6}</nationalNumberPattern>
6929 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
6930 <exampleNumber>600123456</exampleNumber>
6933 <!-- Covers nationwide non-geographic numbers, and nationwide "service numbers", typically
6934 assigned to institutions such as universities, the national post, etc, where they are
6935 not otherwise classified as toll-free or premium-rate numbers. -->
6936 <nationalNumberPattern>
6954 </nationalNumberPattern>
6955 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
6956 <exampleNumber>10112345</exampleNumber>
6961 <territory id="FJ" countryCode="679" internationalPrefix="0(?:0|52)"
6962 preferredInternationalPrefix="00" leadingZeroPossible="true">
6964 <sourceUrl>http://www.itu.int/oth/T0202000048/en</sourceUrl>
6965 <sourceUrl>http://www.tfl.com.fj</sourceUrl>
6968 <numberFormat pattern="(\d{3})(\d{4})">
6969 <leadingDigits>[36-9]</leadingDigits>
6970 <format>$1 $2</format>
6972 <numberFormat pattern="(\d{4})(\d{3})(\d{4})">
6973 <leadingDigits>0</leadingDigits>
6974 <format>$1 $2 $3</format>
6978 <nationalNumberPattern>
6981 </nationalNumberPattern>
6982 <possibleNumberPattern>\d{7}(?:\d{4})?</possibleNumberPattern>
6985 <!-- Adding the prefixes 30X, 31X and 62X, since numbers with these prefixes have been found
6986 online, including in the white pages. 35X and 85X were found in the exchanges listed on
6987 http://www.tfl.com.fj. -->
6988 <nationalNumberPattern>
6994 </nationalNumberPattern>
6995 <possibleNumberPattern>\d{7}</possibleNumberPattern>
6996 <exampleNumber>3212345</exampleNumber>
6999 <!-- Adding 7[5-8], 8[03679], and 9[034678] from numbers found online and numbers where SMSs
7000 have been received from. Adding 9[15] and 84 from Vodafone Fiji IR21. -->
7001 <nationalNumberPattern>
7007 </nationalNumberPattern>
7008 <possibleNumberPattern>\d{7}</possibleNumberPattern>
7009 <exampleNumber>7012345</exampleNumber>
7012 <!-- Information found on http://www.tfl.com.fj. It is not clear if these are
7013 internationally diallable, or if so, how. -->
7014 <nationalNumberPattern>0800\d{7}</nationalNumberPattern>
7015 <possibleNumberPattern>\d{11}</possibleNumberPattern>
7016 <exampleNumber>08001234567</exampleNumber>
7020 <!-- Falkland Islands (Malvinas) -->
7021 <territory id="FK" countryCode="500" internationalPrefix="00">
7023 <sourceUrl>http://www.itu.int/oth/T0202000046/en</sourceUrl>
7025 <!-- All numbers are formatted together, as a block. -->
7027 <nationalNumberPattern>[2-7]\d{4}</nationalNumberPattern>
7028 <possibleNumberPattern>\d{5}</possibleNumberPattern>
7031 <nationalNumberPattern>[2-47]\d{4}</nationalNumberPattern>
7032 <exampleNumber>31234</exampleNumber>
7035 <nationalNumberPattern>[56]\d{4}</nationalNumberPattern>
7036 <exampleNumber>51234</exampleNumber>
7040 <!-- Micronesia, Federated States of -->
7041 <territory id="FM" countryCode="691" internationalPrefix="00">
7043 <sourceUrl>http://www.itu.int/oth/T020200008B/en</sourceUrl>
7046 <numberFormat pattern="(\d{3})(\d{4})">
7047 <format>$1 $2</format>
7051 <nationalNumberPattern>[39]\d{6}</nationalNumberPattern>
7052 <possibleNumberPattern>\d{7}</possibleNumberPattern>
7055 <nationalNumberPattern>
7058 </nationalNumberPattern>
7059 <exampleNumber>3201234</exampleNumber>
7062 <!-- Note that most ranges are used for both fixed and mobile but numbers starting with 970
7063 are exclusively mobile. -->
7064 <nationalNumberPattern>
7067 </nationalNumberPattern>
7068 <exampleNumber>3501234</exampleNumber>
7072 <!-- Faroe Islands -->
7073 <territory id="FO" countryCode="298" internationalPrefix="00"
7074 nationalPrefixForParsing="(10(?:01|[12]0|88))"
7075 carrierCodeFormattingRule="$CC $FG">
7077 <sourceUrl>http://www.itu.int/oth/T0202000047/en</sourceUrl>
7079 <!-- All numbers are formatted together, as a block. -->
7081 <numberFormat pattern="(\d{6})">
7086 <nationalNumberPattern>[2-9]\d{5}</nationalNumberPattern>
7087 <possibleNumberPattern>\d{6}</possibleNumberPattern>
7090 <nationalNumberPattern>
7096 </nationalNumberPattern>
7097 <exampleNumber>201234</exampleNumber>
7100 <nationalNumberPattern>
7106 </nationalNumberPattern>
7107 <exampleNumber>211234</exampleNumber>
7110 <nationalNumberPattern>80[257-9]\d{3}</nationalNumberPattern>
7111 <exampleNumber>802123</exampleNumber>
7114 <nationalNumberPattern>
7120 </nationalNumberPattern>
7121 <exampleNumber>901123</exampleNumber>
7124 <nationalNumberPattern>
7129 </nationalNumberPattern>
7130 <exampleNumber>601234</exampleNumber>
7135 <territory id="FR" countryCode="33" internationalPrefix="00" nationalPrefix="0"
7136 nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
7138 <sourceUrl>http://www.itu.int/oth/T020200004A/en</sourceUrl>
7139 <sourceUrl>http://www.arcep.fr/index.php?id=8146</sourceUrl>
7140 <sourceUrl>http://en.wikipedia.org/wiki/%2B33</sourceUrl>
7142 <!-- Short numbers will be formatted as a block without a national prefix. -->
7144 <numberFormat pattern="([1-79])(\d{2})(\d{2})(\d{2})(\d{2})">
7145 <leadingDigits>[1-79]</leadingDigits>
7146 <format>$1 $2 $3 $4 $5</format>
7148 <numberFormat pattern="(1\d{2})(\d{3})" nationalPrefixFormattingRule="$FG">
7149 <leadingDigits>11</leadingDigits>
7150 <format>$1 $2</format>
7151 <intlFormat>NA</intlFormat>
7153 <numberFormat nationalPrefixFormattingRule="$NP $FG"
7154 pattern="(8\d{2})(\d{2})(\d{2})(\d{2})">
7155 <leadingDigits>8</leadingDigits>
7156 <format>$1 $2 $3 $4</format>
7160 <nationalNumberPattern>[1-9]\d{8}</nationalNumberPattern>
7161 <possibleNumberPattern>\d{9}</possibleNumberPattern>
7164 <nationalNumberPattern>[1-5]\d{8}</nationalNumberPattern>
7165 <exampleNumber>123456789</exampleNumber>
7168 <nationalNumberPattern>
7171 </nationalNumberPattern>
7172 <exampleNumber>612345678</exampleNumber>
7175 <nationalNumberPattern>80\d{7}</nationalNumberPattern>
7176 <exampleNumber>801234567</exampleNumber>
7179 <nationalNumberPattern>89[1-37-9]\d{6}</nationalNumberPattern>
7180 <exampleNumber>891123456</exampleNumber>
7183 <nationalNumberPattern>
7190 </nationalNumberPattern>
7191 <exampleNumber>810123456</exampleNumber>
7194 <!-- 087 numbers used to be used for this. -->
7195 <nationalNumberPattern>9\d{8}</nationalNumberPattern>
7196 <exampleNumber>912345678</exampleNumber>
7201 <!-- Note: We cannot set nationalPrefix="0" while fixed line numbers can start with a zero
7202 as this breaks parsing (it treats all leading zeros as national prefixes. -->
7203 <territory id="GA" countryCode="241" internationalPrefix="00" leadingZeroPossible="true" >
7205 <sourceUrl>http://www.itu.int/oth/T020200004E/en</sourceUrl>
7206 <sourceUrl>http://www.arcep.ga</sourceUrl>
7209 <!-- If no leading zero was supplied, format with the national prefix. -->
7210 <numberFormat pattern="(\d)(\d{2})(\d{2})(\d{2})" nationalPrefixFormattingRule="0$FG">
7211 <leadingDigits>[2-7]</leadingDigits>
7212 <format>$1 $2 $3 $4</format>
7214 <!-- This already has a leading zero so we format is "as is". -->
7215 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
7216 <leadingDigits>0</leadingDigits>
7217 <format>$1 $2 $3 $4</format>
7221 <nationalNumberPattern>0?\d{7}</nationalNumberPattern>
7222 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
7224 <!-- A 7-digit fixed-line plan was scheduled to be implemented on June 17, 2012 to unify fixed
7225 line and mobile numbering. However, this has only partially happened; mobile numbers can
7226 now be dialed without a leading zero, but fixed line numbers still require it. Their own
7227 website still lists fixed line numbers as "+241 01 44 68 11" and upon ringing they will
7228 not connect from outside the country without the 0. This was last tested March 2014. -->
7230 <nationalNumberPattern>01\d{6}</nationalNumberPattern>
7231 <possibleNumberPattern>\d{8}</possibleNumberPattern>
7232 <exampleNumber>01441234</exampleNumber>
7235 <!-- Mobile numbers can be 7 or 8 digits (with or without a leading zero). -->
7236 <nationalNumberPattern>0?[2-7]\d{6}</nationalNumberPattern>
7237 <exampleNumber>06031234</exampleNumber>
7241 <!-- United Kingdom -->
7242 <!-- Note that this excludes Isle of Man, Jersey and Guernsey prefixes for the purposes of
7243 validation, although the formatting rules are shared. -->
7244 <territory id="GB" countryCode="44" internationalPrefix="00"
7245 nationalPrefix="0" preferredExtnPrefix=" x" nationalPrefixFormattingRule="$NP$FG"
7246 mainCountryForCode="true" mobileNumberPortableRegion="true">
7248 <sourceUrl>http://stakeholders.ofcom.org.uk/telecoms/numbering/</sourceUrl>
7249 <sourceUrl>http://en.wikipedia.org/wiki/List_of_United_Kingdom_dialling_codes</sourceUrl>
7250 <sourceUrl>http://www.numberingplans.com/?page=dialling&sub=areacodes&ac=GB</sourceUrl>
7253 <!-- 2d, 55, 56, 70 and 76 pager numbers (excludes 7624) with 10 digits. -->
7254 <numberFormat pattern="(\d{2})(\d{4})(\d{4})">
7274 <format>$1 $2 $3</format>
7276 <!-- 11d, 1d1, 3dd, 9dd with 10 digits. -->
7277 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
7286 <format>$1 $2 $3</format>
7288 <!-- 1dddd with 9 or 10 digits.
7289 These area codes are very rare in GB, and are only available in the following places:
7290 13873(Langholm), 15242(Hornby), 15394(Hawkshead), 15395(Grange-over-Sands),
7291 15396(Sedbergh), 16973(Wigton), 16974(Raughton Head), 16977(Brampton),
7292 17683(Appleby), 17684(Pooley Bridge), 17687(Keswick), 19467(Gosforth). -->
7293 <numberFormat pattern="(\d{5})(\d{4,5})">
7327 <format>$1 $2</format>
7329 <!-- 1ddd with 9 or 10 digits. -->
7330 <numberFormat pattern="(1\d{3})(\d{5,6})">
7331 <leadingDigits>1</leadingDigits>
7332 <format>$1 $2</format>
7334 <!-- 7ddd (not 70, 76) with 10 digits. Note: DOES include 7624 when used for IM. -->
7335 <numberFormat pattern="(7\d{3})(\d{6})">
7348 <format>$1 $2</format>
7350 <!-- 800 1111 : UK ChildLine. -->
7351 <numberFormat pattern="(800)(\d{4})">
7352 <leadingDigits>800</leadingDigits>
7353 <leadingDigits>8001</leadingDigits>
7354 <leadingDigits>80011</leadingDigits>
7355 <leadingDigits>800111</leadingDigits>
7356 <leadingDigits>8001111</leadingDigits>
7357 <format>$1 $2</format>
7359 <!-- 845 46 47 : UK NHS Direct. -->
7360 <numberFormat pattern="(845)(46)(4\d)">
7361 <leadingDigits>845</leadingDigits>
7362 <leadingDigits>8454</leadingDigits>
7363 <leadingDigits>84546</leadingDigits>
7364 <leadingDigits>845464</leadingDigits>
7365 <format>$1 $2 $3</format>
7367 <!-- 84d, 87d with 10 digits. -->
7368 <numberFormat pattern="(8\d{2})(\d{3})(\d{4})">
7375 <format>$1 $2 $3</format>
7377 <!-- 80d (including 800) with 10 digits. -->
7378 <numberFormat pattern="(80\d)(\d{3})(\d{4})">
7379 <leadingDigits>80</leadingDigits>
7380 <format>$1 $2 $3</format>
7382 <!-- 500, 800 with 9 digits. -->
7383 <numberFormat pattern="([58]00)(\d{6})">
7384 <leadingDigits>[58]00</leadingDigits>
7385 <format>$1 $2</format>
7389 <nationalNumberPattern>\d{7,10}</nationalNumberPattern>
7390 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
7393 <!-- These are a subset of the fixed-line rules, with digits 2-9 as the leading digit of the
7394 subscriber number. There are patterns for 2+8, 3+7 and a combined pattern for all
7395 4+6/4+5 and 5+5/5+4 numbers. Note that numbers matching this pattern are not
7396 necessarily valid numbers. -->
7397 <nationalNumberPattern>
7404 [248][02-9]\d[2-9]\d{4,5}|
7457 </nationalNumberPattern>
7458 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
7459 <exampleNumber>1332456789</exampleNumber>
7462 <!-- http://en.wikipedia.org/wiki/List_of_United_Kingdom_dialling_codes -->
7463 <!-- Pattern matches geographic NSN=10 numbers as follows:
7464 - area code and local number first digit for 2+8,
7465 - area code and local number first digit for 3+7,
7466 - area code only for 4+6 (including areas with embedded 5+5).
7467 Pattern matches geographic NSN=9 numbers as follows:
7468 - area code and local number first two digits for 4+5,
7469 - area code and local number first three digits for 4+5 special case (01768) 88Ddd,
7470 - area code and local number first digit for 5+4 special case (016977) Dddd.
7471 All patterns exclude ranges used in GG, IM, JE. -->
7472 <nationalNumberPattern>
7703 176888[234678]\d{2}|
7705 </nationalNumberPattern>
7706 <exampleNumber>1212345678</exampleNumber>
7709 <!-- http://stakeholders.ofcom.org.uk/telecoms/numbering/telephone-no-availability/numbers-administered/
7710 7100-7599, 7700-7999 with 10 digits; excluding ranges used in GG, IM, JE. -->
7711 <nationalNumberPattern>
7736 </nationalNumberPattern>
7737 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7738 <exampleNumber>7400123456</exampleNumber>
7741 <!-- 76 with 10 digits; excluding ranges used in IM. -->
7742 <nationalNumberPattern>
7753 </nationalNumberPattern>
7754 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7755 <exampleNumber>7640123456</exampleNumber>
7757 <!-- Source for non geographic numbers:
7758 http://en.wikipedia.org/wiki/Non-geographic_telephone_numbers_in_the_United_Kingdom -->
7760 <!-- 800 1111 with 7 digits, 800 with 9 or 10 digits, 808 with 10 digits, 500 with 9 digits.
7762 <nationalNumberPattern>
7771 </nationalNumberPattern>
7772 <possibleNumberPattern>\d{7}(?:\d{2,3})?</possibleNumberPattern>
7773 <exampleNumber>8001234567</exampleNumber>
7776 <!-- 871, 872, 873 with 10 digits are now Controlled Premium Rate Services, so are listed
7777 here as well as 900-909, 910-919, 982-984, 989 with 10 digits.
7778 Note that only 908, 909, 980-989 are reserved for "adult services" while 900-907 and
7779 910-919 are reserved for standard premium rate services. -->
7780 <nationalNumberPattern>
7788 </nationalNumberPattern>
7789 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7790 <exampleNumber>9012345678</exampleNumber>
7793 <!-- Using shared cost to deal with the various revenue sharing number prefixes in the
7794 United Kingdom: 845 46 47 with 7 digits, 842-845, 870 with 10 digits. -->
7795 <nationalNumberPattern>
7803 </nationalNumberPattern>
7804 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
7805 <exampleNumber>8431234567</exampleNumber>
7808 <!-- 70 with 10 digits. -->
7809 <nationalNumberPattern>70\d{8}</nationalNumberPattern>
7810 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7811 <exampleNumber>7012345678</exampleNumber>
7814 <!-- 56 with 10 digits. -->
7815 <nationalNumberPattern>56\d{8}</nationalNumberPattern>
7816 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7817 <exampleNumber>5612345678</exampleNumber>
7820 <!-- 30d, 33d, 34d, 37d, 55 with 10 digits. -->
7821 <nationalNumberPattern>
7826 </nationalNumberPattern>
7827 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7828 <exampleNumber>5512345678</exampleNumber>
7833 <territory id="GD" countryCode="1" leadingDigits="473" nationalPrefix="1"
7834 internationalPrefix="011">
7836 <sourceUrl>http://www.itu.int/oth/T0202000057/en</sourceUrl>
7839 <!-- NANPA country - uses US formatting rules -->
7840 <nationalNumberPattern>[4589]\d{9}</nationalNumberPattern>
7841 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
7844 <nationalNumberPattern>
7871 </nationalNumberPattern>
7872 <exampleNumber>4732691234</exampleNumber>
7875 <nationalNumberPattern>
7889 </nationalNumberPattern>
7890 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7891 <exampleNumber>4734031234</exampleNumber>
7894 <nationalNumberPattern>
7903 </nationalNumberPattern>
7904 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7905 <exampleNumber>8002123456</exampleNumber>
7908 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
7909 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7910 <exampleNumber>9002123456</exampleNumber>
7913 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
7914 <nationalNumberPattern>
7922 </nationalNumberPattern>
7923 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7924 <exampleNumber>5002345678</exampleNumber>
7929 <territory id="GE" countryCode="995" internationalPrefix="00" nationalPrefix="0"
7930 mobileNumberPortableRegion="true">
7932 <sourceUrl>http://www.itu.int/oth/T0202000050/en</sourceUrl>
7933 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Georgia_(country)</sourceUrl>
7936 <!-- Format isn't very strictly defined - the yellow pages omits area code and does 2 2 2,
7937 the communications commission uses 2 3 3. Wikipedia says 3 2 3. Some use 2 6. -->
7938 <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})" nationalPrefixFormattingRule="$NP$FG">
7939 <leadingDigits>[348]</leadingDigits>
7940 <format>$1 $2 $3 $4</format>
7942 <numberFormat pattern="(\d{3})(\d{3})(\d{3})" nationalPrefixFormattingRule="$NP$FG">
7943 <leadingDigits>7</leadingDigits>
7944 <format>$1 $2 $3</format>
7946 <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})" nationalPrefixFormattingRule="$FG">
7947 <leadingDigits>5</leadingDigits>
7948 <format>$1 $2 $3 $4</format>
7951 <noInternationalDialling>
7952 <!-- Online numbers mention that this is not internationally diallable. -->
7953 <nationalNumberPattern>706\d{6}</nationalNumberPattern>
7954 <possibleNumberPattern>\d{9}</possibleNumberPattern>
7955 <exampleNumber>706123456</exampleNumber>
7956 </noInternationalDialling>
7958 <nationalNumberPattern>[34578]\d{8}</nationalNumberPattern>
7959 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
7962 <nationalNumberPattern>
7978 </nationalNumberPattern>
7979 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
7980 <exampleNumber>322123456</exampleNumber>
7983 <!-- The ITU document says 790 instead of 590, but this contradicts their press release
7984 about the change in numbers, and online numbers found. -->
7985 <nationalNumberPattern>
7993 </nationalNumberPattern>
7994 <possibleNumberPattern>\d{9}</possibleNumberPattern>
7995 <exampleNumber>555123456</exampleNumber>
7997 <!-- Information from http://www.yell.ge, examples such as Wissol Petroleum Georgia
8000 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
8001 <possibleNumberPattern>\d{9}</possibleNumberPattern>
8002 <exampleNumber>800123456</exampleNumber>
8005 <!-- http://www.mydivert.com/virtual-numbers/995-virtual-number-National.html -->
8006 <nationalNumberPattern>706\d{6}</nationalNumberPattern>
8007 <possibleNumberPattern>\d{9}</possibleNumberPattern>
8008 <exampleNumber>706123456</exampleNumber>
8010 <!-- It seems there may be special 6 digit numbers beginning with 91, but we are not sure, so
8011 these are omitted for now. -->
8014 <!-- French Guiana (French Dept. of) -->
8015 <!-- Using a national prefix here as online numbers are formatted with it. -->
8016 <territory id="GF" countryCode="594" internationalPrefix="00"
8017 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
8019 <sourceUrl>http://www.itu.int/oth/T020200004C/en</sourceUrl>
8020 <sourceUrl>http://www.arcep.fr/index.php?id=2137&bloc=0594&CMD=RESULTS_NUMEROTATION</sourceUrl>
8021 <sourceUrl>http://www.arcep.fr/uploads/tx_gsavis/11-1297.pdf</sourceUrl>
8024 <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})">
8025 <format>$1 $2 $3 $4</format>
8029 <nationalNumberPattern>[56]\d{8}</nationalNumberPattern>
8030 <possibleNumberPattern>\d{9}</possibleNumberPattern>
8033 <nationalNumberPattern>
8043 </nationalNumberPattern>
8044 <exampleNumber>594101234</exampleNumber>
8047 <nationalNumberPattern>
8054 </nationalNumberPattern>
8055 <exampleNumber>694201234</exampleNumber>
8057 <!-- The 876 prefix is mentioned in the plan, but the plan is from 2006 and in France VOIP
8058 numbers were changed from 087 to the 09 prefix in 2009. It is likely this occurred here
8063 <!-- Inherits formatting rules from the UK. -->
8064 <territory id="GG" countryCode="44" internationalPrefix="00"
8065 nationalPrefix="0" preferredExtnPrefix=" x" nationalPrefixFormattingRule="$NP$FG">
8067 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom</sourceUrl>
8070 <nationalNumberPattern>[135789]\d{6,9}</nationalNumberPattern>
8071 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
8074 <nationalNumberPattern>1481[2-9]\d{5}</nationalNumberPattern>
8075 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8076 <exampleNumber>1481250123</exampleNumber>
8078 <!-- Specific to GG. -->
8080 <!-- 1481 with 10 digits. -->
8081 <nationalNumberPattern>1481\d{6}</nationalNumberPattern>
8082 <exampleNumber>1481456789</exampleNumber>
8085 <!-- 7781, 7839, 7911 with 10 digits. -->
8086 <nationalNumberPattern>
8092 </nationalNumberPattern>
8093 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8094 <exampleNumber>7781123456</exampleNumber>
8096 <!-- Other numbers as per GB. -->
8098 <nationalNumberPattern>
8109 </nationalNumberPattern>
8110 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8111 <exampleNumber>7640123456</exampleNumber>
8114 <nationalNumberPattern>
8123 </nationalNumberPattern>
8124 <possibleNumberPattern>\d{7}(?:\d{2,3})?</possibleNumberPattern>
8125 <exampleNumber>8001234567</exampleNumber>
8128 <nationalNumberPattern>
8136 </nationalNumberPattern>
8137 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8138 <exampleNumber>9012345678</exampleNumber>
8141 <nationalNumberPattern>
8149 </nationalNumberPattern>
8150 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
8151 <exampleNumber>8431234567</exampleNumber>
8154 <nationalNumberPattern>70\d{8}</nationalNumberPattern>
8155 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8156 <exampleNumber>7012345678</exampleNumber>
8159 <nationalNumberPattern>56\d{8}</nationalNumberPattern>
8160 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8161 <exampleNumber>5612345678</exampleNumber>
8164 <nationalNumberPattern>
8169 </nationalNumberPattern>
8170 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8171 <exampleNumber>5512345678</exampleNumber>
8176 <territory id="GH" countryCode="233" internationalPrefix="00"
8177 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
8178 mobileNumberPortableRegion="true">
8180 <sourceUrl>http://www.itu.int/oth/T0202000052/en</sourceUrl>
8181 <sourceUrl>http://www.nca.org.gh/index.php?option=com_content&view=article&id=90&Itemid=65</sourceUrl>
8184 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
8185 <leadingDigits>[235]</leadingDigits>
8186 <format>$1 $2 $3</format>
8188 <numberFormat pattern="(\d{3})(\d{5})">
8189 <leadingDigits>8</leadingDigits>
8190 <format>$1 $2</format>
8194 <nationalNumberPattern>
8197 </nationalNumberPattern>
8198 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
8200 <noInternationalDialling>
8201 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
8202 <possibleNumberPattern>\d{8}</possibleNumberPattern>
8203 <exampleNumber>80012345</exampleNumber>
8204 </noInternationalDialling>
8206 <nationalNumberPattern>
8239 </nationalNumberPattern>
8240 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
8241 <exampleNumber>302345678</exampleNumber>
8244 <nationalNumberPattern>
8252 </nationalNumberPattern>
8253 <possibleNumberPattern>\d{9}</possibleNumberPattern>
8254 <exampleNumber>231234567</exampleNumber>
8257 <!-- Found online references to these numbers, although they are not in the plan since they
8258 are not internationally diallable. -->
8259 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
8260 <possibleNumberPattern>\d{8}</possibleNumberPattern>
8261 <exampleNumber>80012345</exampleNumber>
8263 <!-- No premiumRate information can be found. -->
8267 <territory id="GI" countryCode="350" internationalPrefix="00">
8269 <sourceUrl>http://www.gra.gi/index.php?topic=numbering+plan&section=legislation&site=communications</sourceUrl>
8272 <!-- Most numbers are formatted as a block -->
8273 <numberFormat pattern="(\d{3})(\d{5})">
8274 <leadingDigits>2</leadingDigits>
8275 <format>$1 $2</format>
8279 <nationalNumberPattern>[2568]\d{7}</nationalNumberPattern>
8280 <possibleNumberPattern>\d{8}</possibleNumberPattern>
8283 <nationalNumberPattern>
8295 </nationalNumberPattern>
8296 <exampleNumber>20012345</exampleNumber>
8299 <nationalNumberPattern>
8304 </nationalNumberPattern>
8305 <exampleNumber>57123456</exampleNumber>
8308 <nationalNumberPattern>80\d{6}</nationalNumberPattern>
8309 <exampleNumber>80123456</exampleNumber>
8312 <nationalNumberPattern>8[1-689]\d{6}</nationalNumberPattern>
8313 <exampleNumber>88123456</exampleNumber>
8316 <nationalNumberPattern>87\d{6}</nationalNumberPattern>
8317 <exampleNumber>87123456</exampleNumber>
8322 <territory id="GL" countryCode="299" internationalPrefix="00">
8324 <sourceUrl>http://www.itu.int/oth/T0202000056/en</sourceUrl>
8327 <numberFormat pattern="(\d{2})(\d{2})(\d{2})">
8328 <format>$1 $2 $3</format>
8332 <nationalNumberPattern>[1-689]\d{5}</nationalNumberPattern>
8333 <possibleNumberPattern>\d{6}</possibleNumberPattern>
8336 <!-- Including VSAT numbers here. -->
8337 <nationalNumberPattern>
8345 </nationalNumberPattern>
8346 <exampleNumber>321000</exampleNumber>
8349 <nationalNumberPattern>[245][2-9]\d{4}</nationalNumberPattern>
8350 <exampleNumber>221234</exampleNumber>
8353 <nationalNumberPattern>80\d{4}</nationalNumberPattern>
8354 <exampleNumber>801234</exampleNumber>
8357 <nationalNumberPattern>3[89]\d{4}</nationalNumberPattern>
8358 <exampleNumber>381234</exampleNumber>
8363 <territory id="GM" countryCode="220" internationalPrefix="00">
8365 <sourceUrl>http://www.itu.int/oth/T020200004F/en</sourceUrl>
8368 <numberFormat pattern="(\d{3})(\d{4})">
8369 <format>$1 $2</format>
8373 <nationalNumberPattern>[2-9]\d{6}</nationalNumberPattern>
8374 <possibleNumberPattern>\d{7}</possibleNumberPattern>
8377 <nationalNumberPattern>
8400 </nationalNumberPattern>
8401 <exampleNumber>5661234</exampleNumber>
8404 <nationalNumberPattern>
8409 </nationalNumberPattern>
8410 <exampleNumber>3012345</exampleNumber>
8415 <territory id="GN" countryCode="224" internationalPrefix="00">
8417 <sourceUrl>http://www.itu.int/oth/T020200005B/en</sourceUrl>
8420 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
8421 <leadingDigits>3</leadingDigits>
8422 <format>$1 $2 $3 $4</format>
8424 <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})">
8425 <leadingDigits>[67]</leadingDigits>
8426 <format>$1 $2 $3 $4</format>
8430 <nationalNumberPattern>[367]\d{7,8}</nationalNumberPattern>
8431 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
8434 <nationalNumberPattern>
8444 </nationalNumberPattern>
8445 <possibleNumberPattern>\d{8}</possibleNumberPattern>
8446 <exampleNumber>30241234</exampleNumber>
8449 <!-- Prefixes here match those assigned to carriers, as per the ITU communication Jan 23rd
8451 <nationalNumberPattern>6[02356]\d{7}</nationalNumberPattern>
8452 <possibleNumberPattern>\d{9}</possibleNumberPattern>
8453 <exampleNumber>601123456</exampleNumber>
8456 <!-- Gamma concept network is being listed as VoIP as per
8457 http://www.gammaconcept.com/internet%20sat.html -->
8458 <nationalNumberPattern>722\d{6}</nationalNumberPattern>
8459 <possibleNumberPattern>\d{9}</possibleNumberPattern>
8460 <exampleNumber>722123456</exampleNumber>
8465 <territory id="GP" countryCode="590" internationalPrefix="00"
8466 mainCountryForCode="true" nationalPrefix="0"
8467 nationalPrefixFormattingRule="$NP$FG">
8469 <sourceUrl>http://www.itu.int/oth/T0202000058/en</sourceUrl>
8470 <!-- Linked from http://www.arcep.fr/index.php?id=interactivenumeros -->
8471 <sourceUrl>http://www.arcep.fr/fileadmin/reprise/dossiers/numero/ZABPQ-ZNE.xls</sourceUrl>
8474 <numberFormat pattern="([56]90)(\d{2})(\d{4})">
8475 <format>$1 $2-$3</format>
8479 <nationalNumberPattern>[56]\d{8}</nationalNumberPattern>
8480 <possibleNumberPattern>\d{9}</possibleNumberPattern>
8483 <nationalNumberPattern>
8496 </nationalNumberPattern>
8497 <exampleNumber>590201234</exampleNumber>
8500 <!-- Any ranges assigned from
8501 http://www.arcep.fr/index.php?id=interactivenumeros have been listed as belonging to
8502 Guadeloupe, St Martin and St Barthélemy, since we can't reliably distinguish between
8504 <nationalNumberPattern>
8509 </nationalNumberPattern>
8510 <exampleNumber>690301234</exampleNumber>
8514 <!-- Equatorial Guinea -->
8515 <territory id="GQ" countryCode="240" internationalPrefix="00">
8517 <sourceUrl>http://www.itu.int/oth/T0202000041/en</sourceUrl>
8520 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
8521 <leadingDigits>[235]</leadingDigits>
8522 <format>$1 $2 $3</format>
8524 <numberFormat pattern="(\d{3})(\d{6})">
8525 <leadingDigits>[89]</leadingDigits>
8526 <format>$1 $2</format>
8530 <nationalNumberPattern>[23589]\d{8}</nationalNumberPattern>
8531 <possibleNumberPattern>\d{9}</possibleNumberPattern>
8534 <nationalNumberPattern>
8542 </nationalNumberPattern>
8543 <exampleNumber>333091234</exampleNumber>
8546 <nationalNumberPattern>
8551 </nationalNumberPattern>
8552 <exampleNumber>222123456</exampleNumber>
8554 <!-- Note that personal and sharedCost numbers are said to go under here too - hopefully when
8555 they start allocating them there will be a differentiation of prefixes, but this is not
8558 <nationalNumberPattern>80\d[1-9]\d{5}</nationalNumberPattern>
8559 <exampleNumber>800123456</exampleNumber>
8562 <nationalNumberPattern>90\d[1-9]\d{5}</nationalNumberPattern>
8563 <exampleNumber>900123456</exampleNumber>
8568 <territory id="GR" countryCode="30" internationalPrefix="00" mobileNumberPortableRegion="true">
8570 <sourceUrl>http://www.itu.int/oth/T0202000055/en</sourceUrl>
8571 <sourceUrl>http://en.wikipedia.org/wiki/%2B30</sourceUrl>
8574 <numberFormat pattern="([27]\d)(\d{4})(\d{4})">
8579 <format>$1 $2 $3</format>
8581 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
8586 <format>$1 $2 $3</format>
8588 <numberFormat pattern="(2\d{3})(\d{6})">
8589 <leadingDigits>2[2-9][02-9]</leadingDigits>
8590 <format>$1 $2</format>
8594 <nationalNumberPattern>[26-9]\d{9}</nationalNumberPattern>
8595 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8598 <nationalNumberPattern>
8659 </nationalNumberPattern>
8660 <exampleNumber>2123456789</exampleNumber>
8663 <nationalNumberPattern>69\d{8}</nationalNumberPattern>
8664 <exampleNumber>6912345678</exampleNumber>
8667 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
8668 <exampleNumber>8001234567</exampleNumber>
8671 <nationalNumberPattern>90[19]\d{7}</nationalNumberPattern>
8672 <exampleNumber>9091234567</exampleNumber>
8674 <!-- Including calls with maximum charge of 0,25 EUR/minute here instead of under premium
8677 <nationalNumberPattern>
8683 </nationalNumberPattern>
8684 <exampleNumber>8011234567</exampleNumber>
8687 <nationalNumberPattern>70\d{8}</nationalNumberPattern>
8688 <exampleNumber>7012345678</exampleNumber>
8693 <territory id="GT" countryCode="502" internationalPrefix="00">
8695 <sourceUrl>http://www.itu.int/oth/T020200005A/en</sourceUrl>
8696 <sourceUrl>http://www.sit.gob.gt/index.php?page=plan-de-numeracion</sourceUrl>
8697 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Guatemala</sourceUrl>
8700 <numberFormat pattern="(\d{4})(\d{4})">
8701 <leadingDigits>[2-7]</leadingDigits>
8702 <format>$1 $2</format>
8704 <numberFormat pattern="(\d{4})(\d{3})(\d{4})">
8705 <leadingDigits>1</leadingDigits>
8706 <format>$1 $2 $3</format>
8710 <nationalNumberPattern>
8713 </nationalNumberPattern>
8714 <possibleNumberPattern>\d{8}(?:\d{3})?</possibleNumberPattern>
8717 <nationalNumberPattern>[267][2-9]\d{6}</nationalNumberPattern>
8718 <possibleNumberPattern>\d{8}</possibleNumberPattern>
8719 <exampleNumber>22456789</exampleNumber>
8722 <!-- Wikipedia claims numbers with 3 are also mobile although in ITU document it says that
8723 they are just reserved. -->
8724 <nationalNumberPattern>[345]\d{7}</nationalNumberPattern>
8725 <possibleNumberPattern>\d{8}</possibleNumberPattern>
8726 <exampleNumber>51234567</exampleNumber>
8729 <nationalNumberPattern>18[01]\d{8}</nationalNumberPattern>
8730 <possibleNumberPattern>\d{11}</possibleNumberPattern>
8731 <exampleNumber>18001112222</exampleNumber>
8734 <nationalNumberPattern>19\d{9}</nationalNumberPattern>
8735 <possibleNumberPattern>\d{11}</possibleNumberPattern>
8736 <exampleNumber>19001112222</exampleNumber>
8741 <territory id="GU" countryCode="1" leadingDigits="671" nationalPrefix="1"
8742 internationalPrefix="011">
8744 <sourceUrl>http://www.nationalnanpa.com/nas/public/assigned_code_query_step1.do?method=resetCodeQueryModel</sourceUrl>
8747 <!-- NANPA country - uses US formatting rules -->
8748 <nationalNumberPattern>[5689]\d{9}</nationalNumberPattern>
8749 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
8752 <!-- Added 671 489/555/720/721 based on information from
8753 http://www.area-codes.com/area-code/area-code-671.asp -->
8754 <nationalNumberPattern>
8798 </nationalNumberPattern>
8799 <exampleNumber>6713001234</exampleNumber>
8801 <!-- We assume mobile phone numbers to be the same as fixed-line - further info unavailable
8804 <nationalNumberPattern>
8848 </nationalNumberPattern>
8849 <exampleNumber>6713001234</exampleNumber>
8852 <nationalNumberPattern>
8861 </nationalNumberPattern>
8862 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8863 <exampleNumber>8002123456</exampleNumber>
8866 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
8867 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8868 <exampleNumber>9002123456</exampleNumber>
8871 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
8872 <nationalNumberPattern>
8880 </nationalNumberPattern>
8881 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8882 <exampleNumber>5002345678</exampleNumber>
8886 <!-- Guinea-Bissau -->
8887 <territory id="GW" countryCode="245" internationalPrefix="00">
8889 <sourceUrl>http://www.itu.int/oth/T020200005C/en</sourceUrl>
8892 <numberFormat pattern="(\d{3})(\d{4})">
8893 <format>$1 $2</format>
8897 <nationalNumberPattern>[3-79]\d{6}</nationalNumberPattern>
8898 <possibleNumberPattern>\d{7}</possibleNumberPattern>
8901 <nationalNumberPattern>
8910 </nationalNumberPattern>
8911 <exampleNumber>3201234</exampleNumber>
8914 <nationalNumberPattern>
8919 </nationalNumberPattern>
8920 <exampleNumber>5012345</exampleNumber>
8923 <nationalNumberPattern>40\d{5}</nationalNumberPattern>
8924 <exampleNumber>4012345</exampleNumber>
8929 <territory id="GY" countryCode="592" internationalPrefix="001">
8931 <sourceUrl>http://www.itu.int/oth/T020200005D/en</sourceUrl>
8934 <numberFormat pattern="(\d{3})(\d{4})">
8935 <format>$1 $2</format>
8939 <nationalNumberPattern>[2-4679]\d{6}</nationalNumberPattern>
8940 <possibleNumberPattern>\d{7}</possibleNumberPattern>
8943 <nationalNumberPattern>
8963 </nationalNumberPattern>
8964 <exampleNumber>2201234</exampleNumber>
8967 <!-- The ITU document only describes a few ranges for mobile numbers but there is evidence
8968 that SMS messages have been succesfully sent to numbers in the entire range prefixed
8970 <nationalNumberPattern>6\d{6}</nationalNumberPattern>
8971 <exampleNumber>6091234</exampleNumber>
8974 <nationalNumberPattern>
8979 </nationalNumberPattern>
8980 <exampleNumber>2891234</exampleNumber>
8983 <nationalNumberPattern>9008\d{3}</nationalNumberPattern>
8984 <exampleNumber>9008123</exampleNumber>
8989 <territory id="HK" countryCode="852" internationalPrefix="00" mobileNumberPortableRegion="true">
8991 <sourceUrl>http://www.ofca.gov.hk/en/industry_focus/telecommunications/portability/index.html</sourceUrl>
8994 <numberFormat pattern="(\d{4})(\d{4})">
9002 <format>$1 $2</format>
9004 <numberFormat pattern="(800)(\d{3})(\d{3})">
9005 <leadingDigits>800</leadingDigits>
9006 <format>$1 $2 $3</format>
9008 <numberFormat pattern="(900)(\d{2})(\d{3})(\d{3})">
9009 <leadingDigits>900</leadingDigits>
9010 <format>$1 $2 $3 $4</format>
9012 <numberFormat pattern="(900)(\d{2,5})">
9013 <leadingDigits>900</leadingDigits>
9014 <format>$1 $2</format>
9018 <!-- Slightly more complex pattern to allow the country code to be stripped off if
9020 <nationalNumberPattern>
9024 </nationalNumberPattern>
9025 <possibleNumberPattern>\d{5,11}</possibleNumberPattern>
9028 <nationalNumberPattern>
9033 </nationalNumberPattern>
9034 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9035 <exampleNumber>21234567</exampleNumber>
9038 <nationalNumberPattern>
9047 </nationalNumberPattern>
9048 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9049 <exampleNumber>51234567</exampleNumber>
9052 <nationalNumberPattern>7\d{7}</nationalNumberPattern>
9053 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9054 <exampleNumber>71234567</exampleNumber>
9057 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
9058 <possibleNumberPattern>\d{9}</possibleNumberPattern>
9059 <exampleNumber>800123456</exampleNumber>
9062 <nationalNumberPattern>
9067 </nationalNumberPattern>
9068 <possibleNumberPattern>\d{5,11}</possibleNumberPattern>
9069 <exampleNumber>90012345678</exampleNumber>
9072 <nationalNumberPattern>8[1-3]\d{6}</nationalNumberPattern>
9073 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9074 <exampleNumber>81123456</exampleNumber>
9079 <!-- It seems there is no longer a trunk prefix in use, based on websites like
9080 http://www.howtocallabroad.com/codes.html and on seeing how locals write their numbers in
9081 national format. -->
9082 <territory id="HN" countryCode="504" internationalPrefix="00" >
9084 <sourceUrl>http://www.itu.int/oth/T020200005F/en</sourceUrl>
9087 <numberFormat pattern="(\d{4})(\d{4})">
9088 <format>$1-$2</format>
9092 <nationalNumberPattern>[237-9]\d{7}</nationalNumberPattern>
9093 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9096 <!-- Extra prefixes 227[01389], 228X, 2292 & 260X were added from numbers found online. -->
9097 <nationalNumberPattern>
9138 </nationalNumberPattern>
9139 <exampleNumber>22123456</exampleNumber>
9142 <nationalNumberPattern>[37-9]\d{7}</nationalNumberPattern>
9143 <exampleNumber>91234567</exampleNumber>
9148 <territory id="HR" countryCode="385" internationalPrefix="00"
9149 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
9150 mobileNumberPortableRegion="true">
9152 <sourceUrl>http://www.itu.int/oth/T0202000032/en</sourceUrl>
9153 <sourceUrl>http://en.wikipedia.org/wiki/%2B385</sourceUrl>
9156 <!-- The plan says 1 XXX XXXX but the government and local telecom websites are formatted 1
9157 XXXX XXX, so we prefer that formatting here. These same sources prefer XXX XXX to XX
9159 <numberFormat pattern="(1)(\d{4})(\d{3})">
9160 <leadingDigits>1</leadingDigits>
9161 <format>$1 $2 $3</format>
9163 <numberFormat pattern="(6[09])(\d{4})(\d{3})">
9164 <leadingDigits>6[09]</leadingDigits>
9165 <format>$1 $2 $3</format>
9167 <numberFormat pattern="(62)(\d{3})(\d{3,4})">
9168 <leadingDigits>62</leadingDigits>
9169 <format>$1 $2 $3</format>
9171 <numberFormat pattern="([2-5]\d)(\d{3})(\d{3})">
9172 <leadingDigits>[2-5]</leadingDigits>
9173 <format>$1 $2 $3</format>
9175 <numberFormat pattern="(9\d)(\d{3})(\d{3,4})">
9176 <leadingDigits>9</leadingDigits>
9177 <format>$1 $2 $3</format>
9179 <numberFormat pattern="(9\d)(\d{4})(\d{4})">
9180 <leadingDigits>9</leadingDigits>
9181 <format>$1 $2 $3</format>
9183 <numberFormat pattern="(9\d)(\d{3,4})(\d{3})(\d{3})">
9184 <leadingDigits>9</leadingDigits>
9185 <format>$1 $2 $3 $4</format>
9187 <numberFormat pattern="(\d{2})(\d{2})(\d{2,3})">
9192 <format>$1 $2 $3</format>
9194 <numberFormat pattern="(\d{2})(\d{3,4})(\d{3})">
9199 <format>$1 $2 $3</format>
9201 <numberFormat pattern="(80[01])(\d{2})(\d{2,3})">
9202 <leadingDigits>8</leadingDigits>
9203 <format>$1 $2 $3</format>
9205 <numberFormat pattern="(80[01])(\d{3,4})(\d{3})">
9206 <leadingDigits>8</leadingDigits>
9207 <format>$1 $2 $3</format>
9211 <nationalNumberPattern>
9214 </nationalNumberPattern>
9215 <possibleNumberPattern>\d{6,12}</possibleNumberPattern>
9218 <nationalNumberPattern>
9226 </nationalNumberPattern>
9227 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
9228 <exampleNumber>12345678</exampleNumber>
9231 <!-- ITU numbering plan doesn't specify the length of the numbers with prefix 62, but there
9232 are numbers on the internet with 6 or 7 digits after the prefix. -->
9233 <nationalNumberPattern>62\d{6,7}</nationalNumberPattern>
9234 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
9235 <exampleNumber>62123456</exampleNumber>
9238 <nationalNumberPattern>9[1257-9]\d{6,10}</nationalNumberPattern>
9239 <possibleNumberPattern>\d{8,12}</possibleNumberPattern>
9240 <exampleNumber>912345678</exampleNumber>
9243 <nationalNumberPattern>80[01]\d{4,7}</nationalNumberPattern>
9244 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
9245 <exampleNumber>8001234567</exampleNumber>
9248 <!-- The prefixes 060, 061, 064, 065 and 069 are named as premium rate numbers by
9249 http://www.vipnet.hr/en/poslovni-korisnici/telefon-internet/vip-adsl-usluga#panel_4.
9251 <nationalNumberPattern>
9256 </nationalNumberPattern>
9257 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
9258 <exampleNumber>611234</exampleNumber>
9261 <nationalNumberPattern>7[45]\d{4,7}</nationalNumberPattern>
9262 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
9263 <exampleNumber>741234567</exampleNumber>
9268 <territory id="HT" countryCode="509" internationalPrefix="00">
9270 <sourceUrl>http://www.itu.int/oth/T020200005E/en</sourceUrl>
9271 <sourceUrl>http://www.numberingplans.com/</sourceUrl>
9274 <numberFormat pattern="(\d{2})(\d{2})(\d{4})">
9275 <format>$1 $2 $3</format>
9279 <nationalNumberPattern>[2-489]\d{7}</nationalNumberPattern>
9280 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9283 <!-- The prefix 24 seems to be also used, based on online searches. -->
9284 <nationalNumberPattern>
9290 </nationalNumberPattern>
9291 <exampleNumber>22453300</exampleNumber>
9294 <!-- The prefix 31 seems to be also used, based on online searches. -->
9295 <nationalNumberPattern>
9300 </nationalNumberPattern>
9301 <exampleNumber>34101234</exampleNumber>
9304 <!-- ITU document says numbers with prefix 8 are "value-added services and free numbers
9305 without making any further distinction. However, http://www.numberingplans.com/ seems
9306 to suggest they are free. -->
9307 <nationalNumberPattern>8\d{7}</nationalNumberPattern>
9308 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9309 <exampleNumber>80012345</exampleNumber>
9312 <!-- ITU document suggests 98\d{6}, but http://www.numberingplans.com/ restricts it to
9314 <nationalNumberPattern>98[89]\d{5}</nationalNumberPattern>
9315 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9316 <exampleNumber>98901234</exampleNumber>
9321 <territory id="HU" countryCode="36" internationalPrefix="00"
9322 nationalPrefix="06" nationalPrefixFormattingRule="($FG)"
9323 mobileNumberPortableRegion="true">
9325 <sourceUrl>http://www.itu.int/oth/T0202000061/en</sourceUrl>
9327 <!-- Although the national prefix is necessary for dialling, the preferred format (confirmed
9328 by a Hungarian person and following the yellow pages) is to omit this when formatting.
9329 Yellow pages: http://www.aranyoldalak.hu -->
9331 <numberFormat pattern="(1)(\d{3})(\d{4})">
9332 <leadingDigits>1</leadingDigits>
9333 <format>$1 $2 $3</format>
9335 <numberFormat pattern="(\d{2})(\d{3})(\d{3,4})">
9336 <leadingDigits>[2-9]</leadingDigits>
9337 <format>$1 $2 $3</format>
9341 <nationalNumberPattern>[1-9]\d{7,8}</nationalNumberPattern>
9342 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
9344 <noInternationalDialling>
9345 <nationalNumberPattern>[48]0\d{6}</nationalNumberPattern>
9346 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9347 <exampleNumber>80123456</exampleNumber>
9348 </noInternationalDialling>
9350 <!-- Includes numbers for corporate networks. -->
9351 <nationalNumberPattern>
9369 </nationalNumberPattern>
9370 <exampleNumber>12345678</exampleNumber>
9373 <nationalNumberPattern>
9378 </nationalNumberPattern>
9379 <possibleNumberPattern>\d{9}</possibleNumberPattern>
9380 <exampleNumber>201234567</exampleNumber>
9383 <nationalNumberPattern>80\d{6}</nationalNumberPattern>
9384 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9385 <exampleNumber>80123456</exampleNumber>
9388 <nationalNumberPattern>9[01]\d{6}</nationalNumberPattern>
9389 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9390 <exampleNumber>90123456</exampleNumber>
9393 <nationalNumberPattern>40\d{6}</nationalNumberPattern>
9394 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9395 <exampleNumber>40123456</exampleNumber>
9400 <territory id="ID" countryCode="62" internationalPrefix="0(?:0[1789]|10(?:00|1[67]))"
9401 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
9403 <!-- From 2001, very out of date. -->
9404 <sourceUrl>http://www.itu.int/oth/T0202000064/en</sourceUrl>
9405 <sourceUrl>http://en.wikipedia.org/wiki/%2B62</sourceUrl>
9408 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
9409 pattern="(\d{2})(\d{5,8})">
9414 <format>$1 $2</format>
9416 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
9417 pattern="(\d{3})(\d{5,7})">
9423 <format>$1 $2</format>
9425 <numberFormat pattern="(8\d{2})(\d{3,4})(\d{3,4})">
9426 <leadingDigits>8[1-35-9]</leadingDigits>
9427 <format>$1-$2-$3</format>
9429 <numberFormat pattern="(177)(\d{6,8})">
9430 <leadingDigits>1</leadingDigits>
9431 <format>$1 $2</format>
9433 <!-- http://en.wikipedia.org/wiki/Toll-free_telephone_number, and examples on the web show
9434 that sometimes they are followed by less digits. -->
9435 <numberFormat pattern="(800)(\d{5,7})">
9436 <leadingDigits>800</leadingDigits>
9437 <format>$1 $2</format>
9439 <numberFormat pattern="(80\d)(\d)(\d{3})(\d{3})">
9440 <leadingDigits>80[79]</leadingDigits>
9441 <format>$1 $2 $3 $4</format>
9445 <nationalNumberPattern>[1-9]\d{6,10}</nationalNumberPattern>
9446 <possibleNumberPattern>\d{5,11}</possibleNumberPattern>
9449 <!-- Area codes taken from wikipedia, with missing ones added from
9450 http://www.telkom.co.id/customer-services/area-and-country-code/?type=area.
9451 We also added 0770 after user feedback because it seems to be used on Bintan island.
9452 Where known, fixed mobile prefixes have been represented as Mobile. -->
9453 <!-- Very short (5/6 digit) local numbers in Jakarta seem to be special cases for various
9454 well known companies (Mc Donalds, KFC etc...). Some of these are listed in:
9455 http://cms.binus.edu/datapage/file/io/Spring2014SE/International_Student_Handbook_BINUS.pdf -->
9456 <nationalNumberPattern>
9526 </nationalNumberPattern>
9527 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
9528 <exampleNumber>612345678</exampleNumber>
9531 <!-- It is unclear exactly which prefixes could be mobile phones, based on the information
9532 on the wikipedia page. However, Bakrie have provided a list of their prefixes, which
9533 are captured below. The pattern covers the area code plus the first one-two digits of
9534 the subscriber number. -->
9535 <nationalNumberPattern>
9611 </nationalNumberPattern>
9612 <possibleNumberPattern>\d{9,11}</possibleNumberPattern>
9613 <exampleNumber>812345678</exampleNumber>
9616 <nationalNumberPattern>
9619 </nationalNumberPattern>
9620 <possibleNumberPattern>\d{8,11}</possibleNumberPattern>
9621 <exampleNumber>8001234567</exampleNumber>
9624 <nationalNumberPattern>8071\d{6}</nationalNumberPattern>
9625 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9626 <exampleNumber>8071123456</exampleNumber>
9628 <noInternationalDialling>
9629 <nationalNumberPattern>8071\d{6}</nationalNumberPattern>
9630 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9631 <exampleNumber>8071123456</exampleNumber>
9632 </noInternationalDialling>
9633 <!-- The information below is provided by an Indonesian -->
9635 <nationalNumberPattern>809\d{7}</nationalNumberPattern>
9636 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9637 <exampleNumber>8091234567</exampleNumber>
9642 <territory id="IE" countryCode="353" internationalPrefix="00"
9643 nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)"
9644 mobileNumberPortableRegion="true">
9646 <sourceUrl>http://www.comreg.ie/licensing_and_services/numbering_plan_for_ireland.552.440.html</sourceUrl>
9647 <sourceUrl>http://www.comreg.ie/_fileupload/publications/ComReg1119.pdf</sourceUrl>
9650 <numberFormat pattern="(1)(\d{3,4})(\d{4})">
9651 <leadingDigits>1</leadingDigits>
9652 <format>$1 $2 $3</format>
9654 <numberFormat pattern="(\d{2})(\d{5})">
9662 <format>$1 $2</format>
9664 <numberFormat pattern="(\d{3})(\d{5})">
9669 <format>$1 $2</format>
9671 <numberFormat pattern="(48)(\d{4})(\d{4})">
9672 <leadingDigits>48</leadingDigits>
9673 <format>$1 $2 $3</format>
9675 <numberFormat pattern="(818)(\d{3})(\d{3})">
9676 <leadingDigits>81</leadingDigits>
9677 <format>$1 $2 $3</format>
9679 <numberFormat pattern="(\d{2})(\d{3})(\d{3,4})">
9684 <format>$1 $2 $3</format>
9686 <numberFormat nationalPrefixFormattingRule="$NP$FG"
9687 pattern="([78]\d)(\d{3,4})(\d{4})">
9692 <format>$1 $2 $3</format>
9694 <numberFormat nationalPrefixFormattingRule="$NP$FG"
9695 pattern="(700)(\d{3})(\d{3})">
9696 <leadingDigits>70</leadingDigits>
9697 <format>$1 $2 $3</format>
9699 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{3})(\d{3})">
9712 <format>$1 $2 $3</format>
9716 <nationalNumberPattern>[124-9]\d{6,9}</nationalNumberPattern>
9717 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
9719 <noInternationalDialling>
9720 <nationalNumberPattern>18[59]0\d{6}</nationalNumberPattern>
9721 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9722 <exampleNumber>1850123456</exampleNumber>
9723 </noInternationalDialling>
9725 <!-- We allow 6-7 digit subscriber numbers for the 021 area code since that seems to be
9726 reflected by the numbers in the Yellow Pages. Another peculiarity is that 048 actually
9727 replaces 00 44 28 when Irish people dial, allowing them to easily dial Northern
9728 Ireland. We support these numbers here, although technically they are numbers for the
9730 <nationalNumberPattern>
9761 </nationalNumberPattern>
9762 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
9763 <exampleNumber>2212345</exampleNumber>
9766 <nationalNumberPattern>
9771 </nationalNumberPattern>
9772 <possibleNumberPattern>\d{9}</possibleNumberPattern>
9773 <exampleNumber>850123456</exampleNumber>
9776 <nationalNumberPattern>1800\d{6}</nationalNumberPattern>
9777 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9778 <exampleNumber>1800123456</exampleNumber>
9781 <nationalNumberPattern>
9787 </nationalNumberPattern>
9788 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9789 <exampleNumber>1520123456</exampleNumber>
9792 <nationalNumberPattern>18[59]0\d{6}</nationalNumberPattern>
9793 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9794 <exampleNumber>1850123456</exampleNumber>
9797 <nationalNumberPattern>700\d{6}</nationalNumberPattern>
9798 <possibleNumberPattern>\d{9}</possibleNumberPattern>
9799 <exampleNumber>700123456</exampleNumber>
9802 <nationalNumberPattern>76\d{7}</nationalNumberPattern>
9803 <possibleNumberPattern>\d{9}</possibleNumberPattern>
9804 <exampleNumber>761234567</exampleNumber>
9807 <nationalNumberPattern>818\d{6}</nationalNumberPattern>
9808 <possibleNumberPattern>\d{9}</possibleNumberPattern>
9809 <exampleNumber>818123456</exampleNumber>
9812 <nationalNumberPattern>8[35-9]\d{8}</nationalNumberPattern>
9813 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9814 <exampleNumber>8501234567</exampleNumber>
9819 <!-- Formatting practice following wikipedia, and government sites. -->
9820 <territory id="IL" countryCode="972" internationalPrefix="0(?:0|1[2-9])"
9821 nationalPrefix="0" nationalPrefixFormattingRule="$FG"
9822 mobileNumberPortableRegion="true">
9824 <sourceUrl>http://www.itu.int/oth/T020200006A/en</sourceUrl>
9825 <sourceUrl>http://en.wikipedia.org/wiki/%2B972</sourceUrl>
9827 <sourceUrl>http://he.wikipedia.org/wiki/%D7%A7%D7%99%D7%93%D7%95%D7%9E%D7%AA_%D7%98%D7%9C%D7%A4%D7%95%D7%9F_%D7%91%D7%99%D7%A9%D7%A8%D7%90%D7%9C</sourceUrl>
9830 <numberFormat nationalPrefixFormattingRule="$NP$FG"
9831 pattern="([2-489])(\d{3})(\d{4})">
9832 <leadingDigits>[2-489]</leadingDigits>
9833 <format>$1-$2-$3</format>
9835 <numberFormat nationalPrefixFormattingRule="$NP$FG"
9836 pattern="([57]\d)(\d{3})(\d{4})">
9837 <leadingDigits>[57]</leadingDigits>
9838 <format>$1-$2-$3</format>
9840 <numberFormat pattern="(1)([7-9]\d{2})(\d{3})(\d{3})">
9841 <leadingDigits>1[7-9]</leadingDigits>
9842 <format>$1-$2-$3-$4</format>
9844 <!-- The following number is for hospitals. -->
9845 <numberFormat pattern="(1255)(\d{3})">
9846 <leadingDigits>125</leadingDigits>
9847 <format>$1-$2</format>
9849 <numberFormat pattern="(1200)(\d{3})(\d{3})">
9850 <leadingDigits>120</leadingDigits>
9851 <format>$1-$2-$3</format>
9853 <numberFormat pattern="(1212)(\d{2})(\d{2})">
9854 <leadingDigits>121</leadingDigits>
9855 <format>$1-$2-$3</format>
9857 <!-- The following is for voicemail access. -->
9858 <numberFormat pattern="(1599)(\d{6})">
9859 <leadingDigits>15</leadingDigits>
9860 <format>$1-$2</format>
9862 <!-- These are 4-digit star numbers which are only accessible within Israel and must be
9863 dialed with a star in front of the number. -->
9864 <numberFormat pattern="(\d{4})">
9865 <leadingDigits>[2-689]</leadingDigits>
9866 <format>*$1</format>
9870 <nationalNumberPattern>
9872 [2-589]\d{3}(?:\d{3,6})?|
9874 </nationalNumberPattern>
9875 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
9877 <noInternationalDialling>
9878 <nationalNumberPattern>
9881 </nationalNumberPattern>
9882 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
9883 <exampleNumber>1700123456</exampleNumber>
9884 </noInternationalDialling>
9886 <nationalNumberPattern>[2-489]\d{7}</nationalNumberPattern>
9887 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
9888 <exampleNumber>21234567</exampleNumber>
9891 <!-- The ITU document has only some of these prefixes - wikipedia lists more. We are fairly
9892 sure wikipedia is accurate based on news coverage of the launch of these numbers. -->
9893 <nationalNumberPattern>
9909 </nationalNumberPattern>
9910 <possibleNumberPattern>\d{9}</possibleNumberPattern>
9911 <exampleNumber>501234567</exampleNumber>
9914 <!-- Online 1-809 numbers now classify themselves as "toll-free". -->
9915 <nationalNumberPattern>
9920 </nationalNumberPattern>
9921 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
9922 <exampleNumber>1800123456</exampleNumber>
9925 <!-- Peculiarly, one source states that 1956 and 1957 are the new premium rate prefixes.
9926 However, no online numbers starting with these prefixes can be found, and this data
9927 is not found in any other source. -->
9928 <!-- 1200 and 1212 numbers are for televoting. -->
9929 <nationalNumberPattern>
9940 </nationalNumberPattern>
9941 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
9942 <exampleNumber>1919123456</exampleNumber>
9945 <nationalNumberPattern>1700\d{6}</nationalNumberPattern>
9946 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9947 <exampleNumber>1700123456</exampleNumber>
9950 <!-- These rules are a union of the wikipedia and ITU document prefixes. They are mostly
9951 marked as VoIP on wikipedia, but it seems they may indeed be DID (Direct Inward
9952 Dialing) numbers, that most people forward to VoIP numbers. -->
9953 <nationalNumberPattern>
9970 </nationalNumberPattern>
9971 <possibleNumberPattern>\d{9}</possibleNumberPattern>
9972 <exampleNumber>771234567</exampleNumber>
9975 <!-- 4-digit star numbers and 1-599 numbers. The latter are actually labelled "interactive
9976 voicemail" in the ITU document, but according to reports from businesses in Israel and
9977 the Hebrew version of the wikipedia page, these are actually a router for business
9978 calls, and incur a normal call cost on account of the caller. -->
9979 <nationalNumberPattern>
9982 </nationalNumberPattern>
9983 <possibleNumberPattern>\d{4}(?:\d{6})?</possibleNumberPattern>
9984 <exampleNumber>1599123456</exampleNumber>
9988 <!-- Isle of Man -->
9989 <!-- Inherits formatting rules from the UK. -->
9990 <territory id="IM" countryCode="44" internationalPrefix="00"
9991 nationalPrefix="0" preferredExtnPrefix=" x" nationalPrefixFormattingRule="$NP$FG">
9993 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom</sourceUrl>
9996 <nationalNumberPattern>[135789]\d{6,9}</nationalNumberPattern>
9997 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
10000 <nationalNumberPattern>1624[2-9]\d{5}</nationalNumberPattern>
10001 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10002 <exampleNumber>1624250123</exampleNumber>
10003 </areaCodeOptional>
10004 <!-- Specific to IM. -->
10006 <!-- 1624 with 10 digits. -->
10007 <nationalNumberPattern>1624\d{6}</nationalNumberPattern>
10008 <exampleNumber>1624456789</exampleNumber>
10011 <!-- 7524, 7624, 7924 with 10 digits. -->
10012 <nationalNumberPattern>7[569]24\d{6}</nationalNumberPattern>
10013 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10014 <exampleNumber>7924123456</exampleNumber>
10017 <!-- 808 162 with 10 digits. -->
10018 <nationalNumberPattern>808162\d{4}</nationalNumberPattern>
10019 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10020 <exampleNumber>8081624567</exampleNumber>
10023 <!-- 872 299, 900 624, 901 624, 906 624, 907 624 with 10 digits. -->
10024 <nationalNumberPattern>
10029 </nationalNumberPattern>
10030 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10031 <exampleNumber>9016247890</exampleNumber>
10034 <!-- 844 040 6, 844 090 6, 845 624, 870 624 with 10 digits. -->
10035 <nationalNumberPattern>
10043 </nationalNumberPattern>
10044 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10045 <exampleNumber>8456247890</exampleNumber>
10047 <!-- Other numbers as per GB. -->
10049 <nationalNumberPattern>70\d{8}</nationalNumberPattern>
10050 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10051 <exampleNumber>7012345678</exampleNumber>
10054 <nationalNumberPattern>56\d{8}</nationalNumberPattern>
10055 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10056 <exampleNumber>5612345678</exampleNumber>
10059 <!-- 308 162, 33d, 344 040 6, 344 090 6, 345 624, 370 624, 372 299, 55 with 10 digits. -->
10060 <nationalNumberPattern>
10074 </nationalNumberPattern>
10075 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10076 <exampleNumber>5512345678</exampleNumber>
10081 <!-- Note that several changes in area codes have occurred since the numbering plan was released
10082 - fixed line changes are notified on the http://www.bsnl.co.in website. Area codes can be
10083 verified here at http://dq.ndc.bsnl.co.in/bsnl-web/stdSearch.seam. -->
10084 <territory id="IN" countryCode="91" internationalPrefix="00" nationalPrefix="0"
10085 nationalPrefixFormattingRule="$NP$FG" nationalPrefixOptionalWhenFormatting="true"
10086 mobileNumberPortableRegion="true">
10088 <sourceUrl>http://www.itu.int/oth/T0202000063/en</sourceUrl>
10089 <sourceUrl>http://en.wikipedia.org/wiki/%2B91</sourceUrl>
10090 <sourceUrl>http://www.coai.in/msccodes.php</sourceUrl>
10093 <!-- Mobile numbers. -->
10094 <numberFormat pattern="(\d{5})(\d{5})">
10202 <format>$1 $2</format>
10204 <!-- 2 digits area code -->
10205 <numberFormat pattern="(\d{2})(\d{4})(\d{4})">
10214 <format>$1 $2 $3</format>
10216 <!-- 3 digit area codes that don't clash with mobile patterns. -->
10217 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
10273 <format>$1 $2 $3</format>
10275 <!-- Three-digit area codes that potentially overlap with mobile. -->
10276 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
10302 <format>$1 $2 $3</format>
10304 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
10316 <format>$1 $2 $3</format>
10318 <!-- 4 digits area code -->
10319 <!-- Fallback for fixed-line numbers. -->
10320 <numberFormat pattern="(\d{4})(\d{3})(\d{3})">
10328 <format>$1 $2 $3</format>
10330 <numberFormat nationalPrefixFormattingRule="$FG"
10331 pattern="(1600)(\d{2})(\d{4})">
10332 <leadingDigits>160</leadingDigits>
10333 <leadingDigits>1600</leadingDigits>
10334 <format>$1 $2 $3</format>
10336 <numberFormat nationalPrefixFormattingRule="$FG"
10337 pattern="(1800)(\d{4,5})">
10338 <leadingDigits>180</leadingDigits>
10339 <leadingDigits>1800</leadingDigits>
10340 <format>$1 $2</format>
10342 <numberFormat nationalPrefixFormattingRule="$FG"
10343 pattern="(18[06]0)(\d{2,4})(\d{4})">
10344 <leadingDigits>18[06]</leadingDigits>
10345 <leadingDigits>18[06]0</leadingDigits>
10346 <format>$1 $2 $3</format>
10348 <numberFormat nationalPrefixFormattingRule="$FG"
10349 pattern="(140)(\d{3})(\d{4})">
10350 <leadingDigits>140</leadingDigits>
10351 <format>$1 $2 $3</format>
10353 <!-- Televoting numbers. Formatting information is from
10354 http://www.bsnl.co.in/service/telev.htm -->
10355 <numberFormat nationalPrefixFormattingRule="$FG"
10356 pattern="(\d{4})(\d{3})(\d{4})(\d{2})">
10357 <leadingDigits>18[06]</leadingDigits>
10364 <format>$1 $2 $3 $4</format>
10366 </availableFormats>
10368 <nationalNumberPattern>
10371 </nationalNumberPattern>
10372 <possibleNumberPattern>\d{6,13}</possibleNumberPattern>
10374 <noInternationalDialling>
10375 <nationalNumberPattern>
10389 </nationalNumberPattern>
10390 <possibleNumberPattern>\d{8,13}</possibleNumberPattern>
10391 <exampleNumber>1800123456</exampleNumber>
10392 </noInternationalDialling>
10394 <!-- This is a list of the 2 and 3 digit area codes and the first 3 digits of 4 digit area
10395 codes, so we can check the following digit belongs to one of the operator-codes (2-7).
10396 Operator codes are from wikipedia, with the addition of 5 (HFCL Infotel in some areas).
10397 Not all operator codes are available in all areas, but we don't maintain that
10399 Area codes starting with a 7 are listed separately, since the prefixes need to be more
10400 detailed so they clash less with mobile phone prefixes. -->
10401 <nationalNumberPattern>
10571 </nationalNumberPattern>
10572 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
10573 <exampleNumber>1123456789</exampleNumber>
10575 <!-- http://en.wikipedia.org/wiki/Mobile_telephone_numbering_in_India -->
10576 <!-- The document titled "List of MSC codes" linked off
10577 http://www.dot.gov.in/access-services/national-numbering-plan-2003 was helpful but last
10578 updated 2012 - more updates at http://www.dot.gov.in/access-services/allotment-msc-codes. -->
10580 <!-- A couple of additional prefixes found neither on the wikipedia page nor in the MSC
10581 codes list, are added because SMS messages have been successfully sent to these
10582 numbers. It seems almost impossible to know for some of these numbers whether they are
10583 land-line or mobile, since the ranges overlap. Extra prefixes added: 7601, 768[567],
10584 7695, 8299, 8309. New prefixes were also added based on the document provided from
10585 mobile carriers: https://code.google.com/p/libphonenumber/issues/detail?id=260 -->
10586 <nationalNumberPattern>
10671 </nationalNumberPattern>
10672 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10673 <exampleNumber>9123456789</exampleNumber>
10676 <!-- Information gathered from sites such as
10677 http://www.surfindia.com/india-facts/toll-free-no.html and
10678 http://indmusings.blogspot.com/2008/09/free-help-line-numbersindia.html
10679 http://www.bsnl.co.in/service/telev.htm -->
10680 <nationalNumberPattern>
10688 </nationalNumberPattern>
10689 <possibleNumberPattern>\d{8,13}</possibleNumberPattern>
10690 <exampleNumber>1800123456</exampleNumber>
10693 <!-- Only televoting numbers are covered here for now. The 900 numbers are not covered
10694 because they overlap with mobile, and we haven't found any real numbers online. -->
10695 <nationalNumberPattern>186[12]\d{9}</nationalNumberPattern>
10696 <possibleNumberPattern>\d{13}</possibleNumberPattern>
10697 <exampleNumber>1861123456789</exampleNumber>
10700 <!-- While described as "universal numbers" in the numbering plan, evidence suggests
10701 that 1860 number are best described as shared cost. See "Call Local Service" in:
10702 http://www.tatadocomo.com/corporates/toll-free.aspx -->
10703 <nationalNumberPattern>1860\d{7}</nationalNumberPattern>
10704 <possibleNumberPattern>\d{11}</possibleNumberPattern>
10705 <exampleNumber>18603451234</exampleNumber>
10708 <!-- Telemarketing numbers: http://en.wikipedia.org/wiki/Telephone_numbers_in_India -->
10709 <nationalNumberPattern>140\d{7}</nationalNumberPattern>
10710 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10711 <exampleNumber>1409305260</exampleNumber>
10715 <!-- British Indian Ocean Territory / Diego Garcia -->
10716 <territory id="IO" countryCode="246" internationalPrefix="00">
10718 <sourceUrl>http://www.itu.int/oth/T0202000039/en</sourceUrl>
10721 <numberFormat pattern="(\d{3})(\d{4})">
10722 <format>$1 $2</format>
10724 </availableFormats>
10726 <nationalNumberPattern>3\d{6}</nationalNumberPattern>
10727 <possibleNumberPattern>\d{7}</possibleNumberPattern>
10730 <nationalNumberPattern>37\d{5}</nationalNumberPattern>
10731 <exampleNumber>3709100</exampleNumber>
10734 <nationalNumberPattern>38\d{5}</nationalNumberPattern>
10735 <exampleNumber>3801234</exampleNumber>
10740 <territory id="IQ" countryCode="964" internationalPrefix="00"
10741 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
10743 <sourceUrl>http://en.wikipedia.org/wiki/%2B964</sourceUrl>
10744 <sourceUrl>http://wtng.info/wtng-964-ik.html</sourceUrl>
10747 <numberFormat pattern="(1)(\d{3})(\d{4})">
10748 <leadingDigits>1</leadingDigits>
10749 <format>$1 $2 $3</format>
10751 <numberFormat pattern="([2-6]\d)(\d{3})(\d{3,4})">
10752 <leadingDigits>[2-6]</leadingDigits>
10753 <format>$1 $2 $3</format>
10755 <numberFormat pattern="(7\d{2})(\d{3})(\d{4})">
10756 <leadingDigits>7</leadingDigits>
10757 <format>$1 $2 $3</format>
10759 </availableFormats>
10761 <nationalNumberPattern>[1-7]\d{7,9}</nationalNumberPattern>
10762 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
10765 <nationalNumberPattern>
10774 </nationalNumberPattern>
10775 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
10776 <exampleNumber>12345678</exampleNumber>
10779 <nationalNumberPattern>7[3-9]\d{8}</nationalNumberPattern>
10780 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10781 <exampleNumber>7912345678</exampleNumber>
10783 <!-- No tollFree or premiumRate information can be found. -->
10786 <!-- Iran, Islamic Republic of -->
10787 <territory id="IR" countryCode="98" internationalPrefix="00"
10788 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
10790 <sourceUrl>http://en.wikipedia.org/wiki/%2B98</sourceUrl>
10791 <sourceUrl>http://www.itu.int/oth/T0202000066/en</sourceUrl>
10792 <sourceUrl>http://www.tct.ir/?siteid=1&pageid=195</sourceUrl>
10793 <sourceUrl>http://118.tct.ir/citycode.htm</sourceUrl>
10796 <!-- Formatting follows wikipedia. -->
10797 <numberFormat pattern="(21)(\d{3,5})">
10798 <leadingDigits>21</leadingDigits>
10799 <format>$1 $2</format>
10801 <numberFormat pattern="(2[15])(\d{3})(\d{3,4})">
10808 <format>$1 $2 $3</format>
10810 <numberFormat pattern="(\d{2})(\d{4})(\d{4})">
10818 <format>$1 $2 $3</format>
10820 <numberFormat pattern="(\d{3})(\d{3})(\d{3,4})">
10825 <format>$1 $2 $3</format>
10827 <numberFormat pattern="(\d{3})(\d{2})(\d{2,3})">
10832 <format>$1 $2 $3</format>
10834 <numberFormat pattern="(\d{3})(\d{3})">
10839 <format>$1 $2</format>
10841 </availableFormats>
10843 <nationalNumberPattern>
10850 </nationalNumberPattern>
10851 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
10854 <!-- We are following the more specific lengths specified in the communication in the ITU
10855 doc of 26.VIII.2012, rather than the brief summary lengths (which actually contradict).
10856 The prefixes have been verified by looking at the Persian telecommunications site.
10857 22[189], 29[12] have become 21, as part of the shift to unify prefixes. 746 was also
10858 found on the website http://www.tct.ir/?siteid=1&pageid=410&siteid=1 but this seems
10860 <nationalNumberPattern>
10939 </nationalNumberPattern>
10940 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
10941 <exampleNumber>2123456789</exampleNumber>
10944 <nationalNumberPattern>
10949 </nationalNumberPattern>
10950 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10951 <exampleNumber>9123456789</exampleNumber>
10954 <nationalNumberPattern>943\d{7}</nationalNumberPattern>
10955 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10956 <exampleNumber>9432123456</exampleNumber>
10958 <!-- No tollFree or premiumRate information can be found. -->
10960 <!-- Includes VSAT and Boomehen Satellite numbers. -->
10961 <nationalNumberPattern>
10966 </nationalNumberPattern>
10967 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10968 <exampleNumber>9932123456</exampleNumber>
10971 <!-- MCI Public Relations numbers -->
10972 <nationalNumberPattern>9990\d{0,6}</nationalNumberPattern>
10973 <exampleNumber>9990123456</exampleNumber>
10978 <territory id="IS" countryCode="354" internationalPrefix="00" mobileNumberPortableRegion="true">
10980 <sourceUrl>http://www.pta.is/default.aspx?cat_id=85</sourceUrl>
10981 <sourceUrl>http://www.pfs.is/default.aspx?cat_id=14&module_id=210&element_id=4</sourceUrl>
10984 <numberFormat pattern="(\d{3})(\d{4})">
10985 <leadingDigits>[4-9]</leadingDigits>
10986 <format>$1 $2</format>
10988 <numberFormat pattern="(3\d{2})(\d{3})(\d{3})">
10989 <leadingDigits>3</leadingDigits>
10990 <format>$1 $2 $3</format>
10992 </availableFormats>
10994 <nationalNumberPattern>
10997 </nationalNumberPattern>
10998 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
11001 <!-- Including 87[23] XXXX here as it is listed as a fax number. -->
11002 <nationalNumberPattern>
11025 </nationalNumberPattern>
11026 <possibleNumberPattern>\d{7}</possibleNumberPattern>
11027 <exampleNumber>4101234</exampleNumber>
11030 <!-- TETRA = TErrestrial Trunked RAdio is included under mobile. -->
11031 <nationalNumberPattern>
11054 </nationalNumberPattern>
11055 <exampleNumber>6111234</exampleNumber>
11058 <!-- The UIFN numbers mentioned in the Excel document are not yet included since no real
11059 numbers can be found online, and it is not clear what these are; the standard
11060 definition would have them under the +800 country code instead of Iceland. -->
11061 <nationalNumberPattern>800\d{4}</nationalNumberPattern>
11062 <possibleNumberPattern>\d{7}</possibleNumberPattern>
11063 <exampleNumber>8001234</exampleNumber>
11066 <nationalNumberPattern>90\d{5}</nationalNumberPattern>
11067 <possibleNumberPattern>\d{7}</possibleNumberPattern>
11068 <exampleNumber>9011234</exampleNumber>
11071 <nationalNumberPattern>49\d{5}</nationalNumberPattern>
11072 <possibleNumberPattern>\d{7}</possibleNumberPattern>
11073 <exampleNumber>4921234</exampleNumber>
11076 <nationalNumberPattern>
11086 </nationalNumberPattern>
11087 <possibleNumberPattern>\d{7}</possibleNumberPattern>
11088 <exampleNumber>6201234</exampleNumber>
11093 <territory id="IT" countryCode="39" internationalPrefix="00" leadingZeroPossible="true"
11094 mobileNumberPortableRegion="true">
11096 <sourceUrl>http://en.wikipedia.org/wiki/%2B39</sourceUrl>
11099 <!-- The leading zero for fixed numbers will be prepended before the matching of these
11100 regular expressions. -->
11101 <numberFormat pattern="(\d{2})(\d{3,4})(\d{4})">
11106 <format>$1 $2 $3</format>
11108 <numberFormat pattern="(0[26])(\d{4})(\d{5})">
11109 <leadingDigits>0[26]</leadingDigits>
11110 <format>$1 $2 $3</format>
11112 <numberFormat pattern="(0[26])(\d{4,6})">
11113 <leadingDigits>0[26]</leadingDigits>
11114 <format>$1 $2</format>
11116 <numberFormat pattern="(0\d{2})(\d{3,4})(\d{4})">
11117 <leadingDigits>0[13-57-9][0159]</leadingDigits>
11118 <format>$1 $2 $3</format>
11120 <numberFormat pattern="(\d{3})(\d{3,6})">
11140 <format>$1 $2</format>
11142 <numberFormat pattern="(0\d{3})(\d{3})(\d{4})">
11143 <leadingDigits>0[13-57-9][2-46-8]</leadingDigits>
11144 <format>$1 $2 $3</format>
11146 <numberFormat pattern="(0\d{3})(\d{2,6})">
11147 <leadingDigits>0[13-57-9][2-46-8]</leadingDigits>
11148 <format>$1 $2</format>
11150 <numberFormat pattern="(\d{3})(\d{3})(\d{3,4})">
11170 <format>$1 $2 $3</format>
11172 <numberFormat pattern="(\d{4})(\d{4})">
11173 <leadingDigits>894</leadingDigits>
11174 <leadingDigits>894[5-9]</leadingDigits>
11175 <format>$1 $2</format>
11177 <numberFormat pattern="(\d{3})(\d{4})(\d{4})">
11178 <leadingDigits>3</leadingDigits>
11179 <format>$1 $2 $3</format>
11181 </availableFormats>
11183 <nationalNumberPattern>
11189 </nationalNumberPattern>
11190 <possibleNumberPattern>\d{6,11}</possibleNumberPattern>
11192 <noInternationalDialling>
11193 <nationalNumberPattern>848\d{6}</nationalNumberPattern>
11194 <possibleNumberPattern>\d{9}</possibleNumberPattern>
11195 <exampleNumber>848123456</exampleNumber>
11196 </noInternationalDialling>
11198 <!-- Maximum lengths in the ITU document are 10, but it states above that for numbers
11199 starting with 01, the maximum length is in fact 11. In fact, online, numbers can be
11200 found with other prefixes that are 11 digits long as well, so we allow it for all the
11201 three and four digit area codes. -->
11202 <nationalNumberPattern>
11263 </nationalNumberPattern>
11264 <possibleNumberPattern>\d{6,11}</possibleNumberPattern>
11265 <exampleNumber>0212345678</exampleNumber>
11268 <!-- According to wikipedia, TIM mobile numbers can be 9 digits long, but all others are 10
11269 digits long. However, a user reported the existence of new 11 digit long numbers for
11270 TIM with the prefix 33X, so this is supported also. -->
11271 <nationalNumberPattern>
11277 </nationalNumberPattern>
11278 <possibleNumberPattern>\d{9,11}</possibleNumberPattern>
11279 <exampleNumber>3123456789</exampleNumber>
11282 <nationalNumberPattern>
11287 </nationalNumberPattern>
11288 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
11289 <exampleNumber>800123456</exampleNumber>
11292 <!-- Adding 0878 numbers, as per
11293 http://www.aduc.it/notizia/polizia+mette+allerta+sul+numero+0878_73136.php. Other
11294 premium prefixes are mentioned here:
11295 http://www.dirittodellinformatica.it/news/telefonia/agcom-blocco-permanente-prefissi-144-166-892-899-20080520241.html -->
11296 <nationalNumberPattern>
11314 </nationalNumberPattern>
11315 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
11316 <exampleNumber>899123456</exampleNumber>
11319 <nationalNumberPattern>
11324 </nationalNumberPattern>
11325 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
11326 <exampleNumber>848123456</exampleNumber>
11329 <nationalNumberPattern>
11334 </nationalNumberPattern>
11335 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
11336 <exampleNumber>1781234567</exampleNumber>
11339 <nationalNumberPattern>55\d{8}</nationalNumberPattern>
11340 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11341 <exampleNumber>5512345678</exampleNumber>
11346 <!-- Inherits formatting rules from the UK. -->
11347 <territory id="JE" countryCode="44" internationalPrefix="00"
11348 nationalPrefix="0" preferredExtnPrefix=" x" nationalPrefixFormattingRule="$NP$FG">
11350 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom</sourceUrl>
11351 <sourceUrl>http://www.jcra.je/cms3/v2/public/cmsChild.asp?pageID=1024&childID=1036</sourceUrl>
11354 <nationalNumberPattern>[135789]\d{6,9}</nationalNumberPattern>
11355 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
11358 <nationalNumberPattern>1534[2-9]\d{5}</nationalNumberPattern>
11359 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11360 <exampleNumber>1534250123</exampleNumber>
11361 </areaCodeOptional>
11362 <!-- Specific to JE. -->
11364 <!-- 1534 with 10 digits. -->
11365 <nationalNumberPattern>1534\d{6}</nationalNumberPattern>
11366 <exampleNumber>1534456789</exampleNumber>
11369 <!-- 7509, 7700, 7797, 7829, 7937 with 10 digits. -->
11370 <nationalNumberPattern>
11380 </nationalNumberPattern>
11381 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11382 <exampleNumber>7797123456</exampleNumber>
11385 <!-- Pager numbers as per GB. -->
11386 <nationalNumberPattern>
11397 </nationalNumberPattern>
11398 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11399 <exampleNumber>7640123456</exampleNumber>
11401 <!-- Specific to JE. -->
11403 <!-- 800 735, 800 781, 808 901 with 10 digits. -->
11404 <nationalNumberPattern>
11412 </nationalNumberPattern>
11413 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11414 <exampleNumber>8007354567</exampleNumber>
11417 <!-- 871 206, 900 665, 900 669, 901 810, 907 107, 907 155 with 10 digits. -->
11418 <nationalNumberPattern>
11430 </nationalNumberPattern>
11431 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11432 <exampleNumber>9018105678</exampleNumber>
11435 <!-- 844 405, 844 442, 844 469, 844 703, 845 041, 845 800, 870 002 with 10 digits. -->
11436 <nationalNumberPattern>
11454 </nationalNumberPattern>
11455 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11456 <exampleNumber>8447034567</exampleNumber>
11459 <!-- 70 1511 with 10 digits. -->
11460 <nationalNumberPattern>701511\d{4}</nationalNumberPattern>
11461 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11462 <exampleNumber>7015115678</exampleNumber>
11465 <!-- VoIP numbers as per GB. -->
11466 <nationalNumberPattern>56\d{8}</nationalNumberPattern>
11467 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11468 <exampleNumber>5612345678</exampleNumber>
11471 <!-- 300 735, 300 781, 308 901, 33d, 344 405, 344 442, 344 469, 344 703, 345 041, 345 800,
11472 370 002, 371 206, 55 with 10 digits. -->
11473 <nationalNumberPattern>
11503 </nationalNumberPattern>
11504 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11505 <exampleNumber>5512345678</exampleNumber>
11510 <territory id="JM" countryCode="1" leadingDigits="876" nationalPrefix="1"
11511 internationalPrefix="011">
11513 <sourceUrl>http://www.itu.int/oth/T020200006C/en</sourceUrl>
11516 <!-- NANPA country - uses US formatting rules -->
11517 <nationalNumberPattern>[589]\d{9}</nationalNumberPattern>
11518 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
11521 <!-- Numbers have been found online for ranges 62x,63x, 656, 66[2-589]. -->
11522 <nationalNumberPattern>
11554 </nationalNumberPattern>
11555 <exampleNumber>8765123456</exampleNumber>
11558 <!-- Adding 27, 28, 299, 31, 508, 527 and 566 as extra prefixes, as they have been found to
11559 be valid by sending SMSs and looking at online number lookup sites.
11561 Numbers have been found online for the following ranges 29x, 53x, 54x, 55x, 56x.
11562 Most have mobile numbers online so we have put them under mobile but is possible
11563 they are a mixture of fixed line and mobile. -->
11564 <nationalNumberPattern>
11585 </nationalNumberPattern>
11586 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11587 <exampleNumber>8762101234</exampleNumber>
11590 <nationalNumberPattern>
11599 </nationalNumberPattern>
11600 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11601 <exampleNumber>8002123456</exampleNumber>
11604 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
11605 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11606 <exampleNumber>9002123456</exampleNumber>
11609 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
11610 <nationalNumberPattern>
11618 </nationalNumberPattern>
11619 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11620 <exampleNumber>5002345678</exampleNumber>
11625 <territory id="JO" countryCode="962" internationalPrefix="00"
11626 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
11627 mobileNumberPortableRegion="true">
11629 <sourceUrl>http://www.trc.gov.jo/images/stories/pdf/NNP_ver200[1].pdf?lang=english</sourceUrl>
11630 <sourceUrl>http://www.itu.int/oth/T020200006E/en</sourceUrl>
11631 <sourceUrl>http://en.wikipedia.org/wiki/%2B962</sourceUrl>
11634 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
11635 pattern="(\d)(\d{3})(\d{4})">
11640 <format>$1 $2 $3</format>
11642 <numberFormat pattern="(7)(\d{4})(\d{4})">
11643 <leadingDigits>7[457-9]</leadingDigits>
11644 <format>$1 $2 $3</format>
11646 <numberFormat pattern="(\d{3})(\d{5,6})">
11652 <format>$1 $2</format>
11654 </availableFormats>
11656 <nationalNumberPattern>[235-9]\d{7,8}</nationalNumberPattern>
11657 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
11660 <nationalNumberPattern>
11731 </nationalNumberPattern>
11732 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
11733 <exampleNumber>62001234</exampleNumber>
11736 <nationalNumberPattern>
11743 </nationalNumberPattern>
11744 <possibleNumberPattern>\d{9}</possibleNumberPattern>
11745 <exampleNumber>790123456</exampleNumber>
11748 <nationalNumberPattern>
11753 </nationalNumberPattern>
11754 <possibleNumberPattern>\d{9}</possibleNumberPattern>
11755 <exampleNumber>746612345</exampleNumber>
11758 <nationalNumberPattern>80\d{6}</nationalNumberPattern>
11759 <possibleNumberPattern>\d{8}</possibleNumberPattern>
11760 <exampleNumber>80012345</exampleNumber>
11763 <nationalNumberPattern>900\d{5}</nationalNumberPattern>
11764 <possibleNumberPattern>\d{8}</possibleNumberPattern>
11765 <exampleNumber>90012345</exampleNumber>
11768 <nationalNumberPattern>85\d{6}</nationalNumberPattern>
11769 <possibleNumberPattern>\d{8}</possibleNumberPattern>
11770 <exampleNumber>85012345</exampleNumber>
11773 <nationalNumberPattern>70\d{7}</nationalNumberPattern>
11774 <possibleNumberPattern>\d{9}</possibleNumberPattern>
11775 <exampleNumber>700123456</exampleNumber>
11778 <!-- These numbers are Location Independent Services / Fixed cost according to
11779 http://www.trc.gov.jo -->
11780 <nationalNumberPattern>
11785 </nationalNumberPattern>
11786 <possibleNumberPattern>\d{8}</possibleNumberPattern>
11787 <exampleNumber>88101234</exampleNumber>
11792 <territory id="JP" countryCode="81" internationalPrefix="010" nationalPrefix="0"
11793 nationalPrefixFormattingRule="$NP$FG" leadingZeroPossible="true"
11794 mobileNumberPortableRegion="true">
11796 <sourceUrl>http://www.soumu.go.jp/main_sosiki/joho_tsusin/top/tel_number/number_shitei.html</sourceUrl>
11797 <sourceUrl>http://www.numberingplans.com/?page=dialling&sub=areacodes&ac=JP</sourceUrl>
11800 <!-- Toll-free, premium-rate and UAN numbers -->
11801 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
11809 <format>$1-$2-$3</format>
11811 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
11812 <leadingDigits>800</leadingDigits>
11813 <format>$1-$2-$3</format>
11815 <!-- National-only toll-free numbers (0037, 0066, 0077 and 0088). -->
11816 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{4})">
11817 <leadingDigits>0077</leadingDigits>
11818 <format>$1-$2</format>
11819 <intlFormat>NA</intlFormat>
11821 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{2})(\d{3,4})">
11822 <leadingDigits>0077</leadingDigits>
11823 <format>$1-$2-$3</format>
11824 <intlFormat>NA</intlFormat>
11826 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{2})(\d{4})">
11827 <leadingDigits>0088</leadingDigits>
11828 <format>$1-$2-$3</format>
11829 <intlFormat>NA</intlFormat>
11831 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{3})(\d{3,4})">
11838 <format>$1-$2-$3</format>
11839 <intlFormat>NA</intlFormat>
11841 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{4})(\d{4,5})">
11848 <format>$1-$2-$3</format>
11849 <intlFormat>NA</intlFormat>
11851 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{5})(\d{5,6})">
11858 <format>$1-$2-$3</format>
11859 <intlFormat>NA</intlFormat>
11861 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{6})(\d{6,7})">
11868 <format>$1-$2-$3</format>
11869 <intlFormat>NA</intlFormat>
11871 <!-- Some leading digits are explicitly reserved for a particular purpose.
11872 We handle them first in this rule, and let the following rules ignore those exceptions.
11873 Note: The rule here is not in the files we rely on when creating the other rules.
11874 We would need to manually modify it if the Japanese goverment
11875 decided to change the rule.
11880 "70": PHS (Personal Handy-phone System, which has been used in Japan
11881 with Non-3G, Japanese-specific protocol).
11882 See also http://ja.wikipedia.org/wiki/PHS (Japanese)
11883 "80" and "90": Mobile phone
11885 <numberFormat pattern="(\d{2})(\d{4})(\d{4})">
11890 <format>$1-$2-$3</format>
11892 <!-- The order of the reg-exps are important.
11893 Examples (not all):
11894 - "15": 15420 -> 154-20, 15472 -> 1547-2, 15410 -> 15-410,
11895 - "22": 22200 -> 22-200, 22300 -> 22-300, 22320 -> 223-20, 22350 -> 22-350
11896 - "42": 42000 -> 4-2000, 42901 -> 4-2901, 42910 -> 42-910
11897 - "82": 82200 -> 82-200, 82020 -> 820-20, 82400 -> 82-400
11898 - "99": 99400 -> 99-400, 99430 -> 994-30, 99692 -> 9969-2, 99750 -> 997-50
11899 - "993": 99330 -> 993-30, 99331 -> 99-331, 99332 -> 993-32
11901 <numberFormat pattern="(\d{4})(\d)(\d{4})">
12022 <format>$1-$2-$3</format>
12024 <numberFormat pattern="(\d{3})(\d{2})(\d{4})">
12489 <format>$1-$2-$3</format>
12491 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
12604 <format>$1-$2-$3</format>
12606 <numberFormat pattern="(\d{3})(\d{2})(\d{4})">
12617 <format>$1-$2-$3</format>
12619 <numberFormat pattern="(\d)(\d{4})(\d{4})">
12628 <format>$1-$2-$3</format>
12630 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
12631 <leadingDigits>[2479][1-9]</leadingDigits>
12632 <format>$1-$2-$3</format>
12634 </availableFormats>
12636 <nationalNumberPattern>
12643 </nationalNumberPattern>
12644 <possibleNumberPattern>\d{8,17}</possibleNumberPattern>
12646 <noInternationalDialling>
12647 <!-- Toll-free numbers with a leading "00" cannot be dialled internationally. -->
12648 <nationalNumberPattern>
12659 </nationalNumberPattern>
12660 <exampleNumber>00777012</exampleNumber>
12661 </noInternationalDialling>
12663 <nationalNumberPattern>
12704 </nationalNumberPattern>
12705 <possibleNumberPattern>\d{9}</possibleNumberPattern>
12706 <exampleNumber>312345678</exampleNumber>
12709 <nationalNumberPattern>[7-9]0[1-9]\d{7}</nationalNumberPattern>
12710 <possibleNumberPattern>\d{10}</possibleNumberPattern>
12711 <exampleNumber>7012345678</exampleNumber>
12714 <nationalNumberPattern>20\d{8}</nationalNumberPattern>
12715 <possibleNumberPattern>\d{10}</possibleNumberPattern>
12716 <exampleNumber>2012345678</exampleNumber>
12719 <!-- http://www.kddi.com/english/business/free_call_dx/number.html and
12720 http://tm.softbank.jp/english/business/phone_service/freecall_sp/index.html
12721 http://eonet.jp/home/denwa/service/access.html
12722 http://ci.fusioncom.co.jp/feature/
12723 http://www.auhikari.jp/service/tel/connection/index.html -->
12724 <!-- Note that in fact, the number length for 0037 and 0066 numbers should extend to 21
12725 digits, confirmed with Yahoo JP. However, this extends well beyond the maximum number
12726 length allowed by ITU and hence our library, so we only allow numbers up to 17 digits
12727 for now (including both leading 00s). -->
12728 <nationalNumberPattern>
12741 </nationalNumberPattern>
12742 <exampleNumber>120123456</exampleNumber>
12745 <nationalNumberPattern>990\d{6}</nationalNumberPattern>
12746 <possibleNumberPattern>\d{9}</possibleNumberPattern>
12747 <exampleNumber>990123456</exampleNumber>
12750 <nationalNumberPattern>60\d{7}</nationalNumberPattern>
12751 <possibleNumberPattern>\d{9}</possibleNumberPattern>
12752 <exampleNumber>601234567</exampleNumber>
12755 <nationalNumberPattern>50[1-9]\d{7}</nationalNumberPattern>
12756 <possibleNumberPattern>\d{10}</possibleNumberPattern>
12757 <exampleNumber>5012345678</exampleNumber>
12759 <!-- Storing "unified number service" as UAN. -->
12761 <nationalNumberPattern>570\d{6}</nationalNumberPattern>
12762 <possibleNumberPattern>\d{9}</possibleNumberPattern>
12763 <exampleNumber>570123456</exampleNumber>
12768 <territory id="KE" countryCode="254" internationalPrefix="000"
12769 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
12770 mobileNumberPortableRegion="true">
12772 <sourceUrl>http://www.cck.go.ke/licensing/numbering/plan.html</sourceUrl>
12773 <sourceUrl>http://en.wikipedia.org/wiki/+254</sourceUrl>
12776 <numberFormat pattern="(\d{2})(\d{5,7})">
12777 <leadingDigits>[24-6]</leadingDigits>
12778 <format>$1 $2</format>
12780 <numberFormat pattern="(\d{3})(\d{6,7})">
12781 <leadingDigits>7</leadingDigits>
12782 <format>$1 $2</format>
12784 <numberFormat pattern="(\d{3})(\d{3})(\d{3,4})">
12785 <leadingDigits>[89]</leadingDigits>
12786 <format>$1 $2 $3</format>
12788 </availableFormats>
12790 <nationalNumberPattern>
12793 </nationalNumberPattern>
12794 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
12797 <!-- The prefixes 046, 050, 058, and 066 may appear online in less than 9 digits but
12798 calling them has confirmed these are outdated. However a 7-digit 068 number was
12799 dialed successfully so we consider these valid despite the plan. -->
12800 <nationalNumberPattern>
12814 </nationalNumberPattern>
12815 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
12816 <exampleNumber>202012345</exampleNumber>
12819 <nationalNumberPattern>
12826 </nationalNumberPattern>
12827 <possibleNumberPattern>\d{9}</possibleNumberPattern>
12828 <exampleNumber>712123456</exampleNumber>
12831 <!-- Longer numbers have been found than the plan suggests, so we support them here too. -->
12832 <!-- The plan suggests 0844 and 0845 may belong here, but these are short numbers rather
12834 http://www.telkomkenya.8k.com/Products/v/2.html
12835 http://www.kenya-advisor.com/phone-calls-kenya.html
12836 http://www.telkom.co.ke/index.php?option=com_content&view=article&id=64&Itemid=98 -->
12837 <nationalNumberPattern>800[24-8]\d{5,6}</nationalNumberPattern>
12838 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
12839 <exampleNumber>800223456</exampleNumber>
12842 <nationalNumberPattern>900[02-9]\d{5}</nationalNumberPattern>
12843 <possibleNumberPattern>\d{9}</possibleNumberPattern>
12844 <exampleNumber>900223456</exampleNumber>
12848 <!-- Kyrgyzstan -->
12849 <territory id="KG" countryCode="996" internationalPrefix="00"
12850 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
12852 <sourceUrl>http://www.itu.int/oth/T0202000074/en</sourceUrl>
12855 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
12860 <format>$1 $2 $3</format>
12862 <numberFormat pattern="(\d{4})(\d{5})">
12869 <format>$1 $2</format>
12871 <numberFormat pattern="(\d{3})(\d{3})(\d)(\d{3})">
12872 <leadingDigits>8</leadingDigits>
12873 <format>$1 $2 $3 $4</format>
12875 </availableFormats>
12877 <nationalNumberPattern>[235-8]\d{8,9}</nationalNumberPattern>
12878 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
12881 <!-- Extra area codes found on Web Search: 3147. -->
12882 <nationalNumberPattern>
12930 </nationalNumberPattern>
12931 <exampleNumber>312123456</exampleNumber>
12934 <nationalNumberPattern>
12940 </nationalNumberPattern>
12941 <possibleNumberPattern>\d{9}</possibleNumberPattern>
12942 <exampleNumber>700123456</exampleNumber>
12945 <!-- Add an extra digit to the number pattern since the only toll-free number found on Web
12946 Search contains 10 digits instead of the 9 digits specified in the ITU document. -->
12947 <nationalNumberPattern>800\d{6,7}</nationalNumberPattern>
12948 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
12949 <exampleNumber>800123456</exampleNumber>
12951 <!-- No premiumRate information can be found. -->
12952 <!-- http://www.iru-nelti.org/index/info-app/id.216 -->
12956 <territory id="KH" countryCode="855" internationalPrefix="00[14-9]"
12957 nationalPrefix="0">
12959 <sourceUrl>http://www.itu.int/oth/T0202000023/en</sourceUrl>
12960 <sourceUrl>http://en.wikipedia.org/wiki/+855</sourceUrl>
12963 <numberFormat pattern="(\d{2})(\d{3})(\d{3,4})" nationalPrefixFormattingRule="$NP$FG">
12968 <format>$1 $2 $3</format>
12970 <numberFormat pattern="(1[89]00)(\d{3})(\d{3})">
12971 <leadingDigits>1[89]0</leadingDigits>
12972 <format>$1 $2 $3</format>
12974 </availableFormats>
12976 <nationalNumberPattern>[1-9]\d{7,9}</nationalNumberPattern>
12977 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
12980 <!-- Allowing subscriber numbers beginning with 5 since Mobitel have informed us they have
12981 started issuing fixed-line numbers like this. Apparently, mobile-company-issued
12982 fixed-line numbers are one digit longer than government-issued numbers. Moreover, the
12983 range beginning with 6 seems to include some numbers that are one digit longer as well.
12984 Allowing 238\d{6} and 234[234]\d{4} based on information from Cambodia Yellow Pages.
12985 Note that numbers beginning with 234 are split across two patterns. -->
12986 <nationalNumberPattern>
13002 </nationalNumberPattern>
13003 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
13004 <exampleNumber>23756789</exampleNumber>
13007 <!-- SMART uses prefixes 01[056], 070, 08[167] and 09[368].
13009 Mobitel uses 01[1247].
13010 Cellcard uses 0857 and 061.
13011 Extra prefixes found online: 088, 097.
13012 Allowing 9-digit 12, 31, 38 and 76 numbers based on information from Cambodia Yellow
13013 Pages and online search. -->
13014 <nationalNumberPattern>
13036 </nationalNumberPattern>
13037 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
13038 <exampleNumber>91234567</exampleNumber>
13041 <!-- Adding extra prefix 180021 used by tollfreetc.com.kh. -->
13042 <nationalNumberPattern>
13047 </nationalNumberPattern>
13048 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13049 <exampleNumber>1800123456</exampleNumber>
13052 <nationalNumberPattern>
13057 </nationalNumberPattern>
13058 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13059 <exampleNumber>1900123456</exampleNumber>
13064 <!-- We include the national prefix for parsing here just in case numbers can be dialled with a
13065 leading 0 - no numbers online have been found formatted this way, but the ITU document
13066 lists it as a national dialling prefix. -->
13067 <territory id="KI" countryCode="686" internationalPrefix="00"
13068 nationalPrefixForParsing="0">
13070 <sourceUrl>http://www.itu.int/oth/T0202000071/en</sourceUrl>
13072 <!-- Numbers should be formatted as a block." -->
13074 <nationalNumberPattern>
13078 </nationalNumberPattern>
13079 <possibleNumberPattern>\d{5,8}</possibleNumberPattern>
13082 <nationalNumberPattern>
13089 </nationalNumberPattern>
13090 <possibleNumberPattern>\d{5}</possibleNumberPattern>
13091 <exampleNumber>31234</exampleNumber>
13094 <!-- North Tarawa is listed as 720XXXXX-729XXXXX but considering that this deviates from the
13095 pattern followed by every other place, we are assuming 731XXXXX-732XXXXX for now. -->
13096 <nationalNumberPattern>
13102 </nationalNumberPattern>
13103 <possibleNumberPattern>\d{8}</possibleNumberPattern>
13104 <exampleNumber>72012345</exampleNumber>
13107 <!-- ITU refers to these as "Telemedia and audiotext". -->
13108 <nationalNumberPattern>3001\d{4}</nationalNumberPattern>
13109 <exampleNumber>30010000</exampleNumber>
13114 <territory id="KM" countryCode="269" internationalPrefix="00">
13116 <sourceUrl>http://www.itu.int/oth/T020200002D/en</sourceUrl>
13119 <numberFormat pattern="(\d{3})(\d{2})(\d{2})">
13120 <format>$1 $2 $3</format>
13122 </availableFormats>
13124 <nationalNumberPattern>[379]\d{6}</nationalNumberPattern>
13125 <possibleNumberPattern>\d{7}</possibleNumberPattern>
13128 <!-- CDMA phones are included here, as they are considered as an extension of fixed line:
13129 http://www.comorestelecom.km/presentationcdma.php -->
13130 <nationalNumberPattern>
13135 </nationalNumberPattern>
13136 <exampleNumber>7712345</exampleNumber>
13139 <nationalNumberPattern>3[234]\d{5}</nationalNumberPattern>
13140 <exampleNumber>3212345</exampleNumber>
13143 <!-- These are referred to as value-added services in the plan and no further information
13145 <nationalNumberPattern>
13150 </nationalNumberPattern>
13151 <exampleNumber>9001234</exampleNumber>
13155 <!-- Saint Kitts and Nevis -->
13156 <territory id="KN" countryCode="1" leadingDigits="869" nationalPrefix="1"
13157 internationalPrefix="011">
13159 <sourceUrl>http://www.itu.int/oth/T02020000B0/en</sourceUrl>
13162 <!-- NANPA country - uses US formatting rules -->
13163 <nationalNumberPattern>[589]\d{9}</nationalNumberPattern>
13164 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
13167 <!-- Adding the 869 302 prefix as it is used by Marriott Hotels, even though no other record
13168 of it can be found. -->
13169 <nationalNumberPattern>
13181 </nationalNumberPattern>
13182 <exampleNumber>8692361234</exampleNumber>
13185 <!-- Added some more prefixes in the 66 and 76 range from online numbers. -->
13186 <nationalNumberPattern>
13195 </nationalNumberPattern>
13196 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13197 <!-- Example number from the ITU document. -->
13198 <exampleNumber>8697652917</exampleNumber>
13201 <nationalNumberPattern>
13210 </nationalNumberPattern>
13211 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13212 <exampleNumber>8002123456</exampleNumber>
13215 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
13216 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13217 <exampleNumber>9002123456</exampleNumber>
13220 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
13221 <nationalNumberPattern>
13229 </nationalNumberPattern>
13230 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13231 <exampleNumber>5002345678</exampleNumber>
13235 <!-- Korea, Dem. People's Rep. of -->
13236 <territory id="KP" countryCode="850" internationalPrefix="00|99"
13237 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
13239 <sourceUrl>http://en.wikipedia.org/wiki/%2B850</sourceUrl>
13242 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
13243 <leadingDigits>1</leadingDigits>
13244 <format>$1 $2 $3</format>
13246 <numberFormat pattern="(\d)(\d{3})(\d{4})">
13247 <leadingDigits>2</leadingDigits>
13248 <format>$1 $2 $3</format>
13250 <numberFormat pattern="(\d{2})(\d{3})(\d{3})">
13251 <leadingDigits>8</leadingDigits>
13252 <format>$1 $2 $3</format>
13254 </availableFormats>
13256 <nationalNumberPattern>
13259 </nationalNumberPattern>
13260 <possibleNumberPattern>
13263 </possibleNumberPattern>
13265 <noInternationalDialling>
13266 <!-- For numbers starting with 2, only the 2381 range can be dialed internationally. -->
13267 <nationalNumberPattern>
13275 </nationalNumberPattern>
13276 <possibleNumberPattern>\d{8}</possibleNumberPattern>
13277 <exampleNumber>23821234</exampleNumber>
13278 </noInternationalDialling>
13280 <!-- Covers only numbers from Pyongyang and Rason Economic Special Zone. According to
13281 wikipedia, other ranges of phone numbers are top secret, unpublished, and not dialable
13282 from overseas. Also, there is conflicting information about the length of fixed-line
13283 numbers, so here we are following Wikipedia. -->
13284 <nationalNumberPattern>
13287 </nationalNumberPattern>
13288 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
13289 <exampleNumber>21234567</exampleNumber>
13292 <nationalNumberPattern>19[123]\d{7}</nationalNumberPattern>
13293 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13294 <exampleNumber>1921234567</exampleNumber>
13298 <!-- Korea (Rep. of) -->
13300 internationalPrefix
13301 0031, 0033, 0071, 0073 - Special services of KT and DACOM, ignorable
13303 1[4-6]XX-YYYY - Country-wide common number services, display as it is without hyphens -->
13304 <territory id="KR" countryCode="82" internationalPrefix="00(?:[124-68]|[37]\d{2})"
13305 nationalPrefix="0" nationalPrefixForParsing="0(8[1-46-8]|85\d{2})?"
13306 nationalPrefixFormattingRule="$NP$FG" carrierCodeFormattingRule="$NP$CC-$FG"
13307 mobileNumberPortableRegion="true">
13309 <sourceUrl>http://www.itu.int/oth/T0202000072/en</sourceUrl>
13310 <sourceUrl>http://en.wikipedia.org/wiki/%2B82</sourceUrl>
13311 <sourceUrl>http://www.kcc.go.kr/user.do?mode=view&page=P02030300&dc=K02030300&boardId=1074&boardSeq=2349</sourceUrl>
13312 <sourceUrl>http://www.kcc.go.kr/user.do?mode=view&page=P02030300&dc=K02030300&boardId=1074&boardSeq=2240</sourceUrl>
13313 <sourceUrl>http://www.telecentro.co.kr/sub/index.php?job=detail&ebcf_id=faq&page=1&mid=0503&eb_seq=36</sourceUrl>
13316 <numberFormat pattern="(\d{2})(\d{4})(\d{4})">
13339 <format>$1-$2-$3</format>
13341 <numberFormat pattern="(\d{2})(\d{3,4})(\d{4})">
13363 <format>$1-$2-$3</format>
13365 <numberFormat pattern="(\d{3})(\d)(\d{4})">
13366 <leadingDigits>131</leadingDigits>
13367 <leadingDigits>1312</leadingDigits>
13368 <format>$1-$2-$3</format>
13370 <numberFormat pattern="(\d{3})(\d{2})(\d{4})">
13371 <leadingDigits>131</leadingDigits>
13372 <leadingDigits>131[13-9]</leadingDigits>
13373 <format>$1-$2-$3</format>
13375 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
13376 <leadingDigits>13[2-9]</leadingDigits>
13377 <format>$1-$2-$3</format>
13379 <!-- 030 numbers are used for Unified Messaging Services, according to the plan. There is a
13380 limit of what digits may follow the 030, but we ignore that here. These numbers are
13381 actually not supported for validation purposes by the library at the moment as no
13382 online examples can be found, but we leave theme here so formatting continues to work
13383 if they are entered. -->
13384 <numberFormat pattern="(\d{2})(\d{2})(\d{3})(\d{4})">
13385 <leadingDigits>30</leadingDigits>
13386 <format>$1-$2-$3-$4</format>
13388 <numberFormat pattern="(\d)(\d{3,4})(\d{4})">
13389 <leadingDigits>2[1-9]</leadingDigits>
13390 <format>$1-$2-$3</format>
13392 <numberFormat pattern="(\d)(\d{3,4})">
13393 <leadingDigits>21[0-46-9]</leadingDigits>
13394 <format>$1-$2</format>
13396 <numberFormat pattern="(\d{2})(\d{3,4})">
13397 <leadingDigits>[3-6][1-9]1</leadingDigits>
13403 <format>$1-$2</format>
13405 <!-- Company numbers. -->
13406 <numberFormat pattern="(\d{4})(\d{4})"
13407 nationalPrefixFormattingRule="$FG">
13432 <format>$1-$2</format>
13434 </availableFormats>
13436 <nationalNumberPattern>
13439 </nationalNumberPattern>
13440 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
13443 <!-- We omit 049, supposedly for Kaesong Industrial Region, since real numbers can't be
13444 found, and it is in North Korea anyway. We support 7-8 digits long subscriber numbers
13445 starting with 1 based on evidence of real numbers found online. -->
13446 <nationalNumberPattern>
13456 </nationalNumberPattern>
13457 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
13458 <exampleNumber>22123456</exampleNumber>
13461 <nationalNumberPattern>1[0-26-9]\d{7,8}</nationalNumberPattern>
13462 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
13463 <exampleNumber>1023456789</exampleNumber>
13466 <nationalNumberPattern>15\d{7,8}</nationalNumberPattern>
13467 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
13468 <exampleNumber>1523456789</exampleNumber>
13471 <nationalNumberPattern>80\d{7}</nationalNumberPattern>
13472 <possibleNumberPattern>\d{9}</possibleNumberPattern>
13473 <exampleNumber>801234567</exampleNumber>
13475 <!-- The information below is provided by a Korean person. -->
13477 <nationalNumberPattern>60[2-9]\d{6}</nationalNumberPattern>
13478 <possibleNumberPattern>\d{9}</possibleNumberPattern>
13479 <exampleNumber>602345678</exampleNumber>
13482 <nationalNumberPattern>50\d{8}</nationalNumberPattern>
13483 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13484 <exampleNumber>5012345678</exampleNumber>
13487 <nationalNumberPattern>70\d{8}</nationalNumberPattern>
13488 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13489 <exampleNumber>7012345678</exampleNumber>
13492 <nationalNumberPattern>
13509 </nationalNumberPattern>
13510 <possibleNumberPattern>\d{8}</possibleNumberPattern>
13511 <exampleNumber>15441234</exampleNumber>
13516 <territory id="KW" countryCode="965" internationalPrefix="00" mobileNumberPortableRegion="true">
13518 <sourceUrl>http://www.itu.int/oth/T0202000073/en</sourceUrl>
13521 <!-- Format is from ITU. -->
13522 <numberFormat pattern="(\d{4})(\d{3,4})">
13523 <leadingDigits>[1269]</leadingDigits>
13524 <format>$1 $2</format>
13526 <numberFormat pattern="(5[015]\d)(\d{5})">
13527 <leadingDigits>5</leadingDigits>
13528 <format>$1 $2</format>
13530 </availableFormats>
13532 <nationalNumberPattern>[12569]\d{6,7}</nationalNumberPattern>
13533 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
13536 <nationalNumberPattern>
13553 </nationalNumberPattern>
13554 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
13555 <exampleNumber>22345678</exampleNumber>
13558 <nationalNumberPattern>
13580 </nationalNumberPattern>
13581 <possibleNumberPattern>\d{8}</possibleNumberPattern>
13582 <exampleNumber>50012345</exampleNumber>
13584 <!-- No tollFree or premiumRate information can be found. -->
13587 <!-- Cayman Islands -->
13588 <territory id="KY" countryCode="1" leadingDigits="345" nationalPrefix="1"
13589 internationalPrefix="011">
13591 <sourceUrl>http://www.itu.int/oth/T0202000027/en</sourceUrl>
13594 <!-- NANPA country - uses US formatting rules -->
13595 <nationalNumberPattern>[3589]\d{9}</nationalNumberPattern>
13596 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
13598 <!-- The 800 NXX code is listed as being "national only", but we successfully reached numbers
13599 from Switzerland with this prefix so do not list it as noInternationalDialling. -->
13601 <!-- The Westtel numbers in the plan seem now to be live and assigned to fixed-line phones,
13602 as per numbers found online and their website http://www.logic.ky. -->
13603 <nationalNumberPattern>
13631 </nationalNumberPattern>
13632 <exampleNumber>3452221234</exampleNumber>
13635 <!-- Adding central office codes 321, 322, 328, 576, 923 & 936 from numbers found online.
13636 Most central office codes that were surrendered have not been included, with the
13637 exception of 546 where numbers have been found. -->
13638 <nationalNumberPattern>
13653 </nationalNumberPattern>
13654 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13655 <exampleNumber>3453231234</exampleNumber>
13658 <nationalNumberPattern>345849\d{4}</nationalNumberPattern>
13659 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13660 <exampleNumber>3458491234</exampleNumber>
13663 <nationalNumberPattern>
13672 </nationalNumberPattern>
13673 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13674 <exampleNumber>8002345678</exampleNumber>
13677 <nationalNumberPattern>
13680 </nationalNumberPattern>
13681 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13682 <exampleNumber>9002345678</exampleNumber>
13685 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
13686 <nationalNumberPattern>
13694 </nationalNumberPattern>
13695 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13696 <exampleNumber>5002345678</exampleNumber>
13700 <!-- Kazakhstan -->
13701 <territory id="KZ" countryCode="7" preferredInternationalPrefix="8~10"
13702 internationalPrefix="810" nationalPrefix="8">
13704 <sourceUrl>http://www.itu.int/oth/T020200006F/en</sourceUrl>
13706 <!-- Formatting rules obtained from Russia. -->
13708 <!-- We make this as specific as possible to overlap as little as possible with Russia, so
13709 determining the country is faster. -->
13710 <nationalNumberPattern>
13716 </nationalNumberPattern>
13717 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13719 <noInternationalDialling>
13720 <nationalNumberPattern>751\d{7}</nationalNumberPattern>
13721 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13722 <exampleNumber>7511234567</exampleNumber>
13723 </noInternationalDialling>
13725 <!-- VSAT numbers are also included here. We also include the area code for Baikonur (336
13726 22), which is within Kazakhstan but in fact rented and administered by Russia at the
13728 <nationalNumberPattern>
13827 </nationalNumberPattern>
13828 <exampleNumber>7123456789</exampleNumber>
13831 <!-- Added 708 for Altel, 776 for Beeline, 747 for Tele2. -->
13832 <nationalNumberPattern>
13840 </nationalNumberPattern>
13841 <exampleNumber>7710009998</exampleNumber>
13844 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
13845 <exampleNumber>8001234567</exampleNumber>
13848 <nationalNumberPattern>809\d{7}</nationalNumberPattern>
13849 <exampleNumber>8091234567</exampleNumber>
13852 <nationalNumberPattern>751\d{7}</nationalNumberPattern>
13853 <exampleNumber>7511234567</exampleNumber>
13857 <!-- Lao People's Dem. Rep. -->
13858 <territory id="LA" countryCode="856" internationalPrefix="00"
13859 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
13861 <!-- Seems incomplete -->
13862 <sourceUrl>http://www.itu.int/oth/T0202000075/en</sourceUrl>
13863 <sourceUrl>http://en.wikipedia.org/wiki/+856</sourceUrl>
13866 <numberFormat pattern="(20)(\d{2})(\d{3})(\d{3})">
13867 <leadingDigits>20</leadingDigits>
13868 <format>$1 $2 $3 $4</format>
13870 <numberFormat pattern="([2-8]\d)(\d{3})(\d{3})">
13876 <format>$1 $2 $3</format>
13878 <numberFormat pattern="(30)(\d{2})(\d{2})(\d{3})">
13879 <leadingDigits>30</leadingDigits>
13880 <format>$1 $2 $3 $4</format>
13882 </availableFormats>
13884 <nationalNumberPattern>[2-8]\d{7,9}</nationalNumberPattern>
13885 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
13888 <!-- The Lonely Planet says that newer WIN phones (fixed phones without a physical landline)
13889 start with 030 (and are longer). There are plenty of examples online. -->
13890 <nationalNumberPattern>
13901 </nationalNumberPattern>
13902 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
13903 <exampleNumber>21212862</exampleNumber>
13906 <!-- Adding 202[89], 205[89], 207[68] and 209[57] from numbers found online. -->
13907 <nationalNumberPattern>
13914 </nationalNumberPattern>
13915 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13916 <exampleNumber>2023123456</exampleNumber>
13918 <!-- No information on other types of phone numbers for Lao P.D.R. has been found. -->
13922 <territory id="LB" countryCode="961" internationalPrefix="00" nationalPrefix="0">
13924 <sourceUrl>http://www.itu.int/oth/T0202000077/en</sourceUrl>
13925 <sourceUrl>http://en.wikipedia.org/wiki/%2B961</sourceUrl>
13928 <numberFormat pattern="(\d)(\d{3})(\d{3})" nationalPrefixFormattingRule="$NP$FG">
13938 <format>$1 $2 $3</format>
13940 <numberFormat pattern="([7-9]\d)(\d{3})(\d{3})">
13949 <format>$1 $2 $3</format>
13951 </availableFormats>
13953 <nationalNumberPattern>[13-9]\d{6,7}</nationalNumberPattern>
13954 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
13957 <!-- The ITU document from October 2012 seems to have accidentally dropped the 79 prefix for
13958 fixed-line numbers, which had been in the version from July 2012. We consider these
13959 valid since we successfully dialed such a number in July 2014. -->
13960 <nationalNumberPattern>
13970 </nationalNumberPattern>
13971 <possibleNumberPattern>\d{7}</possibleNumberPattern>
13972 <exampleNumber>1123456</exampleNumber>
13975 <!-- We only validate the first three digits here, since the ranges are growing rapidly.
13976 The 79[02-9] prefixes were added from bug reports and numbers found online. -->
13977 <nationalNumberPattern>
13986 </nationalNumberPattern>
13987 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
13988 <exampleNumber>71123456</exampleNumber>
13991 <nationalNumberPattern>9[01]\d{6}</nationalNumberPattern>
13992 <possibleNumberPattern>\d{8}</possibleNumberPattern>
13993 <exampleNumber>90123456</exampleNumber>
13996 <nationalNumberPattern>8[01]\d{6}</nationalNumberPattern>
13997 <possibleNumberPattern>\d{8}</possibleNumberPattern>
13998 <exampleNumber>80123456</exampleNumber>
14002 <!-- Saint Lucia -->
14003 <territory id="LC" countryCode="1" leadingDigits="758" nationalPrefix="1"
14004 internationalPrefix="011">
14006 <sourceUrl>http://www.itu.int/oth/T02020000B1/en</sourceUrl>
14009 <!-- NANPA country - uses US formatting rules -->
14010 <nationalNumberPattern>[5789]\d{9}</nationalNumberPattern>
14011 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
14014 <!-- Adding 430 since numbers have been found with these prefixes online. -->
14015 <nationalNumberPattern>
14026 </nationalNumberPattern>
14027 <exampleNumber>7584305678</exampleNumber>
14030 <nationalNumberPattern>
14048 </nationalNumberPattern>
14049 <possibleNumberPattern>\d{10}</possibleNumberPattern>
14050 <exampleNumber>7582845678</exampleNumber>
14053 <nationalNumberPattern>
14062 </nationalNumberPattern>
14063 <possibleNumberPattern>\d{10}</possibleNumberPattern>
14064 <exampleNumber>8002123456</exampleNumber>
14067 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
14068 <possibleNumberPattern>\d{10}</possibleNumberPattern>
14069 <exampleNumber>9002123456</exampleNumber>
14072 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
14073 <nationalNumberPattern>
14081 </nationalNumberPattern>
14082 <possibleNumberPattern>\d{10}</possibleNumberPattern>
14083 <exampleNumber>5002345678</exampleNumber>
14087 <!-- Liechtenstein -->
14088 <!-- The national prefix of "0" is only used for 0800 and 0900 numbers. -->
14089 <territory id="LI" countryCode="423" internationalPrefix="00" nationalPrefix="0">
14091 <sourceUrl>http://www.llv.li/amtsstellen/llv-ak-nummerierung.htm</sourceUrl>
14094 <!-- Some different patterns for tollfree and shared cost numbers may be found by searching
14095 for "Mehrwertnummer" at http://www.telecom.li. -->
14096 <numberFormat pattern="(\d{3})(\d{2})(\d{2})">
14102 <format>$1 $2 $3</format>
14104 <numberFormat pattern="(6\d)(\d{3})(\d{3})">
14105 <leadingDigits>6</leadingDigits>
14106 <format>$1 $2 $3</format>
14108 <numberFormat pattern="(6[567]\d)(\d{3})(\d{3})">
14109 <leadingDigits>6[567]</leadingDigits>
14110 <format>$1 $2 $3</format>
14112 <numberFormat pattern="(69)(7\d{2})(\d{4})">
14113 <leadingDigits>697</leadingDigits>
14114 <format>$1 $2 $3</format>
14116 <numberFormat pattern="([7-9]0\d)(\d{2})(\d{2})">
14117 <leadingDigits>[7-9]0</leadingDigits>
14118 <format>$1 $2 $3</format>
14120 <!-- Numbers of the form [89]00\d{6} are Swiss numbers callable from Liechtenstein. -->
14121 <numberFormat pattern="([89]0\d)(\d{2})(\d{2})(\d{2})"
14122 nationalPrefixFormattingRule="$NP$FG">
14123 <leadingDigits>[89]0</leadingDigits>
14124 <format>$1 $2 $3 $4</format>
14126 </availableFormats>
14128 <nationalNumberPattern>
14131 </nationalNumberPattern>
14132 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
14135 <nationalNumberPattern>
14150 </nationalNumberPattern>
14151 <possibleNumberPattern>\d{7}</possibleNumberPattern>
14152 <exampleNumber>2345678</exampleNumber>
14155 <nationalNumberPattern>
14171 </nationalNumberPattern>
14172 <exampleNumber>661234567</exampleNumber>
14174 <!-- The prefix 809 seems to be used for AT&T and Verizon access lines from Liechtenstein,
14175 even though it doesn't appear in the plan. -->
14177 <nationalNumberPattern>
14185 </nationalNumberPattern>
14186 <possibleNumberPattern>\d{7}</possibleNumberPattern>
14187 <exampleNumber>8002222</exampleNumber>
14190 <nationalNumberPattern>
14205 </nationalNumberPattern>
14206 <possibleNumberPattern>\d{7}</possibleNumberPattern>
14207 <exampleNumber>9002222</exampleNumber>
14210 <nationalNumberPattern>
14215 </nationalNumberPattern>
14216 <possibleNumberPattern>\d{7}</possibleNumberPattern>
14217 <exampleNumber>8770123</exampleNumber>
14220 <nationalNumberPattern>
14226 </nationalNumberPattern>
14227 <possibleNumberPattern>\d{9}</possibleNumberPattern>
14228 <exampleNumber>697361234</exampleNumber>
14231 <nationalNumberPattern>701\d{4}</nationalNumberPattern>
14232 <possibleNumberPattern>\d{7}</possibleNumberPattern>
14233 <exampleNumber>7011234</exampleNumber>
14238 <territory id="LK" countryCode="94" internationalPrefix="00"
14239 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
14241 <sourceUrl>http://en.wikipedia.org/wiki/%2B94</sourceUrl>
14242 <sourceUrl>http://www.itu.int/oth/T02020000C3/en</sourceUrl>
14245 <numberFormat pattern="(\d{2})(\d{1})(\d{6})">
14246 <leadingDigits>[1-689]</leadingDigits>
14247 <format>$1 $2 $3</format>
14249 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
14250 <leadingDigits>7</leadingDigits>
14251 <format>$1 $2 $3</format>
14253 </availableFormats>
14255 <nationalNumberPattern>[1-9]\d{8}</nationalNumberPattern>
14256 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
14259 <nationalNumberPattern>
14268 </nationalNumberPattern>
14269 <exampleNumber>112345678</exampleNumber>
14272 <!-- Adding the prefix 76 for Dialog, based on information from open-source users. -->
14273 <nationalNumberPattern>7[125-8]\d{7}</nationalNumberPattern>
14274 <possibleNumberPattern>\d{9}</possibleNumberPattern>
14275 <exampleNumber>712345678</exampleNumber>
14280 <territory id="LR" countryCode="231" internationalPrefix="00"
14281 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
14283 <sourceUrl>http://www.itu.int/oth/T0202000079/en</sourceUrl>
14286 <!-- Formatting from Ministry of Agriculture,
14287 http://www.moa.gov.lr/content.php?sub=Email&?related=Contacts -->
14288 <numberFormat pattern="(2\d)(\d{3})(\d{3})">
14289 <leadingDigits>2</leadingDigits>
14290 <format>$1 $2 $3</format>
14292 <numberFormat pattern="([79]\d{2})(\d{3})(\d{3})">
14293 <leadingDigits>[79]</leadingDigits>
14294 <format>$1 $2 $3</format>
14296 <numberFormat pattern="([4-6])(\d{3})(\d{3})">
14297 <leadingDigits>[4-6]</leadingDigits>
14298 <format>$1 $2 $3</format>
14300 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
14301 <leadingDigits>[38]</leadingDigits>
14302 <format>$1 $2 $3</format>
14304 </availableFormats>
14306 <nationalNumberPattern>
14310 </nationalNumberPattern>
14311 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
14314 <nationalNumberPattern>2\d{7}</nationalNumberPattern>
14315 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14316 <exampleNumber>21234567</exampleNumber>
14319 <!-- West Africa Telecom seems to be a mobile company from their website. Adding Atlantic
14320 Wireless from the document, even though from online news reports it is not clear they
14321 are still operating. -->
14322 <nationalNumberPattern>
14331 </nationalNumberPattern>
14332 <exampleNumber>770123456</exampleNumber>
14335 <!-- Telelinks and Interactive media service are listed under premium rate. -->
14336 <nationalNumberPattern>90[03]\d{6}</nationalNumberPattern>
14337 <possibleNumberPattern>\d{9}</possibleNumberPattern>
14338 <exampleNumber>900123456</exampleNumber>
14341 <!-- The plan lists the following range as being assigned to TEMAS. On their homepage they
14342 say they are involved in the VoIP sector. Adding WASSCOM and Atlantic Realty &
14343 Investment Corporation here as well; no numbers can be found online, nor company
14345 <nationalNumberPattern>
14350 </nationalNumberPattern>
14351 <possibleNumberPattern>\d{9}</possibleNumberPattern>
14352 <exampleNumber>332001234</exampleNumber>
14357 <territory id="LS" countryCode="266" internationalPrefix="00">
14359 <sourceUrl>http://www.itu.int/oth/T0202000078/en</sourceUrl>
14362 <!-- Formatting following yellow pages: http://www.yellowpages.co.ls -->
14363 <numberFormat pattern="(\d{4})(\d{4})">
14364 <format>$1 $2</format>
14366 </availableFormats>
14368 <nationalNumberPattern>[2568]\d{7}</nationalNumberPattern>
14369 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14372 <nationalNumberPattern>2\d{7}</nationalNumberPattern>
14373 <exampleNumber>22123456</exampleNumber>
14376 <nationalNumberPattern>[56]\d{7}</nationalNumberPattern>
14377 <exampleNumber>50123456</exampleNumber>
14380 <nationalNumberPattern>800[256]\d{4}</nationalNumberPattern>
14381 <exampleNumber>80021234</exampleNumber>
14386 <!-- Note that Lithuania is switching to a national prefix of 0. We support
14387 both 0 and 8 when parsing until this switch is complete. -->
14388 <territory id="LT" countryCode="370" internationalPrefix="00"
14389 nationalPrefix="8" nationalPrefixForParsing="[08]"
14390 nationalPrefixFormattingRule="($NP-$FG)"
14391 nationalPrefixOptionalWhenFormatting="true" mobileNumberPortableRegion="true">
14393 <sourceUrl>http://www.itu.int/oth/T020200007C/en</sourceUrl>
14395 <!-- National Prefix formatting rule from http://www.yellowpages.lt -->
14397 <!-- Two-digit area codes -->
14398 <numberFormat pattern="([34]\d)(\d{6})">
14407 <format>$1 $2</format>
14409 <!-- Three-digit area codes -->
14410 <numberFormat pattern="([3-6]\d{2})(\d{5})">
14420 <format>$1 $2</format>
14422 <numberFormat pattern="([7-9]\d{2})(\d{2})(\d{3})"
14423 nationalPrefixFormattingRule="$NP $FG">
14424 <leadingDigits>[7-9]</leadingDigits>
14425 <format>$1 $2 $3</format>
14427 <numberFormat pattern="(5)(2\d{2})(\d{4})">
14428 <leadingDigits>52[0-79]</leadingDigits>
14429 <format>$1 $2 $3</format>
14431 </availableFormats>
14433 <nationalNumberPattern>[3-9]\d{7}</nationalNumberPattern>
14434 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14437 <nationalNumberPattern>
14443 </nationalNumberPattern>
14444 <exampleNumber>31234567</exampleNumber>
14447 <nationalNumberPattern>6\d{7}</nationalNumberPattern>
14448 <exampleNumber>61234567</exampleNumber>
14451 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
14452 <exampleNumber>80012345</exampleNumber>
14455 <nationalNumberPattern>
14460 </nationalNumberPattern>
14461 <exampleNumber>90012345</exampleNumber>
14464 <nationalNumberPattern>700\d{5}</nationalNumberPattern>
14465 <exampleNumber>70012345</exampleNumber>
14468 <nationalNumberPattern>808\d{5}</nationalNumberPattern>
14469 <exampleNumber>80812345</exampleNumber>
14472 <!-- Including government service numbers here too. -->
14473 <nationalNumberPattern>70[67]\d{5}</nationalNumberPattern>
14474 <exampleNumber>70712345</exampleNumber>
14478 <!-- Luxembourg -->
14479 <territory id="LU" countryCode="352" internationalPrefix="00"
14480 nationalPrefixForParsing="(15(?:0[06]|1[12]|35|4[04]|55|6[26]|77|88|99)\d)"
14481 carrierCodeFormattingRule="$CC $FG" mobileNumberPortableRegion="true">
14483 <sourceUrl>http://www.ilr.public.lu/communications_electroniques/numerotation/index.html</sourceUrl>
14486 <!-- Patterns overlap because of variable number length. -->
14487 <numberFormat pattern="(\d{2})(\d{3})">
14496 <format>$1 $2</format>
14498 <numberFormat pattern="(\d{2})(\d{2})(\d{2})">
14507 <format>$1 $2 $3</format>
14509 <numberFormat pattern="(\d{2})(\d{2})(\d{3})">
14510 <leadingDigits>20</leadingDigits>
14511 <format>$1 $2 $3</format>
14513 <!-- The pattern for 7-digit numbers starting with 20 here will never be reached - but since
14514 we want this pattern to apply for 8-digit numbers with a 20 prefix, we include 20 in
14515 the leading digits. This is also done for 9-10 digit numbers starting with 20 below.
14517 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{1,2})">
14524 <format>$1 $2 $3 $4</format>
14526 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{3})">
14527 <leadingDigits>20</leadingDigits>
14528 <format>$1 $2 $3 $4</format>
14530 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})(\d{1,2})">
14537 <format>$1 $2 $3 $4 $5</format>
14539 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{1,4})">
14552 <format>$1 $2 $3 $4</format>
14554 <numberFormat pattern="(\d{3})(\d{2})(\d{3})">
14559 <format>$1 $2 $3</format>
14561 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
14562 <leadingDigits>6</leadingDigits>
14563 <format>$1 $2 $3</format>
14565 </availableFormats>
14567 <!-- The country-code is an impossible number prefix, so has been excluded here. This is
14568 necessary since the numbers have a variable number length. -->
14569 <nationalNumberPattern>
14575 </nationalNumberPattern>
14576 <possibleNumberPattern>\d{4,11}</possibleNumberPattern>
14579 <!-- Note that numbers starting with 2[367] can be a maximum of 10 digits - all others a
14581 <nationalNumberPattern>
14632 </nationalNumberPattern>
14633 <exampleNumber>27123456</exampleNumber>
14636 <nationalNumberPattern>
14641 </nationalNumberPattern>
14642 <possibleNumberPattern>\d{9}</possibleNumberPattern>
14643 <exampleNumber>628123456</exampleNumber>
14646 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
14647 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14648 <exampleNumber>80012345</exampleNumber>
14651 <nationalNumberPattern>90[01]\d{5}</nationalNumberPattern>
14652 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14653 <exampleNumber>90012345</exampleNumber>
14656 <nationalNumberPattern>801\d{5}</nationalNumberPattern>
14657 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14658 <exampleNumber>80112345</exampleNumber>
14661 <nationalNumberPattern>70\d{6}</nationalNumberPattern>
14662 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14663 <exampleNumber>70123456</exampleNumber>
14666 <!-- The document says the normal length will be 8 digits, but many numbers found online
14667 deviate from that. The prefixes from the following document have been added:
14668 http://www.ilr.public.lu/communications_electroniques/numerotation/plan_nat_num/numeros_geographiques_geo.pdf
14669 201 has also been added since a diallable number was found online, and it says in
14670 http://www.ilr.public.lu/communications_electroniques/decisions/2004/0479.pdf that no
14671 numbers will be issued that begin with 200, numbers beginning with 201 will be issued
14672 one at a time, and 202-209 in blocks. -->
14673 <nationalNumberPattern>
14678 </nationalNumberPattern>
14679 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
14680 <exampleNumber>20201234</exampleNumber>
14685 <territory id="LV" countryCode="371" internationalPrefix="00" mobileNumberPortableRegion="true">
14687 <sourceUrl>http://www.itu.int/oth/T0202000076/en</sourceUrl>
14688 <sourceUrl>http://en.wikipedia.org/wiki/+371</sourceUrl>
14691 <numberFormat pattern="([2689]\d)(\d{3})(\d{3})">
14692 <format>$1 $2 $3</format>
14694 </availableFormats>
14696 <nationalNumberPattern>[2689]\d{7}</nationalNumberPattern>
14697 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14700 <nationalNumberPattern>6[3-8]\d{6}</nationalNumberPattern>
14701 <exampleNumber>63123456</exampleNumber>
14704 <nationalNumberPattern>2\d{7}</nationalNumberPattern>
14705 <exampleNumber>21234567</exampleNumber>
14708 <nationalNumberPattern>80\d{6}</nationalNumberPattern>
14709 <exampleNumber>80123456</exampleNumber>
14712 <nationalNumberPattern>90\d{6}</nationalNumberPattern>
14713 <exampleNumber>90123456</exampleNumber>
14716 <nationalNumberPattern>81\d{6}</nationalNumberPattern>
14717 <exampleNumber>81123456</exampleNumber>
14721 <!-- Libya (Soc. People’s Libyan Arab Jamahiriya) -->
14722 <!-- Status as of 21 Jan 2011: a lot of outdated information on the web including on wikipedia
14723 and itu.int. The new area codes are on the Arabic website of the main telecommunication
14724 operator (Hatef Libya). A new mobile operator Aljeel Aljadeed for Technology will start
14725 using 096 (they are allowing customers to register numbers currently), so their code has
14726 also been added. -->
14727 <territory id="LY" countryCode="218" internationalPrefix="00"
14728 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
14730 <sourceUrl>http://hlc.ly/price.php</sourceUrl>
14733 <numberFormat pattern="([25679]\d)(\d{7})">
14734 <format>$1-$2</format>
14736 </availableFormats>
14738 <nationalNumberPattern>[25679]\d{8}</nationalNumberPattern>
14739 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
14742 <nationalNumberPattern>
14749 </nationalNumberPattern>
14750 <exampleNumber>212345678</exampleNumber>
14753 <!-- The prefix 094 has been added on the strength of numbers found online, and numbers
14754 where SMS messages have been apparently successfully received. -->
14755 <nationalNumberPattern>9[1-6]\d{7}</nationalNumberPattern>
14756 <possibleNumberPattern>\d{9}</possibleNumberPattern>
14757 <exampleNumber>912345678</exampleNumber>
14762 <!-- Shares formatting and some metadata with Western Sahara. -->
14763 <territory id="MA" countryCode="212" internationalPrefix="00" nationalPrefix="0"
14764 nationalPrefixFormattingRule="$NP$FG" mainCountryForCode="true"
14765 mobileNumberPortableRegion="true">
14767 <sourceUrl>http://www.itu.int/oth/T0202000090/en</sourceUrl>
14768 <sourceUrl>http://en.wikipedia.org/wiki/+212</sourceUrl>
14771 <numberFormat pattern="([56]\d{2})(\d{6})">
14779 <format>$1-$2</format>
14781 <numberFormat pattern="([58]\d{3})(\d{5})">
14802 <format>$1-$2</format>
14804 <numberFormat pattern="(5\d{4})(\d{4})">
14817 <format>$1-$2</format>
14819 <numberFormat pattern="(8[09])(\d{7})">
14826 <format>$1-$2</format>
14828 </availableFormats>
14830 <nationalNumberPattern>[5689]\d{8}</nationalNumberPattern>
14831 <!-- Closed numbering plan. -->
14832 <possibleNumberPattern>\d{9}</possibleNumberPattern>
14835 <nationalNumberPattern>
14863 </nationalNumberPattern>
14864 <exampleNumber>520123456</exampleNumber>
14866 <!-- Also duplicated in Western Sahara, please ensure you update both. -->
14868 <!-- http://www.anrt.ma/sites/default/files/Blocs_de_numeros_par_operateur.pdf -->
14869 <nationalNumberPattern>
14876 </nationalNumberPattern>
14877 <exampleNumber>650123456</exampleNumber>
14880 <nationalNumberPattern>80\d{7}</nationalNumberPattern>
14881 <exampleNumber>801234567</exampleNumber>
14884 <nationalNumberPattern>89\d{7}</nationalNumberPattern>
14885 <exampleNumber>891234567</exampleNumber>
14890 <!-- We support Kosovo mobile numbers (044, 045) with a Monaco country-code here, as we do not
14891 support Kosovo at the moment. Kosovo seems to use a variety of country codes currently. It
14892 also seems that the national prefix is only used for mobile numbers, not fixed-line. -->
14893 <territory id="MC" countryCode="377" internationalPrefix="00"
14894 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
14896 <sourceUrl>http://www.itu.int/oth/T020200008D/en</sourceUrl>
14899 <!-- Following formatting found online rather than in the ITU document example. -->
14900 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})" nationalPrefixFormattingRule="$FG">
14901 <leadingDigits>9</leadingDigits>
14902 <format>$1 $2 $3 $4</format>
14904 <numberFormat pattern="(\d{2})(\d{3})(\d{3})">
14905 <leadingDigits>4</leadingDigits>
14906 <format>$1 $2 $3</format>
14908 <numberFormat pattern="(6)(\d{2})(\d{2})(\d{2})(\d{2})">
14909 <leadingDigits>6</leadingDigits>
14910 <format>$1 $2 $3 $4 $5</format>
14912 <numberFormat pattern="(\d{3})(\d{3})(\d{2})" nationalPrefixFormattingRule="$FG">
14913 <leadingDigits>8</leadingDigits>
14914 <format>$1 $2 $3</format>
14916 </availableFormats>
14918 <nationalNumberPattern>[4689]\d{7,8}</nationalNumberPattern>
14919 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
14921 <noInternationalDialling>
14922 <nationalNumberPattern>8\d{7}</nationalNumberPattern>
14923 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14924 </noInternationalDialling>
14926 <!-- Restricted to this as no numbers with the prefix of 91, 95 or 96 have been found. -->
14927 <nationalNumberPattern>
14930 </nationalNumberPattern>
14931 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14932 <exampleNumber>99123456</exampleNumber>
14935 <!-- 4X mobile numbers are actually used by Kosovo. -->
14936 <nationalNumberPattern>
14942 </nationalNumberPattern>
14943 <exampleNumber>612345678</exampleNumber>
14946 <nationalNumberPattern>90\d{6}</nationalNumberPattern>
14947 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14948 <exampleNumber>90123456</exampleNumber>
14952 <!-- Moldova, Rep. of -->
14953 <territory id="MD" countryCode="373" internationalPrefix="00"
14954 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
14955 mobileNumberPortableRegion="true">
14957 <sourceUrl>http://www.itu.int/oth/T020200008C/en</sourceUrl>
14958 <!-- Announcements -->
14959 <sourceUrl>http://anrceti.md/fileupload/58</sourceUrl>
14960 <!-- Mobile ranges -->
14961 <sourceUrl>http://en.anrceti.md/resurse_numerotare_tel_mobila</sourceUrl>
14964 <numberFormat pattern="(\d{2})(\d{3})(\d{3})">
14969 <format>$1 $2 $3</format>
14971 <numberFormat pattern="([25-7]\d{2})(\d{2})(\d{3})">
14976 <format>$1 $2 $3</format>
14978 <numberFormat pattern="([89]\d{2})(\d{5})">
14979 <leadingDigits>[89]</leadingDigits>
14980 <format>$1 $2</format>
14982 </availableFormats>
14984 <nationalNumberPattern>[235-9]\d{7}</nationalNumberPattern>
14985 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14988 <nationalNumberPattern>
15005 </nationalNumberPattern>
15006 <exampleNumber>22212345</exampleNumber>
15009 <!-- Includes prefixes for Interdnestrcom, http://www.idknet.com/. -->
15010 <nationalNumberPattern>
15029 </nationalNumberPattern>
15030 <exampleNumber>65012345</exampleNumber>
15033 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
15034 <exampleNumber>80012345</exampleNumber>
15037 <nationalNumberPattern>90[056]\d{5}</nationalNumberPattern>
15038 <exampleNumber>90012345</exampleNumber>
15040 <!-- Information came from en.anrceti.md/node/81 -->
15042 <nationalNumberPattern>808\d{5}</nationalNumberPattern>
15043 <exampleNumber>80812345</exampleNumber>
15046 <!-- Includes numbers used for access to different transport directory services of general
15047 interest, since these are charged at the same rate as fixed-line numbers. -->
15048 <nationalNumberPattern>
15053 </nationalNumberPattern>
15054 <exampleNumber>80312345</exampleNumber>
15057 <!-- Used for "nomadic numbers". -->
15058 <nationalNumberPattern>3[08]\d{6}</nationalNumberPattern>
15059 <exampleNumber>30123456</exampleNumber>
15063 <!-- Montenegro -->
15064 <territory id="ME" countryCode="382" internationalPrefix="00" nationalPrefix="0"
15065 nationalPrefixFormattingRule="$NP$FG">
15067 <sourceUrl>http://www.itu.int/oth/T02020000DA/en</sourceUrl>
15068 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Montenegro</sourceUrl>
15069 <sourceUrl>http://www.ekip.me/numeracija/dodijeljena.php</sourceUrl>
15072 <numberFormat pattern="(\d{2})(\d{3})(\d{3})">
15073 <leadingDigits>[2-57-9]|6[3789]</leadingDigits>
15084 <format>$1 $2 $3</format>
15086 <numberFormat pattern="(67)(9)(\d{3})(\d{3})">
15087 <leadingDigits>679</leadingDigits>
15088 <leadingDigits>679[0-2]</leadingDigits>
15089 <format>$1 $2 $3 $4</format>
15091 </availableFormats>
15093 <nationalNumberPattern>[2-9]\d{7,8}</nationalNumberPattern>
15094 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
15097 <!-- Fixed line numbers have prefix 20,30,31,32,33,40,41,50,51,52 followed by 6 digits.
15098 The valid options for the third digit were from
15099 http://www.ekip.me/numeracija/dodijeljena.php -->
15100 <nationalNumberPattern>
15119 </nationalNumberPattern>
15120 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
15121 <exampleNumber>30234567</exampleNumber>
15124 <!-- Mobile numbers start with 632, 67, 68 or 69. -->
15125 <nationalNumberPattern>
15137 </nationalNumberPattern>
15138 <!-- According to ITU it is possible for the numbers to be between length 4-12
15139 (http://www.itu.int/oth/T02020000DA/en). However, in reality they seem to be 8 or 9
15140 digits long, based on the Montenegro document. -->
15141 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
15142 <exampleNumber>67622901</exampleNumber>
15145 <!-- All toll free numbers have prefix 80 followed by 02 or 08. -->
15146 <nationalNumberPattern>800[28]\d{4}</nationalNumberPattern>
15147 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15148 <exampleNumber>80080002</exampleNumber>
15151 <!-- Numbers with prefix 88, 94 or 95 are services with additional charges. -->
15152 <nationalNumberPattern>
15160 </nationalNumberPattern>
15161 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15162 <exampleNumber>94515151</exampleNumber>
15165 <!-- VOIP are prefixed with 78. -->
15166 <nationalNumberPattern>78[1-9]\d{5}</nationalNumberPattern>
15167 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15168 <exampleNumber>78108780</exampleNumber>
15171 <!-- Corporate Telephony are prefixed with 77. -->
15172 <nationalNumberPattern>77\d{6}</nationalNumberPattern>
15173 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15174 <exampleNumber>77273012</exampleNumber>
15178 <!-- Saint-Martin, French Antilles -->
15179 <territory id="MF" countryCode="590" internationalPrefix="00" nationalPrefix="0">
15181 <sourceUrl>http://www.itu.int/oth/T0202000058/en</sourceUrl>
15182 <!-- Linked from http://www.arcep.fr/index.php?id=interactivenumeros -->
15183 <sourceUrl>http://www.arcep.fr/fileadmin/reprise/dossiers/numero/ZABPQ-ZNE.xls</sourceUrl>
15185 <!-- Formatting rules borrowed from Guadeloupe. -->
15187 <nationalNumberPattern>[56]\d{8}</nationalNumberPattern>
15188 <possibleNumberPattern>\d{9}</possibleNumberPattern>
15191 <nationalNumberPattern>
15198 </nationalNumberPattern>
15199 <exampleNumber>590271234</exampleNumber>
15202 <!-- Any ranges assigned from
15203 http://www.arcep.fr/index.php?id=interactivenumeros have been listed as belonging to
15204 Guadeloupe, St Martin and St Barthélemy, since we can't reliably distinguish between
15206 <nationalNumberPattern>
15211 </nationalNumberPattern>
15212 <exampleNumber>690301234</exampleNumber>
15216 <!-- Madagascar -->
15217 <territory id="MG" countryCode="261" internationalPrefix="00"
15218 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
15220 <sourceUrl>http://www.itu.int/oth/T020200007F/en</sourceUrl>
15223 <numberFormat pattern="([23]\d)(\d{2})(\d{3})(\d{2})">
15224 <format>$1 $2 $3 $4</format>
15226 </availableFormats>
15228 <nationalNumberPattern>[23]\d{8}</nationalNumberPattern>
15229 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
15232 <!-- Added the prefixes 20 44 and 20 47 as they seem popular on the internet - the plan says
15233 20 4 is for the rest of the province of Antanarivo, but then fails to mention any area
15234 codes beginning with 4. -->
15235 <nationalNumberPattern>
15248 </nationalNumberPattern>
15249 <exampleNumber>202123456</exampleNumber>
15252 <!-- The numbering plan suggests the third digit, Z, should be 24-9, but this is not borne
15253 out by reality. -->
15254 <nationalNumberPattern>3[2-49]\d{7}</nationalNumberPattern>
15255 <possibleNumberPattern>\d{9}</possibleNumberPattern>
15256 <exampleNumber>321234567</exampleNumber>
15258 <!-- Putting VSAT numbers here. -->
15260 <nationalNumberPattern>22\d{7}</nationalNumberPattern>
15261 <possibleNumberPattern>\d{9}</possibleNumberPattern>
15262 <exampleNumber>221234567</exampleNumber>
15266 <!-- Marshall Islands -->
15267 <territory id="MH" countryCode="692" internationalPrefix="011" nationalPrefix="1">
15269 <sourceUrl>http://www.itu.int/oth/T0202000085/en</sourceUrl>
15272 <numberFormat pattern="(\d{3})(\d{4})">
15273 <format>$1-$2</format>
15275 </availableFormats>
15277 <nationalNumberPattern>[2-6]\d{6}</nationalNumberPattern>
15278 <possibleNumberPattern>\d{7}</possibleNumberPattern>
15281 <nationalNumberPattern>
15287 </nationalNumberPattern>
15288 <exampleNumber>2471234</exampleNumber>
15291 <nationalNumberPattern>
15298 </nationalNumberPattern>
15299 <exampleNumber>2351234</exampleNumber>
15302 <!-- VSAT prefixes are here. -->
15303 <nationalNumberPattern>635\d{4}</nationalNumberPattern>
15304 <exampleNumber>6351234</exampleNumber>
15308 <!-- Macedonia, Former Yugoslav Rep. of -->
15309 <territory id="MK" countryCode="389" internationalPrefix="00"
15310 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
15311 mobileNumberPortableRegion="true">
15313 <sourceUrl>http://www.itu.int/oth/T02020000CE/en</sourceUrl>
15316 <!-- Formats follow wikipedia. -->
15317 <numberFormat pattern="(2)(\d{3})(\d{4})">
15318 <leadingDigits>2</leadingDigits>
15319 <format>$1 $2 $3</format>
15321 <numberFormat pattern="([347]\d)(\d{3})(\d{3})">
15322 <leadingDigits>[347]</leadingDigits>
15323 <format>$1 $2 $3</format>
15325 <numberFormat pattern="([58]\d{2})(\d)(\d{2})(\d{2})">
15326 <leadingDigits>[58]</leadingDigits>
15327 <format>$1 $2 $3 $4</format>
15329 </availableFormats>
15331 <nationalNumberPattern>[2-578]\d{7}</nationalNumberPattern>
15332 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15335 <nationalNumberPattern>
15356 </nationalNumberPattern>
15357 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
15358 <exampleNumber>22212345</exampleNumber>
15361 <nationalNumberPattern>
15367 </nationalNumberPattern>
15368 <exampleNumber>72345678</exampleNumber>
15371 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
15372 <exampleNumber>80012345</exampleNumber>
15375 <nationalNumberPattern>5[02-9]\d{6}</nationalNumberPattern>
15376 <exampleNumber>50012345</exampleNumber>
15379 <nationalNumberPattern>
15384 </nationalNumberPattern>
15385 <exampleNumber>80123456</exampleNumber>
15390 <territory id="ML" countryCode="223" internationalPrefix="00">
15392 <sourceUrl>http://www.itu.int/oth/T0202000083/en</sourceUrl>
15393 <sourceUrl>http://crt-mali.org/pdf/plan_num</sourceUrl>
15396 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
15397 <leadingDigits>[246-9]</leadingDigits>
15398 <format>$1 $2 $3 $4</format>
15400 <!-- Formatting some short numbers as a block. -->
15401 <numberFormat pattern="(\d{4})">
15406 <intlFormat>NA</intlFormat>
15407 <format>$1</format>
15409 </availableFormats>
15411 <nationalNumberPattern>[246-9]\d{7}</nationalNumberPattern>
15412 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15415 <!-- Patterns from ITU with extra ranges 20 25, 20 7[13-9] and 217 provided by Sotelma and
15416 confirmed by searches online. -->
15417 <nationalNumberPattern>
15432 </nationalNumberPattern>
15433 <exampleNumber>20212345</exampleNumber>
15436 <!-- Orange Mali have updated their numbering plan, though this is not reflected in the ITU
15437 document (which is very stale). All mobile numbers starting with 7 are now Orange.
15438 Includes 6x from Malitel IR21. Numbers beginning with 9 have been found online and
15439 reported by open-source users, although the exact possible second digits are uncertain.
15441 <nationalNumberPattern>
15444 </nationalNumberPattern>
15445 <exampleNumber>65012345</exampleNumber>
15448 <!-- Online examples have not been found, but this seems to follow the prescriptions in the
15450 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
15451 <exampleNumber>80012345</exampleNumber>
15456 <territory id="MM" countryCode="95" internationalPrefix="00" nationalPrefix="0"
15457 nationalPrefixFormattingRule="$NP$FG">
15459 <sourceUrl>http://www.itu.int/oth/T0202000092/en</sourceUrl>
15462 <numberFormat pattern="(\d)(\d{3})(\d{3,4})">
15467 <format>$1 $2 $3</format>
15469 <numberFormat pattern="(2)(\d{4})(\d{4})">
15470 <leadingDigits>251</leadingDigits>
15471 <format>$1 $2 $3</format>
15473 <numberFormat pattern="(\d)(\d{2})(\d{3})">
15478 <format>$1 $2 $3</format>
15480 <numberFormat pattern="(\d{2})(\d{3})(\d{3,4})">
15485 <format>$1 $2 $3</format>
15487 <numberFormat pattern="(\d{2})(\d{2})(\d{3,4})">
15488 <leadingDigits>[4-8]</leadingDigits>
15489 <format>$1 $2 $3</format>
15491 <numberFormat pattern="(9)(\d{3})(\d{4,6})">
15499 <format>$1 $2 $3</format>
15501 <numberFormat pattern="(9)(4\d{4})(\d{4})">
15502 <leadingDigits>94[0245]</leadingDigits>
15503 <format>$1 $2 $3</format>
15505 <!-- Following majority of numbers found online. -->
15506 <numberFormat pattern="(9)(\d{3})(\d{3})(\d{3})">
15507 <leadingDigits>925</leadingDigits>
15508 <format>$1 $2 $3 $4</format>
15510 </availableFormats>
15512 <nationalNumberPattern>
15523 </nationalNumberPattern>
15524 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
15527 <nationalNumberPattern>
15599 </nationalNumberPattern>
15600 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
15601 <exampleNumber>1234567</exampleNumber>
15604 <!-- Added 99[089] (8 digits), 961 (9 digits), and 979 & 997 (10 digits) from bug
15605 reports/numbers found online. -->
15606 <nationalNumberPattern>
15634 </nationalNumberPattern>
15635 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
15636 <exampleNumber>92123456</exampleNumber>
15639 <nationalNumberPattern>1333\d{4}</nationalNumberPattern>
15640 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15641 <exampleNumber>13331234</exampleNumber>
15643 <!-- No information on other types of phone numbers for Myanmar has been found. -->
15647 <territory id="MN" countryCode="976" internationalPrefix="001"
15648 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
15650 <sourceUrl>http://www.itu.int/oth/T020200008E/en</sourceUrl>
15653 <numberFormat pattern="([12]\d)(\d{2})(\d{4})">
15654 <leadingDigits>[12]1</leadingDigits>
15655 <format>$1 $2 $3</format>
15657 <numberFormat pattern="([12]2\d)(\d{5,6})">
15658 <leadingDigits>[12]2[1-3]</leadingDigits>
15659 <format>$1 $2</format>
15661 <numberFormat pattern="([12]\d{3})(\d{5})">
15674 <format>$1 $2</format>
15676 <!-- It seems from online formatting that the national prefix is not written (or perhaps
15677 needed?) for numbers in these ranges. -->
15678 <numberFormat pattern="(\d{4})(\d{4})"
15679 nationalPrefixFormattingRule="$FG">
15680 <leadingDigits>[57-9]</leadingDigits>
15681 <format>$1 $2</format>
15683 <numberFormat pattern="([12]\d{4})(\d{4,5})">
15696 <format>$1 $2</format>
15698 </availableFormats>
15700 <nationalNumberPattern>
15703 </nationalNumberPattern>
15704 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
15707 <!-- Note the leading digit is the access code: 1 is used by Mongolia Telecom subscribers
15708 and 2 is used by Mongolian Railway subscribers. The area code then follows the access
15709 code, and could be 1 to 4 digits long. We also cover wireless local loop numbers here
15710 as well, even though we are not certain whether they are in fact fixed or mobile in
15711 this country. 5-digit subscriber numbers for 4-digit area codes have been added due to
15712 online numbers being found. -->
15713 <nationalNumberPattern>
15725 </nationalNumberPattern>
15726 <exampleNumber>50123456</exampleNumber>
15729 <nationalNumberPattern>
15734 </nationalNumberPattern>
15735 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15736 <exampleNumber>88123456</exampleNumber>
15738 <!-- No tollFree or premiumRate information can be found. -->
15740 <!-- According to the document this could be stricter, but there are counter examples
15742 <nationalNumberPattern>7[05-8]\d{6}</nationalNumberPattern>
15743 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15744 <exampleNumber>75123456</exampleNumber>
15748 <!-- Macao, China -->
15749 <territory id="MO" countryCode="853" internationalPrefix="00">
15751 <sourceUrl>http://www.itu.int/oth/T020200007E/en</sourceUrl>
15754 <numberFormat pattern="([268]\d{3})(\d{4})">
15755 <format>$1 $2</format>
15757 </availableFormats>
15759 <nationalNumberPattern>[268]\d{7}</nationalNumberPattern>
15760 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15763 <nationalNumberPattern>
15768 </nationalNumberPattern>
15769 <exampleNumber>28212345</exampleNumber>
15772 <!-- The 6[23] prefixes are added as SMS messages have been successfully delivered to these
15773 numbers, and they are also widely present on the Internet. -->
15774 <nationalNumberPattern>6[236]\d{6}</nationalNumberPattern>
15775 <exampleNumber>66123456</exampleNumber>
15777 <!-- No tollFree or premiumRate information can be found. -->
15780 <!-- Northern Mariana Islands -->
15781 <territory id="MP" countryCode="1" leadingDigits="670" nationalPrefix="1"
15782 internationalPrefix="011">
15784 <sourceUrl>http://www.itu.int/oth/T02020000EE/en</sourceUrl>
15785 <sourceUrl>http://www.cnmiphonebook.com/</sourceUrl>
15788 <!-- NANPA country - uses US formatting rules -->
15789 <nationalNumberPattern>[5689]\d{9}</nationalNumberPattern>
15790 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
15793 <!-- Extra exchange codes 232, 289, 355, 472, 633, 637, 646, 647, 649, 653, 687, 734 and 828
15794 were seen in the white and yellow pages, but no numbers with these exchange codes have
15795 proved to be diallable so we exclude them for now.. -->
15796 <nationalNumberPattern>
15822 </nationalNumberPattern>
15823 <exampleNumber>6702345678</exampleNumber>
15826 <nationalNumberPattern>
15852 </nationalNumberPattern>
15853 <exampleNumber>6702345678</exampleNumber>
15856 <nationalNumberPattern>
15865 </nationalNumberPattern>
15866 <possibleNumberPattern>\d{10}</possibleNumberPattern>
15867 <exampleNumber>8002123456</exampleNumber>
15870 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
15871 <possibleNumberPattern>\d{10}</possibleNumberPattern>
15872 <exampleNumber>9002123456</exampleNumber>
15875 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
15876 <nationalNumberPattern>
15884 </nationalNumberPattern>
15885 <possibleNumberPattern>\d{10}</possibleNumberPattern>
15886 <exampleNumber>5002345678</exampleNumber>
15890 <!-- Martinique (French Dept. of) -->
15891 <territory id="MQ" countryCode="596" internationalPrefix="00"
15892 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
15894 <sourceUrl>http://www.itu.int/oth/T0202000086/en</sourceUrl>
15895 <sourceUrl>http://www.arcep.fr/index.php?id=2137&bloc=0596&CMD=RESULTS_NUMEROTATION</sourceUrl>
15898 <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})">
15899 <format>$1 $2 $3 $4</format>
15901 </availableFormats>
15903 <nationalNumberPattern>[56]\d{8}</nationalNumberPattern>
15904 <possibleNumberPattern>\d{9}</possibleNumberPattern>
15907 <nationalNumberPattern>
15917 </nationalNumberPattern>
15918 <exampleNumber>596301234</exampleNumber>
15921 <nationalNumberPattern>
15927 </nationalNumberPattern>
15928 <exampleNumber>696201234</exampleNumber>
15930 <!-- The 876 prefix is mentioned in the plan, but the plan is from 2006 and in France VOIP
15931 numbers were changed from 087 to the 09 prefix in 2009. It is likely this occurred here
15935 <!-- Mauritania -->
15936 <territory id="MR" countryCode="222" internationalPrefix="00" >
15938 <sourceUrl>http://www.itu.int/oth/T0202000087/en</sourceUrl>
15939 <sourceUrl>http://are.mr/pdfs/pnn2010.pdf</sourceUrl>
15942 <numberFormat pattern="([2-48]\d)(\d{2})(\d{2})(\d{2})">
15943 <format>$1 $2 $3 $4</format>
15945 </availableFormats>
15947 <nationalNumberPattern>[2-48]\d{7}</nationalNumberPattern>
15948 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15951 <nationalNumberPattern>
15955 </nationalNumberPattern>
15956 <exampleNumber>35123456</exampleNumber>
15958 <!-- Added "49\d" in response to https://code.google.com/p/libphonenumber/issues/detail?id=529
15959 which might be overly permissive, but we don't have an official documentation for this
15960 and only a small number of numbers were found online. At least 492 and 495 are valid.
15963 <nationalNumberPattern>
15981 </nationalNumberPattern>
15982 <exampleNumber>22123456</exampleNumber>
15985 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
15986 <exampleNumber>80012345</exampleNumber>
15990 <!-- Montserrat -->
15991 <territory id="MS" countryCode="1" leadingDigits="664" nationalPrefix="1"
15992 internationalPrefix="011">
15994 <sourceUrl>http://www.itu.int/oth/T020200008F/en</sourceUrl>
15997 <!-- NANPA country - uses US formatting rules -->
15998 <nationalNumberPattern>[5689]\d{9}</nationalNumberPattern>
15999 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
16002 <nationalNumberPattern>664491\d{4}</nationalNumberPattern>
16003 <exampleNumber>6644912345</exampleNumber>
16006 <nationalNumberPattern>66449[2-6]\d{4}</nationalNumberPattern>
16007 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16008 <exampleNumber>6644923456</exampleNumber>
16011 <nationalNumberPattern>
16020 </nationalNumberPattern>
16021 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16022 <exampleNumber>8002123456</exampleNumber>
16025 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
16026 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16027 <exampleNumber>9002123456</exampleNumber>
16030 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
16031 <nationalNumberPattern>
16039 </nationalNumberPattern>
16040 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16041 <exampleNumber>5002345678</exampleNumber>
16046 <territory id="MT" countryCode="356" internationalPrefix="00" mobileNumberPortableRegion="true">
16048 <sourceUrl>http://www.itu.int/oth/T0202000084/en</sourceUrl>
16049 <!-- Numbering link in the LHS menu - has more up-to-date allocations -->
16050 <sourceUrl>http://www.mca.org.mt</sourceUrl>
16053 <numberFormat pattern="(\d{4})(\d{4})">
16054 <format>$1 $2</format>
16056 </availableFormats>
16058 <nationalNumberPattern>[2357-9]\d{7}</nationalNumberPattern>
16059 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16062 <nationalNumberPattern>
16071 </nationalNumberPattern>
16072 <exampleNumber>21001234</exampleNumber>
16075 <!-- 7210 and 92XX come from the allocations listed on http://www.mca.org.mt, but they are
16076 not listed in the latest ITU document. -->
16077 <nationalNumberPattern>
16097 </nationalNumberPattern>
16098 <exampleNumber>96961234</exampleNumber>
16101 <nationalNumberPattern>7117\d{4}</nationalNumberPattern>
16102 <exampleNumber>71171234</exampleNumber>
16105 <nationalNumberPattern>800[3467]\d{4}</nationalNumberPattern>
16106 <exampleNumber>80071234</exampleNumber>
16109 <nationalNumberPattern>
16122 </nationalNumberPattern>
16123 <exampleNumber>50037123</exampleNumber>
16126 <!-- In the plan as Non-PATS ECS. -->
16127 <nationalNumberPattern>3550\d{4}</nationalNumberPattern>
16128 <exampleNumber>35501234</exampleNumber>
16131 <!-- Using this for governmental numbers. -->
16132 <nationalNumberPattern>501\d{5}</nationalNumberPattern>
16133 <exampleNumber>50112345</exampleNumber>
16138 <!-- Preferred international prefix is expected to standardize on just '00' -->
16139 <territory id="MU" countryCode="230" internationalPrefix="0(?:0|[2-7]0|33)"
16140 preferredInternationalPrefix="020">
16142 <sourceUrl>http://www.icta.mu/telecommunications/numbering.htm</sourceUrl>
16145 <numberFormat pattern="([2-46-9]\d{2})(\d{4})">
16146 <leadingDigits>[2-46-9]</leadingDigits>
16147 <format>$1 $2</format>
16149 <numberFormat pattern="(5\d{3})(\d{4})">
16150 <leadingDigits>5</leadingDigits>
16151 <format>$1 $2</format>
16153 </availableFormats>
16155 <nationalNumberPattern>[2-9]\d{6,7}</nationalNumberPattern>
16156 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
16159 <!-- See also: http://www.wtng.info/wtng-230-mu.html for additional detail. -->
16160 <nationalNumberPattern>
16181 </nationalNumberPattern>
16182 <exampleNumber>2012345</exampleNumber>
16185 <nationalNumberPattern>
16201 </nationalNumberPattern>
16202 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16203 <exampleNumber>52512345</exampleNumber>
16206 <nationalNumberPattern>80[012]\d{4}</nationalNumberPattern>
16207 <possibleNumberPattern>\d{7}</possibleNumberPattern>
16208 <exampleNumber>8001234</exampleNumber>
16211 <nationalNumberPattern>30\d{5}</nationalNumberPattern>
16212 <possibleNumberPattern>\d{7}</possibleNumberPattern>
16213 <exampleNumber>3012345</exampleNumber>
16216 <nationalNumberPattern>
16221 </nationalNumberPattern>
16222 <possibleNumberPattern>\d{7}</possibleNumberPattern>
16223 <exampleNumber>3201234</exampleNumber>
16228 <territory id="MV" countryCode="960" internationalPrefix="0(?:0|19)"
16229 preferredInternationalPrefix="00">
16231 <sourceUrl>http://www.itu.int/oth/T0202000082/en</sourceUrl>
16232 <sourceUrl>http://www.dhiraagu.com.mv</sourceUrl>
16235 <numberFormat pattern="(\d{3})(\d{4})">
16243 <format>$1-$2</format>
16245 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
16246 <leadingDigits>900</leadingDigits>
16247 <format>$1 $2 $3</format>
16249 </availableFormats>
16251 <nationalNumberPattern>
16257 </nationalNumberPattern>
16258 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
16261 <!-- 300 has been added as prefixes from online searches, since the numbers seemed to be
16263 <nationalNumberPattern>
16275 </nationalNumberPattern>
16276 <possibleNumberPattern>\d{7}</possibleNumberPattern>
16277 <exampleNumber>6701234</exampleNumber>
16280 <!-- 7[45] has been added as many numbers online have been found with this prefix. 46[46]
16281 are new prefixes for Dhiraagu and Wataniya, used currently for SMS-based services.
16282 91 was added based on information from Wataniya Telecom. -->
16283 <nationalNumberPattern>
16289 </nationalNumberPattern>
16290 <possibleNumberPattern>\d{7}</possibleNumberPattern>
16291 <exampleNumber>7712345</exampleNumber>
16294 <nationalNumberPattern>781\d{4}</nationalNumberPattern>
16295 <possibleNumberPattern>\d{7}</possibleNumberPattern>
16296 <exampleNumber>7812345</exampleNumber>
16299 <nationalNumberPattern>900\d{7}</nationalNumberPattern>
16300 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16301 <exampleNumber>9001234567</exampleNumber>
16306 <!-- The plan doesn't state that a national prefix exists, but numbers found on the internet are
16307 consistent in having one. -->
16308 <territory id="MW" countryCode="265" internationalPrefix="00"
16309 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
16311 <sourceUrl>http://www.itu.int/oth/T0202000080/en</sourceUrl>
16314 <numberFormat pattern="(\d)(\d{3})(\d{3})">
16315 <leadingDigits>1</leadingDigits>
16316 <format>$1 $2 $3</format>
16318 <numberFormat pattern="(2\d{2})(\d{3})(\d{3})">
16319 <leadingDigits>2</leadingDigits>
16320 <format>$1 $2 $3</format>
16322 <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})">
16323 <leadingDigits>[1789]</leadingDigits>
16324 <format>$1 $2 $3 $4</format>
16326 </availableFormats>
16328 <nationalNumberPattern>
16335 </nationalNumberPattern>
16336 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
16339 <!-- 14 is no longer mentioned in the plan as a prefix, but plenty of online numbers have
16340 been found so this is being retained for now. It is possible however that these may be
16341 old-format mobile numbers. -->
16342 <nationalNumberPattern>
16347 </nationalNumberPattern>
16348 <exampleNumber>1234567</exampleNumber>
16351 <nationalNumberPattern>
16358 </nationalNumberPattern>
16359 <possibleNumberPattern>\d{9}</possibleNumberPattern>
16360 <exampleNumber>991234567</exampleNumber>
16365 <territory id="MX" countryCode="52" internationalPrefix="0[09]"
16366 nationalPrefix="01"
16367 nationalPrefixForParsing="0[12]|04[45](\d{10})"
16368 nationalPrefixTransformRule="1$1"
16369 nationalPrefixFormattingRule="$NP $FG"
16370 nationalPrefixOptionalWhenFormatting="true"
16371 leadingZeroPossible="true" mobileNumberPortableRegion="true">
16373 <sourceUrl>http://www.itu.int/oth/T020200008A/en</sourceUrl>
16374 <sourceUrl>http://en.wikipedia.org/wiki/%2B52</sourceUrl>
16375 <sourceUrl>http://en.wikipedia.org/wiki/Premium-rate_telephone_number#Mexico</sourceUrl>
16376 <sourceUrl>http://en.wikipedia.org/wiki/Toll-free_telephone_number</sourceUrl>
16378 <!-- When a number starts with 01 or 02, we remove the prefixes; when a number starts with 044
16379 or 045 followed by 10 digits, we replace the prefixes with 1. This way all the mobile
16380 numbers, regardless of whether they are written in international format (leading 1) or
16381 national format (leading 044/045), will be parsed into the same form. -->
16383 <numberFormat pattern="([358]\d)(\d{4})(\d{4})">
16389 <format>$1 $2 $3</format>
16391 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
16399 <format>$1 $2 $3</format>
16401 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(1)([358]\d)(\d{4})(\d{4})">
16409 <format>044 $2 $3 $4</format>
16410 <intlFormat>$1 $2 $3 $4</intlFormat>
16412 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(1)(\d{3})(\d{3})(\d{4})">
16422 <format>044 $2 $3 $4</format>
16423 <intlFormat>$1 $2 $3 $4</intlFormat>
16425 </availableFormats>
16427 <nationalNumberPattern>[1-9]\d{9,10}</nationalNumberPattern>
16428 <possibleNumberPattern>\d{7,11}</possibleNumberPattern>
16431 <!-- http://en.wikipedia.org/wiki/Area_codes_in_Mexico_by_code -->
16432 <nationalNumberPattern>
16498 </nationalNumberPattern>
16499 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
16500 <exampleNumber>2221234567</exampleNumber>
16503 <nationalNumberPattern>
16571 </nationalNumberPattern>
16572 <possibleNumberPattern>\d{11}</possibleNumberPattern>
16573 <exampleNumber>12221234567</exampleNumber>
16576 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
16577 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16578 <exampleNumber>8001234567</exampleNumber>
16581 <nationalNumberPattern>900\d{7}</nationalNumberPattern>
16582 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16583 <exampleNumber>9001234567</exampleNumber>
16588 <territory id="MY" countryCode="60" internationalPrefix="00"
16589 nationalPrefix="0" mobileNumberPortableRegion="true">
16591 <sourceUrl>http://en.wikipedia.org/wiki/%2B60</sourceUrl>
16592 <sourceUrl>http://www.skmm.gov.my</sourceUrl>
16595 <numberFormat nationalPrefixFormattingRule="$NP$FG"
16596 pattern="([4-79])(\d{3})(\d{4})">
16597 <leadingDigits>[4-79]</leadingDigits>
16598 <format>$1-$2 $3</format>
16600 <numberFormat nationalPrefixFormattingRule="$NP$FG"
16601 pattern="(3)(\d{4})(\d{4})">
16602 <leadingDigits>3</leadingDigits>
16603 <format>$1-$2 $3</format>
16605 <numberFormat nationalPrefixFormattingRule="$NP$FG"
16606 pattern="([18]\d)(\d{3})(\d{3,4})">
16611 <format>$1-$2 $3</format>
16613 <numberFormat pattern="(1)([36-8]00)(\d{2})(\d{4})">
16614 <leadingDigits>1[36-8]0</leadingDigits>
16615 <format>$1-$2-$3-$4</format>
16617 <numberFormat nationalPrefixFormattingRule="$NP$FG"
16618 pattern="(11)(\d{4})(\d{4})">
16619 <leadingDigits>11</leadingDigits>
16620 <format>$1-$2 $3</format>
16622 <numberFormat nationalPrefixFormattingRule="$NP$FG"
16623 pattern="(15[49])(\d{3})(\d{4})">
16624 <leadingDigits>15</leadingDigits>
16625 <format>$1-$2 $3</format>
16627 </availableFormats>
16629 <nationalNumberPattern>[13-9]\d{7,9}</nationalNumberPattern>
16630 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
16633 <nationalNumberPattern>
16638 </nationalNumberPattern>
16639 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
16640 <exampleNumber>323456789</exampleNumber>
16643 <!-- Although the plan lists the prefix 159 as broadband services (data only), apparently it
16644 is possible to send SMSs (and receive them) from numbers in this block, so we are
16645 listing them as mobile. -->
16646 <nationalNumberPattern>
16656 </nationalNumberPattern>
16657 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
16658 <exampleNumber>123456789</exampleNumber>
16661 <!-- http://www.skmm.gov.my/skmmgovmy/media/General/pdf/Special_Service_Number.pdf -->
16662 <nationalNumberPattern>1[378]00\d{6}</nationalNumberPattern>
16663 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16664 <exampleNumber>1300123456</exampleNumber>
16667 <nationalNumberPattern>1600\d{6}</nationalNumberPattern>
16668 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16669 <exampleNumber>1600123456</exampleNumber>
16672 <nationalNumberPattern>154\d{7}</nationalNumberPattern>
16673 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16674 <exampleNumber>1541234567</exampleNumber>
16678 <!-- Mozambique -->
16679 <territory id="MZ" countryCode="258" internationalPrefix="00">
16681 <sourceUrl>http://www.itu.int/oth/T0202000091/en</sourceUrl>
16684 <numberFormat pattern="([28]\d)(\d{3})(\d{3,4})">
16689 <format>$1 $2 $3</format>
16691 <numberFormat pattern="(80\d)(\d{3})(\d{3})">
16692 <leadingDigits>80</leadingDigits>
16693 <format>$1 $2 $3</format>
16695 </availableFormats>
16697 <nationalNumberPattern>[28]\d{7,8}</nationalNumberPattern>
16698 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
16701 <nationalNumberPattern>
16708 </nationalNumberPattern>
16709 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16710 <exampleNumber>21123456</exampleNumber>
16713 <nationalNumberPattern>8[23467]\d{7}</nationalNumberPattern>
16714 <possibleNumberPattern>\d{9}</possibleNumberPattern>
16715 <exampleNumber>821234567</exampleNumber>
16718 <!-- Unsure of the length requirement on toll-free numbers, so using 9 based on online
16720 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
16721 <possibleNumberPattern>\d{9}</possibleNumberPattern>
16722 <exampleNumber>800123456</exampleNumber>
16724 <!-- The plan suggests 801 and 802 numbers are shared-cost numbers, and numbers beginning with
16725 a 9 are premium rate, but no online examples can be found of any of these so they are
16726 omitted for the time-being. -->
16730 <territory id="NA" countryCode="264" internationalPrefix="00"
16731 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
16733 <sourceUrl>http://www.itu.int/oth/T0202000093/en</sourceUrl>
16736 <numberFormat pattern="(8\d)(\d{3})(\d{4})">
16737 <leadingDigits>8[1235]</leadingDigits>
16738 <format>$1 $2 $3</format>
16740 <numberFormat pattern="(6\d)(\d{2,3})(\d{4})">
16741 <leadingDigits>6</leadingDigits>
16742 <format>$1 $2 $3</format>
16744 <numberFormat pattern="(88)(\d{3})(\d{3})">
16745 <leadingDigits>88</leadingDigits>
16746 <format>$1 $2 $3</format>
16748 <numberFormat pattern="(870)(\d{3})(\d{3})">
16749 <leadingDigits>870</leadingDigits>
16750 <format>$1 $2 $3</format>
16752 </availableFormats>
16754 <nationalNumberPattern>[68]\d{7,8}</nationalNumberPattern>
16755 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
16758 <!-- Includes VSAT service. -->
16759 <nationalNumberPattern>
16847 </nationalNumberPattern>
16848 <exampleNumber>61221234</exampleNumber>
16851 <!-- Includes the Switch CDMA Service. -->
16852 <nationalNumberPattern>
16857 </nationalNumberPattern>
16858 <possibleNumberPattern>\d{9}</possibleNumberPattern>
16859 <exampleNumber>811234567</exampleNumber>
16862 <nationalNumberPattern>8701\d{5}</nationalNumberPattern>
16863 <possibleNumberPattern>\d{9}</possibleNumberPattern>
16864 <exampleNumber>870123456</exampleNumber>
16867 <!-- Including virtual telephone and VOIP services. -->
16868 <nationalNumberPattern>
16873 </nationalNumberPattern>
16874 <exampleNumber>88612345</exampleNumber>
16878 <!-- New Caledonia (Territoire français d'outre-mer) -->
16879 <territory id="NC" countryCode="687" internationalPrefix="00">
16881 <sourceUrl>http://www.itu.int/oth/T0202000098/en</sourceUrl>
16882 <sourceUrl>http://www.opt.nc</sourceUrl>
16885 <!-- From http://www.1012.nc, the local yellow pages. -->
16886 <numberFormat pattern="(\d{2})(\d{2})(\d{2})">
16887 <!-- We exclude short-codes here so they are formatted as a block -->
16892 <format>$1.$2.$3</format>
16894 </availableFormats>
16896 <nationalNumberPattern>[2-57-9]\d{5}</nationalNumberPattern>
16897 <possibleNumberPattern>\d{6}</possibleNumberPattern>
16900 <!-- Including the 88 prefix for public payphones. -->
16901 <nationalNumberPattern>
16908 </nationalNumberPattern>
16909 <exampleNumber>201234</exampleNumber>
16912 <nationalNumberPattern>
16918 </nationalNumberPattern>
16919 <exampleNumber>751234</exampleNumber>
16921 <!-- Listed as "voice services", from what we've seen they seem to cost extra. -->
16922 <!-- Note that OPT lists 3631 as a free short number for caller ID services, but the ITU
16923 document says that all 36 numbers are 6 digits. See ShortNumberMetadata.xml for more. -->
16925 <nationalNumberPattern>36\d{4}</nationalNumberPattern>
16926 <exampleNumber>366711</exampleNumber>
16931 <territory id="NE" countryCode="227" internationalPrefix="00" leadingZeroPossible="true">
16933 <sourceUrl>http://www.itu.int/oth/T020200009B/en</sourceUrl>
16936 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
16941 <format>$1 $2 $3 $4</format>
16943 <numberFormat pattern="(08)(\d{3})(\d{3})">
16944 <leadingDigits>08</leadingDigits>
16945 <format>$1 $2 $3</format>
16947 </availableFormats>
16949 <nationalNumberPattern>[0289]\d{7}</nationalNumberPattern>
16950 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16953 <!-- Adding 20 61 from online numbers. -->
16954 <nationalNumberPattern>
16972 </nationalNumberPattern>
16973 <exampleNumber>20201234</exampleNumber>
16976 <!-- Added 90, 91, 92, 95, 97, 98 & 99 from online data. Airtel have confirmed that they use the
16977 89 and 97 prefixes, and Orange use 92. MOOV started using 95 in Jan 2014. -->
16978 <nationalNumberPattern>
16983 </nationalNumberPattern>
16984 <exampleNumber>93123456</exampleNumber>
16987 <nationalNumberPattern>08\d{6}</nationalNumberPattern>
16988 <exampleNumber>08123456</exampleNumber>
16991 <nationalNumberPattern>09\d{6}</nationalNumberPattern>
16992 <exampleNumber>09123456</exampleNumber>
16996 <!-- Norfolk Island -->
16997 <!-- Including numbers for Australian Antarctic stations. -->
16998 <territory id="NF" countryCode="672" internationalPrefix="00">
17000 <sourceUrl>http://www.itu.int/oth/T020200009D/en</sourceUrl>
17003 <numberFormat pattern="(\d{2})(\d{4})">
17004 <leadingDigits>1</leadingDigits>
17005 <format>$1 $2</format>
17007 <numberFormat pattern="(\d)(\d{5})">
17008 <leadingDigits>3</leadingDigits>
17009 <format>$1 $2</format>
17011 </availableFormats>
17013 <nationalNumberPattern>[13]\d{5}</nationalNumberPattern>
17014 <possibleNumberPattern>\d{5,6}</possibleNumberPattern>
17017 <!-- ITU says all 3X numbers except 38 are fixed-line, but 3[3-79] numbers don't seem to
17018 connect after we tried calling them. -->
17019 <nationalNumberPattern>
17029 </nationalNumberPattern>
17030 <exampleNumber>106609</exampleNumber>
17033 <nationalNumberPattern>38\d{4}</nationalNumberPattern>
17034 <exampleNumber>381234</exampleNumber>
17039 <territory id="NG" countryCode="234" internationalPrefix="009"
17040 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
17041 mobileNumberPortableRegion="true">
17043 <sourceUrl>http://www.itu.int/oth/T020200009C/en</sourceUrl>
17046 <numberFormat pattern="([129])(\d{3})(\d{3,4})">
17047 <leadingDigits>[129]</leadingDigits>
17048 <format>$1 $2 $3</format>
17050 <numberFormat pattern="(\d{2})(\d{3})(\d{2,3})">
17059 <format>$1 $2 $3</format>
17061 <numberFormat pattern="(\d{3})(\d{3})(\d{3,4})">
17067 <format>$1 $2 $3</format>
17069 <numberFormat pattern="([78]00)(\d{4})(\d{4,5})">
17070 <leadingDigits>[78]00</leadingDigits>
17071 <format>$1 $2 $3</format>
17073 <numberFormat pattern="([78]00)(\d{5})(\d{5,6})">
17074 <leadingDigits>[78]00</leadingDigits>
17075 <format>$1 $2 $3</format>
17077 <numberFormat pattern="(78)(\d{2})(\d{3})">
17078 <leadingDigits>78</leadingDigits>
17079 <format>$1 $2 $3</format>
17081 </availableFormats>
17083 <nationalNumberPattern>
17087 </nationalNumberPattern>
17088 <possibleNumberPattern>\d{5,14}</possibleNumberPattern>
17091 <nationalNumberPattern>
17115 </nationalNumberPattern>
17116 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
17117 <exampleNumber>12345678</exampleNumber>
17120 <!-- More 81X prefixes have been added based on online numbers, including the prefix 817
17121 from Etisalat, 814 MTN and 811 from Glo. Furthermore, the fixed-line prefixes owned by
17122 Starcomms have apparently, according to the company, been used for mobile numbers too,
17123 despite the ITU plan, so we list them here as well. 701 has been added for Airtel/Zain.
17124 903 has been added for MTN and 909 has been added for Etisalat. -->
17125 <nationalNumberPattern>
17209 </nationalNumberPattern>
17210 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
17211 <exampleNumber>8021234567</exampleNumber>
17213 <!-- Info on these numbers from http://www.alphatechnologieslimited.com. -->
17215 <nationalNumberPattern>800\d{7,11}</nationalNumberPattern>
17216 <possibleNumberPattern>\d{10,14}</possibleNumberPattern>
17217 <exampleNumber>80017591759</exampleNumber>
17220 <nationalNumberPattern>700\d{7,11}</nationalNumberPattern>
17221 <possibleNumberPattern>\d{10,14}</possibleNumberPattern>
17222 <exampleNumber>7001234567</exampleNumber>
17227 <territory id="NI" countryCode="505" internationalPrefix="00">
17229 <sourceUrl>http://www.itu.int/oth/T020200009A/en</sourceUrl>
17232 <numberFormat pattern="(\d{4})(\d{4})">
17233 <format>$1 $2</format>
17235 </availableFormats>
17237 <nationalNumberPattern>[12578]\d{7}</nationalNumberPattern>
17238 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17241 <nationalNumberPattern>2\d{7}</nationalNumberPattern>
17242 <exampleNumber>21234567</exampleNumber>
17245 <!-- 55[0-7], 57, 58 and 7[5-8] were added from bug reports/numbers found online. -->
17246 <nationalNumberPattern>
17253 </nationalNumberPattern>
17254 <exampleNumber>81234567</exampleNumber>
17257 <nationalNumberPattern>1800\d{4}</nationalNumberPattern>
17258 <exampleNumber>18001234</exampleNumber>
17262 <!-- Netherlands -->
17263 <territory id="NL" countryCode="31" internationalPrefix="00"
17264 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
17265 mobileNumberPortableRegion="true">
17267 <sourceUrl>http://en.wikipedia.org/wiki/%2B31</sourceUrl>
17268 <sourceUrl>http://www.opta.nl/en/numbers/search-for-numbers</sourceUrl>
17271 <numberFormat pattern="([1-578]\d)(\d{3})(\d{4})">
17281 <format>$1 $2 $3</format>
17283 <numberFormat pattern="([1-5]\d{2})(\d{3})(\d{3})">
17291 <format>$1 $2 $3</format>
17293 <numberFormat pattern="(6)(\d{8})">
17294 <leadingDigits>6[0-57-9]</leadingDigits>
17295 <format>$1 $2</format>
17297 <numberFormat pattern="(66)(\d{7})">
17298 <leadingDigits>66</leadingDigits>
17299 <format>$1 $2</format>
17301 <numberFormat pattern="(14)(\d{3,4})" nationalPrefixFormattingRule="$FG">
17302 <leadingDigits>14</leadingDigits>
17303 <format>$1 $2</format>
17305 <numberFormat pattern="([89]0\d)(\d{4,7})">
17310 <format>$1 $2</format>
17312 </availableFormats>
17314 <nationalNumberPattern>
17318 </nationalNumberPattern>
17319 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
17321 <noInternationalDialling>
17322 <nationalNumberPattern>14\d{3,4}</nationalNumberPattern>
17323 <possibleNumberPattern>\d{5,6}</possibleNumberPattern>
17324 </noInternationalDialling>
17326 <nationalNumberPattern>
17335 </nationalNumberPattern>
17336 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17337 <exampleNumber>101234567</exampleNumber>
17340 <nationalNumberPattern>6[1-58]\d{7}</nationalNumberPattern>
17341 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17342 <exampleNumber>612345678</exampleNumber>
17345 <nationalNumberPattern>66\d{7}</nationalNumberPattern>
17346 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17347 <exampleNumber>662345678</exampleNumber>
17350 <nationalNumberPattern>800\d{4,7}</nationalNumberPattern>
17351 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
17352 <exampleNumber>8001234</exampleNumber>
17355 <nationalNumberPattern>90[069]\d{4,7}</nationalNumberPattern>
17356 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
17357 <exampleNumber>9061234</exampleNumber>
17360 <nationalNumberPattern>85\d{7}</nationalNumberPattern>
17361 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17362 <exampleNumber>851234567</exampleNumber>
17365 <!-- These numbers are used for local government. They are formed by the appending the local
17366 dialling code (including the national prefix 0) after the leading digits "14". -->
17367 <nationalNumberPattern>
17392 </nationalNumberPattern>
17393 <possibleNumberPattern>\d{5,6}</possibleNumberPattern>
17394 <exampleNumber>14020</exampleNumber>
17399 <!-- Metadata (excluding fixed-line) shared with Svalbard. -->
17400 <territory id="NO" countryCode="47" internationalPrefix="00" leadingZeroPossible="true"
17401 mainCountryForCode="true" mobileNumberPortableRegion="true">
17403 <sourceUrl>http://www.npt.no/npt/numsys/E.164.pdf</sourceUrl>
17406 <numberFormat pattern="([489]\d{2})(\d{2})(\d{3})">
17407 <leadingDigits>[489]</leadingDigits>
17408 <format>$1 $2 $3</format>
17410 <numberFormat pattern="([235-7]\d)(\d{2})(\d{2})(\d{2})">
17411 <leadingDigits>[235-7]</leadingDigits>
17412 <format>$1 $2 $3 $4</format>
17414 </availableFormats>
17416 <nationalNumberPattern>
17419 </nationalNumberPattern>
17420 <possibleNumberPattern>\d{5}(?:\d{3})?</possibleNumberPattern>
17423 <!-- Excludes Svalbard fixed-line numbers. -->
17424 <nationalNumberPattern>
17432 </nationalNumberPattern>
17433 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17434 <exampleNumber>21234567</exampleNumber>
17437 <nationalNumberPattern>
17443 </nationalNumberPattern>
17444 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17445 <exampleNumber>40612345</exampleNumber>
17448 <nationalNumberPattern>80[01]\d{5}</nationalNumberPattern>
17449 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17450 <exampleNumber>80012345</exampleNumber>
17453 <nationalNumberPattern>82[09]\d{5}</nationalNumberPattern>
17454 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17455 <exampleNumber>82012345</exampleNumber>
17458 <nationalNumberPattern>
17463 </nationalNumberPattern>
17464 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17465 <exampleNumber>81021234</exampleNumber>
17468 <nationalNumberPattern>880\d{5}</nationalNumberPattern>
17469 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17470 <exampleNumber>88012345</exampleNumber>
17473 <nationalNumberPattern>85[0-5]\d{5}</nationalNumberPattern>
17474 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17475 <exampleNumber>85012345</exampleNumber>
17478 <!-- Includes some 810 local-rate numbers, and long-distance rate numbers. -->
17479 <nationalNumberPattern>
17488 </nationalNumberPattern>
17489 <exampleNumber>01234</exampleNumber>
17492 <nationalNumberPattern>81[23]\d{5}</nationalNumberPattern>
17493 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17494 <exampleNumber>81212345</exampleNumber>
17499 <territory id="NP" countryCode="977" internationalPrefix="00"
17500 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
17502 <sourceUrl>http://www.itu.int/oth/T0202000095/en</sourceUrl>
17503 <sourceUrl>http://www.ntc.net.np/mobile/mob_postpaid_number_scheme.php</sourceUrl>
17506 <!-- Formatting patterns taken from pages like http://www.nepalgov.gov.np -->
17507 <numberFormat pattern="(1)(\d{7})">
17508 <leadingDigits>1[2-6]</leadingDigits>
17509 <format>$1-$2</format>
17511 <numberFormat pattern="(\d{2})(\d{6})">
17520 <format>$1-$2</format>
17522 <numberFormat pattern="(9\d{2})(\d{7})">
17529 <format>$1-$2</format>
17531 </availableFormats>
17533 <!-- This is complex, in order to try and distinguish between numbers that start with 97 and
17534 numbers that have the country code prefixed. -->
17535 <nationalNumberPattern>
17542 </nationalNumberPattern>
17543 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
17546 <!-- Added (1) 2XXXXXX and (88) from numbers found online. -->
17547 <nationalNumberPattern>
17559 </nationalNumberPattern>
17560 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
17561 <exampleNumber>14567890</exampleNumber>
17563 <!-- There is no definitive source of information for mobile numbers in Nepal. The information
17564 here is collected by searching the Internet. -->
17566 <nationalNumberPattern>
17571 </nationalNumberPattern>
17572 <possibleNumberPattern>\d{10}</possibleNumberPattern>
17573 <exampleNumber>9841234567</exampleNumber>
17575 <!-- No information on other types of phone numbers for Nepal has been found. -->
17579 <territory id="NR" countryCode="674" internationalPrefix="00">
17581 <sourceUrl>http://www.itu.int/oth/T0202000094/en</sourceUrl>
17582 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Nauru</sourceUrl>
17585 <numberFormat pattern="(\d{3})(\d{4})">
17586 <format>$1 $2</format>
17588 </availableFormats>
17590 <nationalNumberPattern>[458]\d{6}</nationalNumberPattern>
17591 <possibleNumberPattern>\d{7}</possibleNumberPattern>
17594 <nationalNumberPattern>
17599 </nationalNumberPattern>
17600 <exampleNumber>4441234</exampleNumber>
17603 <nationalNumberPattern>55[5-9]\d{4}</nationalNumberPattern>
17604 <exampleNumber>5551234</exampleNumber>
17609 <territory id="NU" countryCode="683" internationalPrefix="00">
17611 <sourceUrl>http://www.itu.int/oth/T02020000EC/en</sourceUrl>
17612 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Niue</sourceUrl>
17614 <!-- Numbers are always formatted as a block. -->
17616 <nationalNumberPattern>[1-5]\d{3}</nationalNumberPattern>
17617 <possibleNumberPattern>\d{4}</possibleNumberPattern>
17620 <!-- Putting FWT (fixed-wireless-terminals) numbers here too. -->
17621 <nationalNumberPattern>[34]\d{3}</nationalNumberPattern>
17622 <exampleNumber>4002</exampleNumber>
17625 <nationalNumberPattern>[125]\d{3}</nationalNumberPattern>
17626 <exampleNumber>1234</exampleNumber>
17630 <!-- New Zealand -->
17631 <!-- Includes Ross Dependency, Antarctica -->
17632 <!-- Does not currently support 083 "Enhanced voice services", New Zealand direct service
17633 numbers and 050 "Nation-Wide Service". -->
17634 <territory id="NZ" countryCode="64" internationalPrefix="0(?:0|161)"
17635 preferredInternationalPrefix="00" nationalPrefix="0"
17636 nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
17638 <sourceUrl>http://www.itu.int/oth/T0202000099/en</sourceUrl>
17641 <!-- Pattern for fixed-line formats. -->
17642 <numberFormat pattern="([34679])(\d{3})(\d{4})">
17647 <format>$1-$2 $3</format>
17649 <!-- Area code for NZ's Scott Base, in Antarctica. -->
17650 <numberFormat pattern="(24099)(\d{3})">
17651 <leadingDigits>240</leadingDigits>
17652 <leadingDigits>2409</leadingDigits>
17653 <leadingDigits>24099</leadingDigits>
17654 <format>$1 $2</format>
17656 <!-- Mobile numbers do not have exclusive leading digits - formatting depends on number
17658 <!-- Vodafone numbers can be 8 digits (without leading 0). -->
17659 <numberFormat pattern="(\d{2})(\d{3})(\d{3})">
17660 <leadingDigits>21</leadingDigits>
17661 <format>$1 $2 $3</format>
17663 <!-- Paging numbers and some mobile numbers (Telecom/Vodafone/TelstraClear). -->
17664 <numberFormat pattern="(\d{2})(\d{3})(\d{3,5})">
17673 <format>$1 $2 $3</format>
17675 <!-- 2Degrees numbers are formatted with 022 separated, since this seems to be more common
17676 than writing the first group as 022X based on Google web searches, and is used by
17677 2Degrees themselves. See formatting on http://www.2degreesmobile.co.nz for an example
17678 of the latter. We follow the same pattern for 020 (Orcon) and 028 (mixed) numbers. -->
17679 <numberFormat pattern="(2\d)(\d{3,4})(\d{4})">
17680 <leadingDigits>2[028]</leadingDigits>
17681 <format>$1 $2 $3</format>
17683 <numberFormat pattern="(\d{3})(\d{3})(\d{3,4})">
17684 <!-- 0274, 0210 and toll-free/premium-rate prefixes 0508/0800/0900. -->
17693 <format>$1 $2 $3</format>
17695 </availableFormats>
17697 <nationalNumberPattern>
17700 </nationalNumberPattern>
17701 <possibleNumberPattern>\d{7,11}</possibleNumberPattern>
17704 <!-- 07 788 was assigned to Voxbox according to
17705 http://www.nad.org.nz/07GeographicalCodes.php -->
17706 <nationalNumberPattern>
17714 </nationalNumberPattern>
17715 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
17716 <exampleNumber>32345678</exampleNumber>
17719 <!-- Includes mobile radio service numbers (e.g. TeamTalk). The lengths of numbers with
17720 prefix 21 are different from what's specified in the ITU doc, because of numbers found
17722 <nationalNumberPattern>
17732 </nationalNumberPattern>
17733 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
17734 <exampleNumber>211234567</exampleNumber>
17737 <nationalNumberPattern>[28]6\d{6,7}</nationalNumberPattern>
17738 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
17739 <exampleNumber>26123456</exampleNumber>
17741 <!-- These are the toll free patterns used, by Telecom and Telstra/Clear, but they are
17742 referred to as 'Value-added service' in the phone plan for some reason. 85 numbers are
17743 not covered, as telecom companies don't seem to support them yet. -->
17745 <nationalNumberPattern>
17748 </nationalNumberPattern>
17749 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
17750 <exampleNumber>800123456</exampleNumber>
17753 <nationalNumberPattern>90\d{7,9}</nationalNumberPattern>
17754 <possibleNumberPattern>\d{9,11}</possibleNumberPattern>
17755 <exampleNumber>900123456</exampleNumber>
17760 <territory id="OM" countryCode="968" internationalPrefix="00" mobileNumberPortableRegion="true">
17762 <sourceUrl>http://www.itu.int/oth/T020200009F/en</sourceUrl>
17765 <numberFormat pattern="(2\d)(\d{6})">
17766 <leadingDigits>2</leadingDigits>
17767 <format>$1 $2</format>
17769 <numberFormat pattern="(9\d{3})(\d{4})">
17770 <leadingDigits>9</leadingDigits>
17771 <format>$1 $2</format>
17773 <numberFormat pattern="([58]00)(\d{4,6})">
17774 <leadingDigits>[58]</leadingDigits>
17775 <format>$1 $2</format>
17777 </availableFormats>
17779 <nationalNumberPattern>
17786 </nationalNumberPattern>
17787 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
17790 <nationalNumberPattern>2[2-6]\d{6}</nationalNumberPattern>
17791 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17792 <exampleNumber>23123456</exampleNumber>
17795 <nationalNumberPattern>9[1-9]\d{6}</nationalNumberPattern>
17796 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17797 <exampleNumber>92123456</exampleNumber>
17800 <!-- Link to document about toll-free numbers on http://www.tra.gov.om, which suggests they
17801 should be 8007 followed by 4 digits. However, the only examples I can find, including
17802 the customer help line for the main telephony company there (omantel), is 8007 followed
17803 by 5 digits, so am allowing both for now to be on the safe side. 500 numbers seem to
17804 offer international toll-free dialing numbers - +968 500 1300 for international help
17805 desk for omantel, for example. -->
17806 <nationalNumberPattern>
17809 </nationalNumberPattern>
17810 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
17811 <exampleNumber>80071234</exampleNumber>
17813 <!-- No premiumRate information can be found. -->
17817 <territory id="PA" countryCode="507" internationalPrefix="00" mobileNumberPortableRegion="true">
17819 <!-- Last read July 9, 2014. -->
17820 <sourceUrl>http://www.asep.gob.pa/telecom/pnn/default.asp</sourceUrl>
17821 <!-- Omits the fact that mobile phones are 8 digits long. -->
17822 <sourceUrl>http://en.wikipedia.org/wiki/%2B507</sourceUrl>
17825 <numberFormat pattern="(\d{3})(\d{4})">
17826 <leadingDigits>[1-57-9]</leadingDigits>
17827 <format>$1-$2</format>
17829 <numberFormat pattern="(\d{4})(\d{4})">
17830 <leadingDigits>6</leadingDigits>
17831 <format>$1-$2</format>
17833 </availableFormats>
17835 <nationalNumberPattern>[1-9]\d{6,7}</nationalNumberPattern>
17836 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
17838 <!-- Note that numbers starting with 101, 106, 131, 151, 156 and 168 have not been assigned to
17839 any rule below since we are not sure what the "servicios 102/103" refer to here. -->
17841 <!-- Note that "servicios 101/104" in the plan refer to "Local Basic Communications Service"
17842 and "Public and Semipublic Terminal Service", represented here as fixed-line. -->
17843 <!-- The range 194-XXXX has been added since a number was found online with this prefix and
17844 proved to be diallable. -->
17845 <nationalNumberPattern>
17914 </nationalNumberPattern>
17915 <possibleNumberPattern>\d{7}</possibleNumberPattern>
17916 <exampleNumber>2001234</exampleNumber>
17919 <!-- Note that "servicios 106/107" in the plan refer to mobile services. We also include
17920 service "210", "Servicio de Busca Personas". -->
17921 <nationalNumberPattern>
17935 </nationalNumberPattern>
17936 <exampleNumber>60012345</exampleNumber>
17939 <nationalNumberPattern>80[09]\d{4}</nationalNumberPattern>
17940 <possibleNumberPattern>\d{7}</possibleNumberPattern>
17941 <exampleNumber>8001234</exampleNumber>
17944 <!-- Value-added services are represented as "400" in the plan. -->
17945 <nationalNumberPattern>
17961 </nationalNumberPattern>
17962 <possibleNumberPattern>\d{7}</possibleNumberPattern>
17963 <exampleNumber>8601234</exampleNumber>
17968 <territory id="PE" countryCode="51" internationalPrefix="19(?:1[124]|77|90)00"
17969 nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)"
17970 preferredExtnPrefix=" Anexo " mobileNumberPortableRegion="true">
17972 <sourceUrl>http://www.itu.int/oth/T02020000A6/en</sourceUrl>
17973 <sourceUrl>http://en.wikipedia.org/wiki/+51</sourceUrl>
17974 <sourceUrl>http://www.assistbook.com/South%20America/Peru/widecodes</sourceUrl>
17977 <numberFormat pattern="(1)(\d{7})">
17978 <leadingDigits>1</leadingDigits>
17979 <format>$1 $2</format>
17981 <numberFormat pattern="([4-8]\d)(\d{6})">
17986 <format>$1 $2</format>
17988 <numberFormat pattern="(\d{3})(\d{5})">
17989 <leadingDigits>80</leadingDigits>
17990 <format>$1 $2</format>
17992 <!-- Formatting from common usage found on the internet, supported by ITU doc. -->
17993 <numberFormat pattern="(9\d{2})(\d{3})(\d{3})"
17994 nationalPrefixFormattingRule="$FG">
17995 <leadingDigits>9</leadingDigits>
17996 <format>$1 $2 $3</format>
17998 </availableFormats>
18000 <nationalNumberPattern>[14-9]\d{7,8}</nationalNumberPattern>
18001 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
18004 <nationalNumberPattern>
18013 </nationalNumberPattern>
18014 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
18015 <exampleNumber>11234567</exampleNumber>
18018 <nationalNumberPattern>9\d{8}</nationalNumberPattern>
18019 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18020 <exampleNumber>912345678</exampleNumber>
18023 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
18024 <possibleNumberPattern>\d{8}</possibleNumberPattern>
18025 <exampleNumber>80012345</exampleNumber>
18028 <nationalNumberPattern>805\d{5}</nationalNumberPattern>
18029 <possibleNumberPattern>\d{8}</possibleNumberPattern>
18030 <exampleNumber>80512345</exampleNumber>
18033 <nationalNumberPattern>801\d{5}</nationalNumberPattern>
18034 <possibleNumberPattern>\d{8}</possibleNumberPattern>
18035 <exampleNumber>80112345</exampleNumber>
18038 <nationalNumberPattern>80[24]\d{5}</nationalNumberPattern>
18039 <possibleNumberPattern>\d{8}</possibleNumberPattern>
18040 <exampleNumber>80212345</exampleNumber>
18044 <!-- French Polynesia (Tahiti) (Territoire français d'outre-mer) -->
18045 <territory id="PF" countryCode="689" internationalPrefix="00">
18047 <sourceUrl>http://www.itu.int/oth/T020200004D/en</sourceUrl>
18050 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
18055 <format>$1 $2 $3 $4</format>
18057 <numberFormat pattern="(\d{2})(\d{2})(\d{2})">
18058 <leadingDigits>44</leadingDigits>
18059 <format>$1 $2 $3</format>
18061 </availableFormats>
18063 <nationalNumberPattern>
18066 </nationalNumberPattern>
18067 <possibleNumberPattern>\d{6}(?:\d{2})?</possibleNumberPattern>
18069 <noInternationalDialling>
18070 <nationalNumberPattern>44\d{4}</nationalNumberPattern>
18071 <possibleNumberPattern>\d{6}</possibleNumberPattern>
18072 <exampleNumber>441234</exampleNumber>
18073 </noInternationalDialling>
18075 <!-- Includes payphone prefixes. -->
18076 <nationalNumberPattern>
18081 </nationalNumberPattern>
18082 <exampleNumber>40412345</exampleNumber>
18085 <nationalNumberPattern>8[79]\d{6}</nationalNumberPattern>
18086 <possibleNumberPattern>\d{8}</possibleNumberPattern>
18087 <exampleNumber>87123456</exampleNumber>
18091 <!-- Papua New Guinea -->
18092 <territory id="PG" countryCode="675" internationalPrefix="00">
18094 <sourceUrl>http://www.itu.int/oth/T02020000A4/en</sourceUrl>
18095 <sourceUrl>http://en.wikipedia.org/wiki/%2B675</sourceUrl>
18098 <numberFormat pattern="(\d{3})(\d{4})">
18103 <format>$1 $2</format>
18105 <numberFormat pattern="(\d{4})(\d{4})">
18110 <format>$1 $2</format>
18112 </availableFormats>
18114 <nationalNumberPattern>[1-9]\d{6,7}</nationalNumberPattern>
18115 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
18118 <nationalNumberPattern>
18131 </nationalNumberPattern>
18132 <possibleNumberPattern>\d{7}</possibleNumberPattern>
18133 <exampleNumber>3123456</exampleNumber>
18136 <!-- Mobile number patterns from the numbering plan are included here, as well as 68X from
18138 As per ITU doc, prefix 20150 will expire at the end of 2015. -->
18139 <nationalNumberPattern>
18148 </nationalNumberPattern>
18149 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
18150 <exampleNumber>6812345</exampleNumber>
18153 <nationalNumberPattern>180\d{4}</nationalNumberPattern>
18154 <possibleNumberPattern>\d{7}</possibleNumberPattern>
18155 <exampleNumber>1801234</exampleNumber>
18158 <!-- VSAT prefixes are here. -->
18159 <nationalNumberPattern>275\d{4}</nationalNumberPattern>
18160 <possibleNumberPattern>\d{7}</possibleNumberPattern>
18161 <exampleNumber>2751234</exampleNumber>
18165 <!-- Philippines -->
18166 <territory id="PH" countryCode="63" internationalPrefix="00" nationalPrefix="0">
18168 <sourceUrl>http://en.wikipedia.org/wiki/%2B63</sourceUrl>
18171 <!-- Area code separated from number. Area codes found here:
18172 http://en.wikipedia.org/wiki/Telecommunications_in_the_Philippines#Area_Codes -->
18173 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
18174 pattern="(2)(\d{3})(\d{4})">
18175 <leadingDigits>2</leadingDigits>
18176 <format>$1 $2 $3</format>
18178 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
18179 pattern="(2)(\d{5})">
18180 <leadingDigits>2</leadingDigits>
18181 <format>$1 $2</format>
18183 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
18184 pattern="(\d{4})(\d{4,6})">
18240 <format>$1 $2</format>
18242 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
18243 pattern="(\d{5})(\d{4})">
18263 <format>$1 $2</format>
18265 <!-- This rule is a fallback for the more specific area codes. -->
18266 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
18267 pattern="([3-8]\d)(\d{3})(\d{4})">
18268 <leadingDigits>[3-8]</leadingDigits>
18269 <format>$1 $2 $3</format>
18271 <numberFormat nationalPrefixFormattingRule="$NP$FG"
18272 pattern="(\d{3})(\d{3})(\d{4})">
18277 <format>$1 $2 $3</format>
18279 <!-- Formatting from http://www.uniontelecard.com/calling-guides/philippines/guide1.aspx -->
18280 <numberFormat pattern="(1800)(\d{3})(\d{4})">
18281 <leadingDigits>1</leadingDigits>
18282 <format>$1 $2 $3</format>
18284 <numberFormat pattern="(1800)(\d{1,2})(\d{3})(\d{4})">
18285 <leadingDigits>1</leadingDigits>
18286 <format>$1 $2 $3 $4</format>
18288 </availableFormats>
18290 <nationalNumberPattern>
18294 </nationalNumberPattern>
18295 <possibleNumberPattern>\d{5,13}</possibleNumberPattern>
18298 <!-- Evidence on number length is hard to come by. We have found diallable numbers in Manila
18299 that have only 5 digits after the area code; plus it seems the 8822 area code is
18300 followed by 6 digits, and 8842 by only 4. -->
18301 <nationalNumberPattern>
18315 </nationalNumberPattern>
18316 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
18317 <exampleNumber>21234567</exampleNumber>
18320 <nationalNumberPattern>
18334 </nationalNumberPattern>
18335 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18336 <exampleNumber>9051234567</exampleNumber>
18338 <!-- Information on toll-free numbers collected from searching the internet -->
18340 <nationalNumberPattern>1800\d{7,9}</nationalNumberPattern>
18341 <possibleNumberPattern>\d{11,13}</possibleNumberPattern>
18342 <exampleNumber>180012345678</exampleNumber>
18344 <!-- No information can be found about other types of numbers (such as premium rate) in the
18349 <territory id="PK" countryCode="92" internationalPrefix="00"
18350 nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)"
18351 mobileNumberPortableRegion="true">
18353 <sourceUrl>http://www.itu.int/oth/T02020000A1/en</sourceUrl>
18354 <sourceUrl>http://en.wikipedia.org/wiki/%2B92</sourceUrl>
18357 <!-- Universal Access Numbers (UAN) number format patterns first, so that these numbers are
18358 formatted nicely by the AYTF. -->
18359 <numberFormat pattern="(\d{2})(111)(\d{3})(\d{3})">
18393 <format>$1 $2 $3 $4</format>
18395 <numberFormat pattern="(\d{3})(111)(\d{3})(\d{3})">
18438 <format>$1 $2 $3 $4</format>
18440 <numberFormat pattern="(\d{2})(\d{7,8})">
18452 <format>$1 $2</format>
18454 <numberFormat pattern="(\d{3})(\d{6,7})">
18475 <format>$1 $2</format>
18477 <numberFormat pattern="(3\d{2})(\d{7})" nationalPrefixFormattingRule="$NP$FG">
18478 <leadingDigits>3</leadingDigits>
18479 <format>$1 $2</format>
18481 <numberFormat pattern="([15]\d{3})(\d{5,6})">
18486 <format>$1 $2</format>
18488 <!-- This is from online examples. -->
18489 <numberFormat pattern="(586\d{2})(\d{5})">
18490 <leadingDigits>586</leadingDigits>
18491 <format>$1 $2</format>
18493 <numberFormat pattern="([89]00)(\d{3})(\d{2})" nationalPrefixFormattingRule="$NP$FG">
18494 <leadingDigits>[89]00</leadingDigits>
18495 <format>$1 $2 $3</format>
18497 </availableFormats>
18499 <!-- This is horribly complex because the country code is 92, and several area codes start
18500 with 92, and the number length is widely variable. -->
18501 <nationalNumberPattern>
18511 </nationalNumberPattern>
18512 <possibleNumberPattern>\d{6,12}</possibleNumberPattern>
18515 <!-- The subscriber number length is not well defined for some area codes. From online
18516 examples, we have come up with a heuristic that for 3-digit area codes, the subscriber
18517 number will be 6 or 7 digits - for 2-digit area codes it will be 7, with the exceptions
18518 of Karachi and Lahore (both 8). -->
18519 <nationalNumberPattern>
18559 </nationalNumberPattern>
18560 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
18561 <exampleNumber>2123456789</exampleNumber>
18564 <!-- Adding 311, 325 and 320 as SMSs have been successfully sent to these numbers and numbers
18565 can be found online with these prefixes. Added 310 based on information from Zong. -->
18566 <nationalNumberPattern>
18575 </nationalNumberPattern>
18576 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18577 <exampleNumber>3012345678</exampleNumber>
18580 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
18581 <possibleNumberPattern>\d{8}</possibleNumberPattern>
18582 <exampleNumber>80012345</exampleNumber>
18585 <nationalNumberPattern>900\d{5}</nationalNumberPattern>
18586 <possibleNumberPattern>\d{8}</possibleNumberPattern>
18587 <exampleNumber>90012345</exampleNumber>
18589 <!-- These are referred to as UPT numbers in the plan. -->
18591 <nationalNumberPattern>122\d{6}</nationalNumberPattern>
18592 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18593 <!-- The example number here is the test number from the plan. -->
18594 <exampleNumber>122044444</exampleNumber>
18597 <!-- Data on what a UAN is is hard to come by. http://www.ptcl.com.pk has information under
18598 http://www.ptcl.com.pk/contentb.php?NID=143#uan - which defines their format - but not
18599 what type of number they are. We exclude Azad Jammu, Kashmir and Northern Areas here
18600 since no online example UANs can be found, and they have an "access code" at the start,
18601 making it difficult to guess what a UAN in these areas would look like. -->
18602 <nationalNumberPattern>
18642 </nationalNumberPattern>
18643 <possibleNumberPattern>\d{11,12}</possibleNumberPattern>
18644 <exampleNumber>21111825888</exampleNumber>
18649 <territory id="PL" countryCode="48" internationalPrefix="00" mobileNumberPortableRegion="true">
18651 <sourceUrl>http://en.wikipedia.org/wiki/%2B48</sourceUrl>
18652 <sourceUrl>http://www.itu.int/oth/T02020000A8/en</sourceUrl>
18653 <!-- Source is in Polish. -->
18654 <sourceUrl>http://www.uke.gov.pl/uke/index.jsp?place=Lead24&news_cat_id=277&news_id=3791&layout=9&page=text</sourceUrl>
18657 <numberFormat pattern="(\d{2})(\d{3})(\d{2})(\d{2})">
18667 <format>$1 $2 $3 $4</format>
18669 <numberFormat pattern="(\d{2})(\d{1})(\d{4})">
18670 <leadingDigits>[12]2</leadingDigits>
18671 <format>$1 $2 $3</format>
18673 <!-- We are formatting 70 numbers as per mobile numbers, based on information from some
18674 Poles that this is more usual. -->
18675 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
18683 <format>$1 $2 $3</format>
18685 <!-- Additional patterns for shorter pager numbers. -->
18686 <numberFormat pattern="(\d{3})(\d{2})(\d{2,3})">
18687 <leadingDigits>64</leadingDigits>
18688 <format>$1 $2 $3</format>
18690 <numberFormat pattern="(\d{3})(\d{3})">
18691 <leadingDigits>64</leadingDigits>
18692 <format>$1 $2</format>
18694 </availableFormats>
18696 <nationalNumberPattern>
18700 </nationalNumberPattern>
18701 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
18704 <!-- The plan says all geographical numbers are 9 digits; but in at least Warsaw (22) and
18705 Krakow (12) we have found internationally diallable numbers that are 7 digits instead,
18706 so we support those too. -->
18707 <nationalNumberPattern>
18720 </nationalNumberPattern>
18721 <exampleNumber>123456789</exampleNumber>
18724 <nationalNumberPattern>
18731 </nationalNumberPattern>
18732 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18733 <exampleNumber>512345678</exampleNumber>
18736 <nationalNumberPattern>64\d{4,7}</nationalNumberPattern>
18737 <exampleNumber>641234567</exampleNumber>
18740 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
18741 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18742 <exampleNumber>800123456</exampleNumber>
18745 <nationalNumberPattern>70\d{7}</nationalNumberPattern>
18746 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18747 <exampleNumber>701234567</exampleNumber>
18750 <nationalNumberPattern>801\d{6}</nationalNumberPattern>
18751 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18752 <exampleNumber>801234567</exampleNumber>
18755 <nationalNumberPattern>39\d{7}</nationalNumberPattern>
18756 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18757 <exampleNumber>391234567</exampleNumber>
18761 <!-- Saint Pierre and Miquelon (Collectivité territoriale de la République française) -->
18762 <territory id="PM" countryCode="508" internationalPrefix="00"
18763 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
18765 <sourceUrl>http://www.itu.int/oth/T02020000B2/en</sourceUrl>
18768 <numberFormat pattern="([45]\d)(\d{2})(\d{2})">
18769 <format>$1 $2 $3</format>
18771 </availableFormats>
18773 <nationalNumberPattern>[45]\d{5}</nationalNumberPattern>
18774 <possibleNumberPattern>\d{6}</possibleNumberPattern>
18777 <nationalNumberPattern>41\d{4} </nationalNumberPattern>
18778 <exampleNumber>411234</exampleNumber>
18781 <nationalNumberPattern>55\d{4} </nationalNumberPattern>
18782 <exampleNumber>551234</exampleNumber>
18786 <!-- Pitcairn Island -->
18788 <!-- This island is not supported since evidence seems to be that the 50 inhabitants use
18789 satellite phones. -->
18791 <!-- Puerto Rico -->
18792 <territory id="PR" countryCode="1" leadingDigits="787|939" nationalPrefix="1"
18793 internationalPrefix="011">
18795 <sourceUrl>http://www.itu.int/oth/T02020000AA/en</sourceUrl>
18798 <!-- NANPA country - uses US formatting rules -->
18799 <nationalNumberPattern>[5789]\d{9}</nationalNumberPattern>
18800 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
18803 <nationalNumberPattern>
18808 </nationalNumberPattern>
18809 <exampleNumber>7872345678</exampleNumber>
18812 <nationalNumberPattern>
18817 </nationalNumberPattern>
18818 <exampleNumber>7872345678</exampleNumber>
18821 <nationalNumberPattern>
18830 </nationalNumberPattern>
18831 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18832 <exampleNumber>8002345678</exampleNumber>
18835 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
18836 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18837 <exampleNumber>9002345678</exampleNumber>
18840 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
18841 <nationalNumberPattern>
18849 </nationalNumberPattern>
18850 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18851 <exampleNumber>5002345678</exampleNumber>
18855 <!-- Palestinian Authority -->
18856 <!-- Palestinian phone numbers can be reached through the Israeli country code (972) in addition
18857 to the Palestinian country code (970) and so Palestinian landlines and mobile lines are a
18858 subset of the Israeli formats. -->
18859 <territory id="PS" countryCode="970" internationalPrefix="00"
18860 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
18862 <sourceUrl>http://en.wikipedia.org/wiki/%2B970</sourceUrl>
18863 <sourceUrl>http://www.wtng.info/wtng-970-ps.html</sourceUrl>
18864 <sourceUrl>http://www.paltel.ps</sourceUrl>
18867 <numberFormat pattern="([2489])(2\d{2})(\d{4})">
18868 <leadingDigits>[2489]</leadingDigits>
18869 <format>$1 $2 $3</format>
18871 <numberFormat pattern="(5[69]\d)(\d{3})(\d{3})">
18872 <leadingDigits>5</leadingDigits>
18873 <format>$1 $2 $3</format>
18875 <numberFormat nationalPrefixFormattingRule="$FG"
18876 pattern="(1[78]00)(\d{3})(\d{3})">
18877 <leadingDigits>1[78]</leadingDigits>
18878 <format>$1 $2 $3</format>
18880 <!-- 4 and 5 digit premium numbers will be formatted as one block by default. -->
18881 </availableFormats>
18883 <nationalNumberPattern>
18889 </nationalNumberPattern>
18890 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
18893 <nationalNumberPattern>
18900 </nationalNumberPattern>
18901 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
18902 <exampleNumber>22234567</exampleNumber>
18905 <nationalNumberPattern>5[69]\d{7}</nationalNumberPattern>
18906 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18907 <exampleNumber>599123456</exampleNumber>
18910 <nationalNumberPattern>1800\d{6}</nationalNumberPattern>
18911 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18912 <exampleNumber>1800123456</exampleNumber>
18915 <!-- According to Paltel, premium numbers are 14xx and 19xxx -->
18916 <nationalNumberPattern>
18921 </nationalNumberPattern>
18922 <possibleNumberPattern>\d{4,5}</possibleNumberPattern>
18923 <exampleNumber>19123</exampleNumber>
18926 <nationalNumberPattern>1700\d{6}</nationalNumberPattern>
18927 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18928 <exampleNumber>1700123456</exampleNumber>
18933 <territory id="PT" countryCode="351" internationalPrefix="00" mobileNumberPortableRegion="true">
18935 <sourceUrl>http://www.anacom.pt/render.jsp?categoryId=279098</sourceUrl>
18938 <!-- Note: the wikipedia page suggests that mobile numbers may also be formatted with only
18939 two digits in the first group; however, this doesn't seem to be majority usage based on
18940 searches online. -->
18941 <numberFormat pattern="(2\d)(\d{3})(\d{4})">
18942 <leadingDigits>2[12]</leadingDigits>
18943 <format>$1 $2 $3</format>
18945 <numberFormat pattern="([2-46-9]\d{2})(\d{3})(\d{3})">
18950 <format>$1 $2 $3</format>
18952 </availableFormats>
18954 <nationalNumberPattern>[2-46-9]\d{8}</nationalNumberPattern>
18955 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18958 <nationalNumberPattern>
18968 </nationalNumberPattern>
18969 <exampleNumber>212345678</exampleNumber>
18972 <nationalNumberPattern>
18978 </nationalNumberPattern>
18979 <exampleNumber>912345678</exampleNumber>
18982 <nationalNumberPattern>80[02]\d{6}</nationalNumberPattern>
18983 <exampleNumber>800123456</exampleNumber>
18986 <!-- Fixed maximum cost numbers: 761=0.60€, 761=1€, 762=2€. -->
18987 <nationalNumberPattern>
18993 </nationalNumberPattern>
18994 <exampleNumber>760123456</exampleNumber>
18997 <!-- 808 are priced as local calls, 809 are national calls. -->
18998 <nationalNumberPattern>
19003 </nationalNumberPattern>
19004 <exampleNumber>808123456</exampleNumber>
19007 <nationalNumberPattern>884[128]\d{5}</nationalNumberPattern>
19008 <exampleNumber>884123456</exampleNumber>
19011 <nationalNumberPattern>30\d{7}</nationalNumberPattern>
19012 <exampleNumber>301234567</exampleNumber>
19015 <nationalNumberPattern>
19020 </nationalNumberPattern>
19021 <exampleNumber>707123456</exampleNumber>
19026 <territory id="PW" countryCode="680" internationalPrefix="01[12]">
19028 <sourceUrl>http://www.itu.int/oth/T02020000A2/en</sourceUrl>
19031 <numberFormat pattern="(\d{3})(\d{4})">
19032 <format>$1 $2</format>
19034 </availableFormats>
19036 <nationalNumberPattern>[2-8]\d{6}</nationalNumberPattern>
19037 <possibleNumberPattern>\d{7}</possibleNumberPattern>
19040 <nationalNumberPattern>
19066 </nationalNumberPattern>
19067 <exampleNumber>2771234</exampleNumber>
19070 <nationalNumberPattern>
19075 </nationalNumberPattern>
19076 <exampleNumber>6201234</exampleNumber>
19081 <territory id="PY" countryCode="595" internationalPrefix="00" nationalPrefix="0"
19082 mobileNumberPortableRegion="true">
19084 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Paraguay</sourceUrl>
19085 <sourceUrl>http://www.itu.int/oth/T02020000A5/en</sourceUrl>
19086 <sourceUrl>http://www.copaco.com.py/portal/index.php/component/content/article/8-empresa/74-codigos-de-area.html</sourceUrl>
19089 <!-- CONATEL plan. -->
19090 <numberFormat pattern="(\d{2})(\d{5,7})" nationalPrefixFormattingRule="($FG)">
19100 <format>$1 $2</format>
19102 <numberFormat pattern="(\d{3})(\d{3,6})" nationalPrefixFormattingRule="$NP$FG">
19103 <leadingDigits>[2-9]0</leadingDigits>
19104 <format>$1 $2</format>
19106 <numberFormat pattern="(\d{3})(\d{6})" nationalPrefixFormattingRule="$NP$FG">
19107 <leadingDigits>9[1-9]</leadingDigits>
19108 <format>$1 $2</format>
19110 <!-- Format seen in examples found online. -->
19111 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
19112 <leadingDigits>8700</leadingDigits>
19113 <format>$1 $2 $3</format>
19115 <!-- "Fall-back" rule for the rest of the fixed-line numbers that have 3-digit area codes.
19117 <numberFormat pattern="(\d{3})(\d{4,6})" nationalPrefixFormattingRule="($FG)">
19118 <leadingDigits>[2-8][1-9]</leadingDigits>
19119 <format>$1 $2</format>
19121 </availableFormats>
19123 <nationalNumberPattern>
19126 </nationalNumberPattern>
19127 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
19130 <nationalNumberPattern>
19177 </nationalNumberPattern>
19178 <exampleNumber>212345678</exampleNumber>
19181 <!-- 962 was added for Tigo. -->
19182 <nationalNumberPattern>
19188 </nationalNumberPattern>
19189 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19190 <exampleNumber>961456789</exampleNumber>
19193 <nationalNumberPattern>8700[0-4]\d{4}</nationalNumberPattern>
19194 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19195 <exampleNumber>870012345</exampleNumber>
19198 <nationalNumberPattern>[2-9]0\d{4,7}</nationalNumberPattern>
19199 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
19200 <exampleNumber>201234567</exampleNumber>
19205 <territory id="QA" countryCode="974" internationalPrefix="00" mobileNumberPortableRegion="true">
19207 <sourceUrl>http://www.itu.int/oth/T02020000AB/en</sourceUrl>
19208 <sourceUrl>http://wtng.info/wtng-qq.html</sourceUrl>
19211 <numberFormat pattern="([28]\d{2})(\d{4})">
19212 <leadingDigits>[28]</leadingDigits>
19213 <format>$1 $2</format>
19215 <numberFormat pattern="([3-7]\d{3})(\d{4})">
19216 <leadingDigits>[3-7]</leadingDigits>
19217 <format>$1 $2</format>
19219 </availableFormats>
19221 <nationalNumberPattern>[2-8]\d{6,7}</nationalNumberPattern>
19222 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
19225 <!-- The prefix 40 has now been allocated, based on numbers seen online. -->
19226 <nationalNumberPattern>4[04]\d{6}</nationalNumberPattern>
19227 <exampleNumber>44123456</exampleNumber>
19230 <nationalNumberPattern>[3567]\d{7}</nationalNumberPattern>
19231 <exampleNumber>33123456</exampleNumber>
19234 <nationalNumberPattern>
19239 </nationalNumberPattern>
19240 <possibleNumberPattern>\d{7}</possibleNumberPattern>
19241 <exampleNumber>2123456</exampleNumber>
19244 <nationalNumberPattern>800\d{4}</nationalNumberPattern>
19245 <exampleNumber>8001234</exampleNumber>
19247 <!-- No premiumRate information can be found. -->
19250 <!-- Réunion (French Departments and Territories in the Indian Ocean) -->
19251 <!-- Note this shares the same country code as La Mayotte and the formatting patterns here are
19252 used by both of them. -->
19253 <territory id="RE" countryCode="262" internationalPrefix="00"
19254 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
19255 leadingDigits="262|6[49]|8" mainCountryForCode="true" >
19257 <sourceUrl>http://www.itu.int/oth/T020200004B/en</sourceUrl>
19260 <numberFormat pattern="([268]\d{2})(\d{2})(\d{2})(\d{2})">
19261 <format>$1 $2 $3 $4</format>
19263 </availableFormats>
19265 <nationalNumberPattern>[268]\d{8}</nationalNumberPattern>
19266 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19269 <!-- 0876 numbers are mentioned in the plan, but none in use can be found. -->
19270 <nationalNumberPattern>262\d{6}</nationalNumberPattern>
19271 <exampleNumber>262161234</exampleNumber>
19274 <nationalNumberPattern>
19279 </nationalNumberPattern>
19280 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19281 <exampleNumber>692123456</exampleNumber>
19283 <!-- 08* Numbers in Réunion are the same as those valid in France. -->
19285 <nationalNumberPattern>80\d{7}</nationalNumberPattern>
19286 <exampleNumber>801234567</exampleNumber>
19289 <nationalNumberPattern>89[1-37-9]\d{6}</nationalNumberPattern>
19290 <exampleNumber>891123456</exampleNumber>
19293 <nationalNumberPattern>
19300 </nationalNumberPattern>
19301 <exampleNumber>810123456</exampleNumber>
19306 <!-- Extension prefix found online, confirmed by a Romanian. -->
19307 <territory id="RO" countryCode="40" internationalPrefix="00"
19308 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
19309 preferredExtnPrefix=" int " mobileNumberPortableRegion="true">
19311 <sourceUrl>http://www.itu.int/oth/T02020000AC/en</sourceUrl>
19312 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Romania</sourceUrl>
19315 <numberFormat pattern="([237]\d)(\d{3})(\d{4})">
19316 <leadingDigits>[23]1</leadingDigits>
19317 <format>$1 $2 $3</format>
19319 <numberFormat pattern="(21)(\d{4})">
19320 <leadingDigits>21</leadingDigits>
19321 <format>$1 $2</format>
19323 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
19324 <!-- We format mobile numbers like this, even though ITU and wikipedia hint at
19325 \d{2}\d{3}\d{4} grouping, since the yellow pages (http://en.paginiaurii.ro/) and the
19326 majority of numbers found online follow this convention. -->
19331 <format>$1 $2 $3</format>
19333 <numberFormat pattern="(2\d{2})(\d{3})">
19334 <leadingDigits>2[3-6]</leadingDigits>
19335 <format>$1 $2</format>
19337 </availableFormats>
19339 <nationalNumberPattern>
19342 </nationalNumberPattern>
19343 <!-- Although the ITU plan says the number plan is open, this was changed in 2008 according
19344 to wikipedia and people must dial the full number. However, there are still short
19345 numbers that total 6 digits long, so the possible number pattern should take these into
19347 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
19350 <!-- We exclude three-digit short numbers for Bucharest (219\d{2}) and four-digit short
19351 numbers outside Bucharest (2[36]\d9\d{3}) even though ITU suggests these exist. We do
19352 this based on numbers found online and the wikipedia article which indicate that these
19353 are four digits long in Bucharest only, and three digits elsewhere. -->
19354 <nationalNumberPattern>
19366 </nationalNumberPattern>
19367 <exampleNumber>211234567</exampleNumber>
19370 <!-- http://www.enigma-system.net/business/customized-phone-number.html confirms that the
19371 numbers are restricted to those starting with 07000. Mobile prefix 0799 added based on
19372 open-source report and confirmation by existence of such numbers online. -->
19373 <nationalNumberPattern>
19379 </nationalNumberPattern>
19380 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19381 <exampleNumber>712345678</exampleNumber>
19384 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
19385 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19386 <exampleNumber>800123456</exampleNumber>
19389 <nationalNumberPattern>90[036]\d{6}</nationalNumberPattern>
19390 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19391 <exampleNumber>900123456</exampleNumber>
19394 <nationalNumberPattern>801\d{6}</nationalNumberPattern>
19395 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19396 <exampleNumber>801123456</exampleNumber>
19399 <nationalNumberPattern>802\d{6}</nationalNumberPattern>
19400 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19401 <exampleNumber>802123456</exampleNumber>
19404 <!-- http://www.ancom.org.ro/pnn_1300 refers to numbers beginning with 37, 38 or 39 as
19405 location-independent national numbers. Only numbers beginning with 37 have been seen so
19406 these are the only ones supported for now. -->
19407 <nationalNumberPattern>37\d{7}</nationalNumberPattern>
19408 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19409 <exampleNumber>372123456</exampleNumber>
19414 <territory id="RS" countryCode="381" internationalPrefix="00"
19415 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
19416 mobileNumberPortableRegion="true">
19418 <sourceUrl>http://www.itu.int/oth/T02020000B9/en</sourceUrl>
19419 <sourceUrl>http://registar.ratel.rs/en/reg202</sourceUrl>
19422 <numberFormat pattern="([23]\d{2})(\d{4,9})">
19429 <format>$1 $2</format>
19431 <numberFormat pattern="([1-3]\d)(\d{5,10})">
19443 <format>$1 $2</format>
19445 <numberFormat pattern="(6\d)(\d{6,8})">
19446 <leadingDigits>6</leadingDigits>
19447 <format>$1 $2</format>
19449 <numberFormat pattern="([89]\d{2})(\d{3,9})">
19450 <leadingDigits>[89]</leadingDigits>
19451 <format>$1 $2</format>
19453 <numberFormat pattern="(7[26])(\d{4,9})">
19454 <leadingDigits>7[26]</leadingDigits>
19455 <format>$1 $2</format>
19457 <numberFormat pattern="(7[08]\d)(\d{4,9})">
19458 <leadingDigits>7[08]</leadingDigits>
19459 <format>$1 $2</format>
19461 </availableFormats>
19463 <!-- The complicated pattern here is to distinguish between Pristina (area code 38, followed
19464 by 2-9) and the country calling code (381). -->
19465 <nationalNumberPattern>
19471 </nationalNumberPattern>
19472 <possibleNumberPattern>\d{5,12}</possibleNumberPattern>
19475 <!-- Most subscriber numbers may not start with 0 or 1. Exceptionally, the prefix 11 1[5-7]
19476 has been issused, so we allow 11 1X here. -->
19477 <nationalNumberPattern>
19498 </nationalNumberPattern>
19499 <possibleNumberPattern>\d{5,12}</possibleNumberPattern>
19500 <exampleNumber>10234567</exampleNumber>
19503 <nationalNumberPattern>
19508 </nationalNumberPattern>
19509 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
19510 <exampleNumber>601234567</exampleNumber>
19513 <nationalNumberPattern>800\d{3,9}</nationalNumberPattern>
19514 <possibleNumberPattern>\d{6,12}</possibleNumberPattern>
19515 <exampleNumber>80012345</exampleNumber>
19518 <nationalNumberPattern>
19523 </nationalNumberPattern>
19524 <possibleNumberPattern>\d{6,12}</possibleNumberPattern>
19525 <exampleNumber>90012345</exampleNumber>
19528 <nationalNumberPattern>7[06]\d{4,10}</nationalNumberPattern>
19529 <possibleNumberPattern>\d{6,12}</possibleNumberPattern>
19530 <exampleNumber>700123456</exampleNumber>
19534 <!-- Russian Federation -->
19535 <territory id="RU" countryCode="7" mainCountryForCode="true" preferredInternationalPrefix="8~10"
19536 internationalPrefix="810" nationalPrefix="8"
19537 nationalPrefixFormattingRule="$NP ($FG)"
19538 nationalPrefixOptionalWhenFormatting="true" >
19540 <sourceUrl>http://www.itu.int/oth/T02020000AD/en</sourceUrl>
19541 <sourceUrl>http://en.wikipedia.org/wiki/%2B7</sourceUrl>
19544 <!-- Formatting from wikipedia, confirmed on Goverment websites such as
19545 http://www.minjust.ru/ru/structure/contact/. Contains formatting instructions for
19546 Kazakhstan as well. -->
19547 <numberFormat pattern="(\d{3})(\d{2})(\d{2})" nationalPrefixFormattingRule="$FG">
19548 <!-- Local numbers only - these do not start with the national prefix. -->
19549 <leadingDigits>[1-79]</leadingDigits>
19550 <format>$1-$2-$3</format>
19551 <intlFormat>NA</intlFormat>
19553 <numberFormat pattern="([3489]\d{2})(\d{3})(\d{2})(\d{2})">
19554 <leadingDigits>[34689]</leadingDigits>
19555 <format>$1 $2-$3-$4</format>
19557 <numberFormat pattern="(7\d{2})(\d{3})(\d{4})">
19558 <leadingDigits>7</leadingDigits>
19559 <format>$1 $2 $3</format>
19561 </availableFormats>
19563 <nationalNumberPattern>[3489]\d{9}</nationalNumberPattern>
19564 <possibleNumberPattern>\d{10}</possibleNumberPattern>
19567 <!-- The Ivanovo area code 493 was omitted on the official document, but this is still used
19568 in the yellow pages, and on their own website and is listed on wikipedia. This applies
19569 also to 395 (Irkutsk). Also including the 840 prefix for Abkhazia. -->
19570 <nationalNumberPattern>
19597 </nationalNumberPattern>
19598 <exampleNumber>3011234567</exampleNumber>
19601 <nationalNumberPattern>9\d{9}</nationalNumberPattern>
19602 <exampleNumber>9123456789</exampleNumber>
19605 <!-- The metadata states that 804 numbers are UAN numbers, but
19606 teleum.ru/numbers/toll_free_804 states that they are now being offered as toll-free
19608 <nationalNumberPattern>80[04]\d{7}</nationalNumberPattern>
19609 <exampleNumber>8001234567</exampleNumber>
19612 <!-- Covers tele-voting numbers as well. -->
19613 <nationalNumberPattern>80[39]\d{7}</nationalNumberPattern>
19614 <exampleNumber>8091234567</exampleNumber>
19619 <!-- According to ITU, there is no national prefix. However, this is still used. As of June 3rd
19620 2011, this was confirmed by a Rwandan local. It is also shown in this format on pages such
19621 as http://www.tigo.co.rw "Choose Your Number" service. -->
19622 <territory id="RW" countryCode="250" internationalPrefix="00"
19623 nationalPrefix="0" leadingZeroPossible="true">
19625 <sourceUrl>http://www.rura.gov.rw/docs/RWANDA_NATIONAL_NUMBERING_PLAN.pdf</sourceUrl>
19626 <sourceUrl>http://en.wikipedia.org/wiki/+250</sourceUrl>
19629 <numberFormat nationalPrefixFormattingRule="$FG"
19630 pattern="(2\d{2})(\d{3})(\d{3})">
19631 <leadingDigits>2</leadingDigits>
19632 <format>$1 $2 $3</format>
19634 <numberFormat pattern="([7-9]\d{2})(\d{3})(\d{3})" nationalPrefixFormattingRule="$NP$FG">
19635 <leadingDigits>[7-9]</leadingDigits>
19636 <format>$1 $2 $3</format>
19638 <numberFormat pattern="(0\d)(\d{2})(\d{2})(\d{2})">
19639 <leadingDigits>0</leadingDigits>
19640 <format>$1 $2 $3 $4</format>
19642 </availableFormats>
19644 <nationalNumberPattern>[027-9]\d{7,8}</nationalNumberPattern>
19645 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
19648 <!-- We support satellite numbers here, since they are in the plan, although no recent
19649 online examples can be found. We also support fixed-line ranges that have been reserved
19650 and paid for, even where no online numbers can be found. -->
19651 <nationalNumberPattern>
19654 </nationalNumberPattern>
19655 <exampleNumber>250123456</exampleNumber>
19658 <!-- Adding 73X for Airtel - this is on the wikipedia page, but not yet in the Rwanda
19659 telecommunications numbering plan. Removing 75 - that was Rwandatel but they had their
19660 license revoked. -->
19661 <nationalNumberPattern>7[238]\d{7}</nationalNumberPattern>
19662 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19663 <exampleNumber>720123456</exampleNumber>
19666 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
19667 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19668 <exampleNumber>800123456</exampleNumber>
19671 <nationalNumberPattern>900\d{6}</nationalNumberPattern>
19672 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19673 <exampleNumber>900123456</exampleNumber>
19677 <!-- Saudi Arabia -->
19678 <territory id="SA" countryCode="966" internationalPrefix="00"
19679 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
19680 mobileNumberPortableRegion="true">
19682 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Saudi_Arabia</sourceUrl>
19683 <sourceUrl>http://www.itu.int/oth/T02020000B7/en</sourceUrl>
19686 <numberFormat pattern="([1-467])(\d{3})(\d{4})">
19687 <leadingDigits>[1-467]</leadingDigits>
19688 <format>$1 $2 $3</format>
19690 <numberFormat pattern="(1\d)(\d{3})(\d{4})">
19691 <leadingDigits>1[1-467]</leadingDigits>
19692 <format>$1 $2 $3</format>
19694 <numberFormat pattern="(5\d)(\d{3})(\d{4})">
19695 <leadingDigits>5</leadingDigits>
19696 <format>$1 $2 $3</format>
19698 <!-- It seems that the trunk prefix is not used for these numbers, based on wikipedia and on
19699 the fact that no numbers of this form found online have a trunk prefix added. -->
19700 <numberFormat pattern="(92\d{2})(\d{5})" nationalPrefixFormattingRule="$FG">
19701 <leadingDigits>92</leadingDigits>
19702 <format>$1 $2</format>
19704 <numberFormat pattern="(800)(\d{3})(\d{4})" nationalPrefixFormattingRule="$FG">
19705 <leadingDigits>80</leadingDigits>
19706 <format>$1 $2 $3</format>
19708 <numberFormat pattern="(811)(\d{3})(\d{3,4})">
19709 <leadingDigits>81</leadingDigits>
19710 <format>$1 $2 $3</format>
19712 </availableFormats>
19714 <!-- The more detailed pattern here is to allow the country-code to be stripped off for
19715 fixed-line numbers. -->
19716 <nationalNumberPattern>
19724 </nationalNumberPattern>
19725 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
19728 <!-- Saudi Arabia is in the process of adding a leading 1 to their fixed-line numbers. This
19729 happened in May for area code 1 (parallel running ended July 13th, 2013) and then in
19730 August for the other fixed-line numbers (parallel running ends October 18th, 2013). -->
19731 <nationalNumberPattern>
19740 </nationalNumberPattern>
19741 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
19742 <exampleNumber>112345678</exampleNumber>
19745 <!-- Including "Nomadic" numbers from the Telecom Company "Go". The ITU document now says
19746 they are 11 digits long; however all online numbers are 10, and it used to say 10, so
19747 until we find evidence that this is an error, leaving them at 10 for now. -->
19748 <nationalNumberPattern>
19756 </nationalNumberPattern>
19757 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
19758 <exampleNumber>512345678</exampleNumber>
19761 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
19762 <possibleNumberPattern>\d{10}</possibleNumberPattern>
19763 <exampleNumber>8001234567</exampleNumber>
19766 <!-- Including shared revenue with shared cost here. -->
19767 <nationalNumberPattern>92[05]\d{6}</nationalNumberPattern>
19768 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19769 <exampleNumber>920012345</exampleNumber>
19773 <!-- Solomon Islands -->
19774 <territory id="SB" countryCode="677" internationalPrefix="0[01]">
19776 <sourceUrl>http://www.itu.int/oth/T02020000BF/en</sourceUrl>
19778 <!-- A single group is used to format 5-digit numbers. This formatting pattern follows
19779 the guidelines in the ITU document. -->
19781 <numberFormat pattern="(\d{2})(\d{5})">
19782 <leadingDigits>[7-9]</leadingDigits>
19783 <format>$1 $2</format>
19785 </availableFormats>
19787 <nationalNumberPattern>[1-9]\d{4,6}</nationalNumberPattern>
19788 <possibleNumberPattern>\d{5,7}</possibleNumberPattern>
19791 <!-- Although not mentioned in the 2011 update, it seems likely that the range 67300-67699
19792 is still used for Sasamunga, Shortland, Poitete and Ringgi as per the 2010 plan. -->
19793 <nationalNumberPattern>
19801 </nationalNumberPattern>
19802 <possibleNumberPattern>\d{5}</possibleNumberPattern>
19803 <exampleNumber>40123</exampleNumber>
19806 <nationalNumberPattern>
19821 </nationalNumberPattern>
19822 <exampleNumber>7421234</exampleNumber>
19825 <nationalNumberPattern>1[38]\d{3}</nationalNumberPattern>
19826 <possibleNumberPattern>\d{5}</possibleNumberPattern>
19827 <exampleNumber>18123</exampleNumber>
19830 <nationalNumberPattern>5[12]\d{3}</nationalNumberPattern>
19831 <possibleNumberPattern>\d{5}</possibleNumberPattern>
19832 <exampleNumber>51123</exampleNumber>
19836 <!-- Seychelles -->
19837 <territory id="SC" countryCode="248" internationalPrefix="0[0-2]"
19838 preferredInternationalPrefix="00">
19840 <sourceUrl>http://www.itu.int/oth/T02020000BA/en</sourceUrl>
19841 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Seychelles</sourceUrl>
19844 <numberFormat pattern="(\d{3})(\d{3})">
19845 <leadingDigits>[89]</leadingDigits>
19846 <format>$1 $2</format>
19848 <numberFormat pattern="(\d)(\d{3})(\d{3})">
19849 <leadingDigits>[246]</leadingDigits>
19850 <format>$1 $2 $3</format>
19852 </availableFormats>
19854 <nationalNumberPattern>[24689]\d{5,6}</nationalNumberPattern>
19855 <possibleNumberPattern>\d{6,7}</possibleNumberPattern>
19858 <!-- We are putting Fixed Services numbers here for now, as we cannot find any evidence that
19859 they are more expensive to call than other Fixed Line services. ISDN and DID services
19860 are here too, since they seem to be also fixed-line phone numbers. -->
19861 <nationalNumberPattern>4[2-46]\d{5}</nationalNumberPattern>
19862 <possibleNumberPattern>\d{7}</possibleNumberPattern>
19863 <exampleNumber>4217123</exampleNumber>
19866 <!-- Includes Fixed Cellular. -->
19867 <nationalNumberPattern>2[5-8]\d{5}</nationalNumberPattern>
19868 <possibleNumberPattern>\d{7}</possibleNumberPattern>
19869 <exampleNumber>2510123</exampleNumber>
19872 <nationalNumberPattern>8000\d{2}</nationalNumberPattern>
19873 <possibleNumberPattern>\d{6}</possibleNumberPattern>
19874 <exampleNumber>800000</exampleNumber>
19877 <!-- Using this to represent Value Added Service in the plan. -->
19878 <nationalNumberPattern>98\d{4}</nationalNumberPattern>
19879 <possibleNumberPattern>\d{6}</possibleNumberPattern>
19880 <exampleNumber>981234</exampleNumber>
19883 <nationalNumberPattern>64\d{5}</nationalNumberPattern>
19884 <possibleNumberPattern>\d{7}</possibleNumberPattern>
19885 <exampleNumber>6412345</exampleNumber>
19890 <territory id="SD" countryCode="249" internationalPrefix="00"
19891 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
19893 <sourceUrl>http://www.itu.int/oth/T02020000C4/en</sourceUrl>
19896 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
19897 <format>$1 $2 $3</format>
19899 </availableFormats>
19901 <nationalNumberPattern>[19]\d{8}</nationalNumberPattern>
19902 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19905 <!-- Retaining previous prefix as 18 since it seems still to be used. Adding 11 from numbers
19907 <nationalNumberPattern>
19912 </nationalNumberPattern>
19913 <exampleNumber>121231234</exampleNumber>
19916 <!-- Adding 90X as online numbers have been found with this prefix. -->
19917 <nationalNumberPattern>9[012569]\d{7}</nationalNumberPattern>
19918 <exampleNumber>911231234</exampleNumber>
19923 <territory id="SE" countryCode="46" internationalPrefix="00"
19924 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
19925 mobileNumberPortableRegion="true">
19927 <sourceUrl>http://www.pts.se/upload/Ovrigt/Tele/Nummerfragor/Sv_nrplan_telefoni_enl_TU-T_rek_E.164.pdf</sourceUrl>
19928 <sourceUrl>http://www.pts.se/upload/Ovrigt/Tele/Nummerfragor/Nrplansammanst%C3%A4llning-2013-07-05.pdf</sourceUrl>
19931 <!-- Formatting patterns are from the numbering plan and from the Swedish yellow pages
19932 http://gulasidorna.eniro.se -->
19933 <numberFormat pattern="(8)(\d{2,3})(\d{2,3})(\d{2})">
19934 <leadingDigits>8</leadingDigits>
19935 <format>$1-$2 $3 $4</format>
19936 <intlFormat>$1 $2 $3 $4</intlFormat>
19938 <numberFormat pattern="([1-69]\d)(\d{2,3})(\d{2})(\d{2})">
19948 <format>$1-$2 $3 $4</format>
19949 <intlFormat>$1 $2 $3 $4</intlFormat>
19951 <numberFormat pattern="([1-69]\d)(\d{3})(\d{2})">
19961 <format>$1-$2 $3</format>
19962 <intlFormat>$1 $2 $3</intlFormat>
19964 <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})">
19978 <format>$1-$2 $3 $4</format>
19979 <intlFormat>$1 $2 $3 $4</intlFormat>
19981 <numberFormat pattern="(\d{3})(\d{2,3})(\d{2})">
19995 <format>$1-$2 $3</format>
19996 <intlFormat>$1 $2 $3</intlFormat>
19998 <numberFormat pattern="(7\d)(\d{3})(\d{2})(\d{2})">
19999 <leadingDigits>7</leadingDigits>
20000 <format>$1-$2 $3 $4</format>
20001 <intlFormat>$1 $2 $3 $4</intlFormat>
20003 <numberFormat pattern="(77)(\d{2})(\d{2})">
20004 <leadingDigits>7</leadingDigits>
20005 <format>$1-$2$3</format>
20006 <intlFormat>$1 $2 $3</intlFormat>
20008 <numberFormat pattern="(20)(\d{2,3})(\d{2})">
20009 <leadingDigits>20</leadingDigits>
20010 <format>$1-$2 $3</format>
20011 <intlFormat>$1 $2 $3</intlFormat>
20013 <numberFormat pattern="(9[034]\d)(\d{2})(\d{2})(\d{3})">
20014 <leadingDigits>9[034]</leadingDigits>
20015 <format>$1-$2 $3 $4</format>
20016 <intlFormat>$1 $2 $3 $4</intlFormat>
20018 <numberFormat pattern="(9[034]\d)(\d{4})">
20019 <leadingDigits>9[034]</leadingDigits>
20020 <format>$1-$2</format>
20021 <intlFormat>$1 $2</intlFormat>
20023 </availableFormats>
20025 <nationalNumberPattern>[1-9]\d{5,9}</nationalNumberPattern>
20026 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
20029 <nationalNumberPattern>
20114 </nationalNumberPattern>
20115 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
20116 <exampleNumber>8123456</exampleNumber>
20119 <nationalNumberPattern>7[0236]\d{7}</nationalNumberPattern>
20120 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20121 <exampleNumber>701234567</exampleNumber>
20124 <nationalNumberPattern>74[02-9]\d{6}</nationalNumberPattern>
20125 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20126 <exampleNumber>740123456</exampleNumber>
20129 <nationalNumberPattern>
20144 </nationalNumberPattern>
20145 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
20146 <exampleNumber>20123456</exampleNumber>
20149 <nationalNumberPattern>
20188 </nationalNumberPattern>
20189 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
20190 <exampleNumber>9001234567</exampleNumber>
20193 <nationalNumberPattern>
20204 </nationalNumberPattern>
20205 <possibleNumberPattern>\d{6}(?:\d{3})?</possibleNumberPattern>
20206 <exampleNumber>771234567</exampleNumber>
20209 <nationalNumberPattern>75[1-8]\d{6}</nationalNumberPattern>
20210 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20211 <exampleNumber>751234567</exampleNumber>
20216 <territory id="SG" countryCode="65" internationalPrefix="0[0-3]\d"
20217 mobileNumberPortableRegion="true">
20219 <sourceUrl>http://www.ida.gov.sg/Policies-and-Regulations/Industry-and-Licensees/Numbering/National-Numbering-Plan-and-Allocation-Process.aspx</sourceUrl>
20222 <numberFormat pattern="([3689]\d{3})(\d{4})">
20227 <format>$1 $2</format>
20229 <numberFormat pattern="(1[89]00)(\d{3})(\d{4})">
20230 <leadingDigits>1[89]</leadingDigits>
20231 <format>$1 $2 $3</format>
20233 <numberFormat pattern="(7000)(\d{4})(\d{3})">
20234 <leadingDigits>70</leadingDigits>
20235 <format>$1 $2 $3</format>
20237 <numberFormat pattern="(800)(\d{3})(\d{4})">
20238 <leadingDigits>80</leadingDigits>
20239 <format>$1 $2 $3</format>
20241 </availableFormats>
20243 <!-- We have a stricter national number pattern for numbers beginning with 6 to enable us to
20244 easily strip off leading "65" country codes. -->
20245 <nationalNumberPattern>
20248 </nationalNumberPattern>
20249 <possibleNumberPattern>\d{8,11}</possibleNumberPattern>
20252 <nationalNumberPattern>6[1-9]\d{6}</nationalNumberPattern>
20253 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20254 <exampleNumber>61234567</exampleNumber>
20257 <nationalNumberPattern>
20262 </nationalNumberPattern>
20263 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20264 <exampleNumber>81234567</exampleNumber>
20267 <nationalNumberPattern>1?800\d{7}</nationalNumberPattern>
20268 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
20269 <exampleNumber>18001234567</exampleNumber>
20272 <nationalNumberPattern>1900\d{7}</nationalNumberPattern>
20273 <possibleNumberPattern>\d{11}</possibleNumberPattern>
20274 <exampleNumber>19001234567</exampleNumber>
20277 <nationalNumberPattern>3[12]\d{6}</nationalNumberPattern>
20278 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20279 <exampleNumber>31234567</exampleNumber>
20282 <!-- Although not detailed in the plan beyond mentioning their existence, it seems 7000
20283 numbers are used for companies. Most of the online examples are in fact alpha-numbers.
20285 <nationalNumberPattern>7000\d{7}</nationalNumberPattern>
20286 <possibleNumberPattern>\d{11}</possibleNumberPattern>
20287 <exampleNumber>70001234567</exampleNumber>
20291 <!-- Saint Helena -->
20292 <territory id="SH" countryCode="290" internationalPrefix="00" mainCountryForCode="true">
20294 <sourceUrl>http://www.itu.int/oth/T02020000AF/en</sourceUrl>
20296 <!-- Numbers are formatted as a block. -->
20298 <nationalNumberPattern>[2-79]\d{3,4}</nationalNumberPattern>
20299 <possibleNumberPattern>\d{4,5}</possibleNumberPattern>
20302 <!-- St Helena is changing to 5 digits on October 1. 2013 -> we support both patterns here.
20303 The new pattern is first, followed by the old (hence the repetition of the leading 2).
20305 <nationalNumberPattern>
20314 </nationalNumberPattern>
20315 <!-- Using St Helena Tourism as the example number. -->
20316 <exampleNumber>2158</exampleNumber>
20319 <nationalNumberPattern>NA</nationalNumberPattern>
20320 <possibleNumberPattern>NA</possibleNumberPattern>
20323 <nationalNumberPattern>
20328 </nationalNumberPattern>
20329 <exampleNumber>5012</exampleNumber>
20334 <territory id="SI" countryCode="386" internationalPrefix="00"
20335 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
20336 mobileNumberPortableRegion="true">
20338 <sourceUrl>http://www.itu.int/oth/T02020000BE/en</sourceUrl>
20341 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
20342 pattern="(\d)(\d{3})(\d{2})(\d{2})">
20350 <format>$1 $2 $3 $4</format>
20352 <numberFormat pattern="([3-7]\d)(\d{3})(\d{3})">
20359 <format>$1 $2 $3</format>
20361 <numberFormat pattern="([89][09])(\d{3,6})">
20362 <leadingDigits>[89][09]</leadingDigits>
20363 <format>$1 $2</format>
20365 <numberFormat pattern="([58]\d{2})(\d{5})">
20370 <format>$1 $2</format>
20372 </availableFormats>
20374 <nationalNumberPattern>
20377 </nationalNumberPattern>
20378 <possibleNumberPattern>\d{5,8}</possibleNumberPattern>
20381 <nationalNumberPattern>
20389 </nationalNumberPattern>
20390 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
20391 <exampleNumber>11234567</exampleNumber>
20394 <!-- We include 043 and 049 here - it is VoIP in the plan, but is actually used to provide
20395 mobile coverage to Kosovo. Also added 068, which is used by the mobile operator bob.si
20397 <nationalNumberPattern>
20404 </nationalNumberPattern>
20405 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20406 <exampleNumber>31234567</exampleNumber>
20409 <nationalNumberPattern>80\d{4,6}</nationalNumberPattern>
20410 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
20411 <exampleNumber>80123456</exampleNumber>
20414 <!-- Includes televoting, mass calling -->
20415 <nationalNumberPattern>
20418 </nationalNumberPattern>
20419 <possibleNumberPattern>\d{5,8}</possibleNumberPattern>
20420 <exampleNumber>90123456</exampleNumber>
20423 <nationalNumberPattern>
20428 </nationalNumberPattern>
20429 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20430 <exampleNumber>59012345</exampleNumber>
20435 <!-- Metadata shared with Norway. -->
20436 <territory id="SJ" countryCode="47" internationalPrefix="00" leadingZeroPossible="true">
20438 <sourceUrl>http://www.npt.no/pt_internet/numsys/E.164.pdf</sourceUrl>
20441 <nationalNumberPattern>
20444 </nationalNumberPattern>
20445 <possibleNumberPattern>\d{5}(?:\d{3})?</possibleNumberPattern>
20448 <nationalNumberPattern>79\d{6}</nationalNumberPattern>
20449 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20450 <exampleNumber>79123456</exampleNumber>
20452 <!-- Copied from Norway metadata. -->
20454 <nationalNumberPattern>
20460 </nationalNumberPattern>
20461 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20462 <exampleNumber>41234567</exampleNumber>
20465 <nationalNumberPattern>80[01]\d{5}</nationalNumberPattern>
20466 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20467 <exampleNumber>80012345</exampleNumber>
20470 <nationalNumberPattern>82[09]\d{5}</nationalNumberPattern>
20471 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20472 <exampleNumber>82012345</exampleNumber>
20475 <nationalNumberPattern>
20480 </nationalNumberPattern>
20481 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20482 <exampleNumber>81021234</exampleNumber>
20485 <nationalNumberPattern>880\d{5}</nationalNumberPattern>
20486 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20487 <exampleNumber>88012345</exampleNumber>
20490 <nationalNumberPattern>85[0-5]\d{5}</nationalNumberPattern>
20491 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20492 <exampleNumber>85012345</exampleNumber>
20495 <!-- Includes some 810 local-rate numbers, and long-distance rate numbers. -->
20496 <nationalNumberPattern>
20505 </nationalNumberPattern>
20506 <exampleNumber>01234</exampleNumber>
20509 <nationalNumberPattern>81[23]\d{5}</nationalNumberPattern>
20510 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20511 <exampleNumber>81212345</exampleNumber>
20516 <territory id="SK" countryCode="421" internationalPrefix="00"
20517 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
20518 mobileNumberPortableRegion="true">
20520 <sourceUrl>http://www.itu.int/oth/T02020000BD/en</sourceUrl>
20523 <numberFormat pattern="(2)(\d{3})(\d{3})(\d{2})">
20524 <leadingDigits>2</leadingDigits>
20525 <format>$1/$2 $3 $4</format>
20527 <numberFormat pattern="([3-5]\d)(\d{3})(\d{2})(\d{2})">
20528 <leadingDigits>[3-5]</leadingDigits>
20529 <format>$1/$2 $3 $4</format>
20531 <numberFormat pattern="([689]\d{2})(\d{3})(\d{3})">
20532 <leadingDigits>[689]</leadingDigits>
20533 <format>$1 $2 $3</format>
20535 </availableFormats>
20537 <nationalNumberPattern>[2-689]\d{8}</nationalNumberPattern>
20538 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20540 <noInternationalDialling>
20541 <nationalNumberPattern>
20552 </nationalNumberPattern>
20553 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20554 <exampleNumber>800123456</exampleNumber>
20555 </noInternationalDialling>
20557 <nationalNumberPattern>[2-5]\d{8}</nationalNumberPattern>
20558 <exampleNumber>212345678</exampleNumber>
20561 <!-- 948 isn't in the number pattern, but many examples using this have been found, so
20562 deeming it valid for now. -->
20563 <nationalNumberPattern>
20569 </nationalNumberPattern>
20570 <exampleNumber>912123456</exampleNumber>
20573 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
20574 <exampleNumber>800123456</exampleNumber>
20577 <nationalNumberPattern>
20582 </nationalNumberPattern>
20583 <exampleNumber>900123456</exampleNumber>
20586 <nationalNumberPattern>8[5-9]\d{7}</nationalNumberPattern>
20587 <exampleNumber>850123456</exampleNumber>
20590 <nationalNumberPattern>
20595 </nationalNumberPattern>
20596 <exampleNumber>690123456</exampleNumber>
20599 <nationalNumberPattern>96\d{7}</nationalNumberPattern>
20600 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20601 <exampleNumber>961234567</exampleNumber>
20605 <!-- Sierra Leone -->
20606 <territory id="SL" countryCode="232" internationalPrefix="00"
20607 nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)">
20609 <sourceUrl>http://www.itu.int/oth/T02020000BB/en</sourceUrl>
20612 <!-- Following formatting of online yellow pages http://www.leonedirect.com -->
20613 <numberFormat pattern="(\d{2})(\d{6})">
20614 <format>$1 $2</format>
20616 </availableFormats>
20618 <nationalNumberPattern>[2-578]\d{7}</nationalNumberPattern>
20619 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
20622 <nationalNumberPattern>[235]2[2-4][2-9]\d{4}</nationalNumberPattern>
20623 <exampleNumber>22221234</exampleNumber>
20626 <nationalNumberPattern>
20635 </nationalNumberPattern>
20636 <exampleNumber>25123456</exampleNumber>
20640 <!-- San Marino -->
20641 <!-- San Marino fixed-line numbers have an area code of "0549". However, this seems to be
20642 optional when dialling from outside the country; the phone number can be reached both with
20643 and without this area code. The nationalPrefixForParsing and nationalPrefixTransformRule
20644 are used to ensure that if the 0549 is not present, it will be added. -->
20645 <territory id="SM" countryCode="378" internationalPrefix="00"
20646 nationalPrefixForParsing="(?:0549)?([89]\d{5})" nationalPrefixTransformRule="0549$1"
20647 leadingZeroPossible="true">
20649 <sourceUrl>http://www.itu.int/oth/T02020000B5/en</sourceUrl>
20650 <!-- Information about Italy. -->
20651 <sourceUrl>http://en.wikipedia.org/wiki/%2B39</sourceUrl>
20652 <sourceUrl>http://en.wikipedia.org/wiki/%2B378</sourceUrl>
20655 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
20656 <leadingDigits>[5-7]</leadingDigits>
20657 <format>$1 $2 $3 $4</format>
20659 <!-- We follow the guidelines of the yellow-pages when formatting in national format. -->
20660 <numberFormat pattern="(0549)(\d{6})">
20661 <leadingDigits>0</leadingDigits>
20662 <format>$1 $2</format>
20663 <!-- We follow the guidelines of the Telecommunications Document published on ITU when
20664 formatting in international format. -->
20665 <intlFormat>($1) $2</intlFormat>
20667 <!-- A rule in case the number has been stored without the leading 0549 necessary for
20669 <numberFormat pattern="(\d{6})">
20670 <leadingDigits>[89]</leadingDigits>
20671 <format>0549 $1</format>
20672 <intlFormat>(0549) $1</intlFormat>
20674 </availableFormats>
20676 <nationalNumberPattern>[05-7]\d{7,9}</nationalNumberPattern>
20677 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
20679 <!-- Example numbers provided by the Telecommunications Services. -->
20681 <nationalNumberPattern>
20686 </nationalNumberPattern>
20687 <exampleNumber>0549886377</exampleNumber>
20690 <nationalNumberPattern>6[16]\d{6}</nationalNumberPattern>
20691 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20692 <exampleNumber>66661212</exampleNumber>
20695 <!-- Includes Video Call numbers. -->
20696 <nationalNumberPattern>7[178]\d{6}</nationalNumberPattern>
20697 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20698 <exampleNumber>71123456</exampleNumber>
20701 <nationalNumberPattern>5[158]\d{6}</nationalNumberPattern>
20702 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20703 <exampleNumber>58001110</exampleNumber>
20708 <territory id="SN" countryCode="221" internationalPrefix="00">
20710 <sourceUrl>http://www.itu.int/oth/T02020000B8/en</sourceUrl>
20711 <sourceUrl>http://www.artpsenegal.net</sourceUrl>
20714 <!-- Using yellow pages and online telecom company formatting, rather than that implied in
20715 the national numbering plan. -->
20716 <numberFormat pattern="(\d{2})(\d{3})(\d{2})(\d{2})">
20717 <leadingDigits>[379]</leadingDigits>
20718 <format>$1 $2 $3 $4</format>
20720 <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})">
20721 <leadingDigits>8</leadingDigits>
20722 <format>$1 $2 $3 $4</format>
20724 </availableFormats>
20726 <nationalNumberPattern>[3789]\d{8}</nationalNumberPattern>
20727 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20730 <nationalNumberPattern>
20744 </nationalNumberPattern>
20745 <exampleNumber>301012345</exampleNumber>
20748 <nationalNumberPattern>
20755 </nationalNumberPattern>
20756 <exampleNumber>701234567</exampleNumber>
20759 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
20760 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20761 <exampleNumber>800123456</exampleNumber>
20764 <!-- Revenu Partagé in the plan. -->
20765 <nationalNumberPattern>88[4689]\d{6}</nationalNumberPattern>
20766 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20767 <exampleNumber>884123456</exampleNumber>
20770 <nationalNumberPattern>81[02468]\d{6}</nationalNumberPattern>
20771 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20772 <exampleNumber>810123456</exampleNumber>
20775 <!-- Also covers satellite telephony ranges. -->
20776 <nationalNumberPattern>
20779 </nationalNumberPattern>
20780 <exampleNumber>933301234</exampleNumber>
20785 <!-- This document seems to cover only a small set of prefixes in Somalia. Somalia has limited
20786 information available, and the numerous telecom carriers were previously working under an
20787 unregulated environment. The extra prefixes were added from the contact phone numbers of
20788 the countries main telecom operators. We also have received information that a national
20789 prefix of "0" is required when dialling from different regions (e.g. Puntland, Somaliland)
20790 for some operators, so that is included here although we do not use it when formatting. -->
20791 <territory id="SO" countryCode="252" internationalPrefix="00" nationalPrefix="0">
20793 <sourceUrl>http://www.itu.int/oth/T02020000C0/en</sourceUrl>
20794 <sourceUrl>http://en.wikipedia.org/wiki/+252</sourceUrl>
20797 <!-- These follow formats online, such as http://www.hortel.net/contact_us.html -->
20798 <numberFormat pattern="(\d)(\d{6})">
20803 <format>$1 $2</format>
20805 <numberFormat pattern="(\d)(\d{7})">
20810 <format>$1 $2</format>
20812 <numberFormat pattern="(\d{2})(\d{5,7})">
20818 <format>$1 $2</format>
20820 <numberFormat pattern="(69\d)(\d{6})">
20821 <leadingDigits>69</leadingDigits>
20822 <format>$1 $2</format>
20824 <numberFormat pattern="(90\d)(\d{3})(\d{3})">
20825 <leadingDigits>90</leadingDigits>
20826 <format>$1 $2 $3</format>
20828 </availableFormats>
20830 <nationalNumberPattern>[1-79]\d{6,8}</nationalNumberPattern>
20831 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
20834 <!-- Apparently Telesom and Nationlink (Somaliland) both use the prefix 2. We exclude 28
20835 here since that is apparently used for mobile. -->
20836 <nationalNumberPattern>
20844 </nationalNumberPattern>
20845 <possibleNumberPattern>\d{7}</possibleNumberPattern>
20846 <exampleNumber>4012345</exampleNumber>
20849 <!-- 24 is used by the carrier Telesom. 28 is used by Nationlink. 6[89] are apparently used
20850 by Nationlink Somalia, 67 by Nationlink Puntland, and 61 by Hormuud. 7X is used by
20851 Somtel. 6 followed by only 7 digits is used by Telecom. Note that in June 2014 many
20852 ranges were suspended by the government. 90\d{6} was listed as one of the ranges to be
20853 suspended, but open-source contributors confirm that 907\d{6} is still in use, even if
20854 the shorter 90 ranges are no longer. -->
20855 <nationalNumberPattern>
20866 </nationalNumberPattern>
20867 <exampleNumber>71123456</exampleNumber>
20872 <territory id="SR" countryCode="597" internationalPrefix="00">
20874 <sourceUrl>http://www.itu.int/oth/T02020000C5/en</sourceUrl>
20877 <!-- Following conventions used in the Suriname Yellow Pages. -->
20878 <numberFormat pattern="(\d{3})(\d{3})">
20883 <format>$1-$2</format>
20885 <numberFormat pattern="(\d{2})(\d{2})(\d{2})">
20886 <leadingDigits>56</leadingDigits>
20887 <format>$1-$2-$3</format>
20889 <numberFormat pattern="(\d{3})(\d{4})">
20894 <format>$1-$2</format>
20896 </availableFormats>
20898 <nationalNumberPattern>[2-8]\d{5,6}</nationalNumberPattern>
20899 <possibleNumberPattern>\d{6,7}</possibleNumberPattern>
20902 <!-- Includes non-geographic WLL-CDMA Fixed Lines. -->
20903 <nationalNumberPattern>
20911 </nationalNumberPattern>
20912 <exampleNumber>211234</exampleNumber>
20915 <nationalNumberPattern>
20920 </nationalNumberPattern>
20921 <possibleNumberPattern>\d{7}</possibleNumberPattern>
20922 <exampleNumber>7412345</exampleNumber>
20925 <nationalNumberPattern>
20930 </nationalNumberPattern>
20931 <possibleNumberPattern>\d{6,7}</possibleNumberPattern>
20932 <exampleNumber>561234</exampleNumber>
20936 <!-- South Sudan -->
20937 <territory id="SS" countryCode="211" internationalPrefix="00" nationalPrefix="0">
20939 <sourceUrl>http://www.itu.int/oth/T02020000F9/en</sourceUrl>
20940 <sourceUrl>http://en.wikipedia.org/wiki/+211</sourceUrl>
20943 <numberFormat pattern="(\d{3})(\d{3})(\d{3})" nationalPrefixFormattingRule="$NP$FG">
20944 <format>$1 $2 $3</format>
20946 </availableFormats>
20948 <nationalNumberPattern>[19]\d{8}</nationalNumberPattern>
20949 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20952 <nationalNumberPattern>18\d{7}</nationalNumberPattern>
20953 <exampleNumber>181234567</exampleNumber>
20956 <nationalNumberPattern>
20961 </nationalNumberPattern>
20962 <exampleNumber>977123456</exampleNumber>
20966 <!-- Sao Tome and Principe -->
20967 <territory id="ST" countryCode="239" internationalPrefix="00">
20969 <sourceUrl>http://www.itu.int/oth/T02020000B6/en</sourceUrl>
20972 <numberFormat pattern="(\d{3})(\d{4})">
20973 <format>$1 $2</format>
20975 </availableFormats>
20977 <nationalNumberPattern>[29]\d{6}</nationalNumberPattern>
20978 <possibleNumberPattern>\d{7}</possibleNumberPattern>
20981 <nationalNumberPattern>22\d{5}</nationalNumberPattern>
20982 <exampleNumber>2221234</exampleNumber>
20985 <nationalNumberPattern>9[89]\d{5}</nationalNumberPattern>
20986 <exampleNumber>9812345</exampleNumber>
20990 <!-- El Salvador -->
20991 <territory id="SV" countryCode="503" internationalPrefix="00">
20993 <sourceUrl>http://www.itu.int/oth/T020200003F/en</sourceUrl>
20994 <sourceUrl>http://www.siget.gob.sv/BusquedaPublica.aspx?pagina=3&tipo=27&titulo=t8&sector=2&ordenar=&dir=DESC</sourceUrl>
20997 <numberFormat pattern="(\d{4})(\d{4})">
20998 <leadingDigits>[267]</leadingDigits>
20999 <format>$1 $2</format>
21001 <numberFormat pattern="(\d{3})(\d{4})">
21002 <leadingDigits>[89]</leadingDigits>
21003 <format>$1 $2</format>
21005 <numberFormat pattern="(\d{3})(\d{4})(\d{4})">
21006 <leadingDigits>[89]</leadingDigits>
21007 <format>$1 $2 $3</format>
21009 </availableFormats>
21011 <nationalNumberPattern>
21013 [89]\d{6}(?:\d{4})?
21014 </nationalNumberPattern>
21015 <possibleNumberPattern>
21018 </possibleNumberPattern>
21021 <!-- Numbers starting with 20, 27, 28 and 29 are reserved but not yet used. -->
21022 <nationalNumberPattern>2[1-6]\d{6}</nationalNumberPattern>
21023 <possibleNumberPattern>\d{8}</possibleNumberPattern>
21024 <exampleNumber>21234567</exampleNumber>
21027 <nationalNumberPattern>[67]\d{7}</nationalNumberPattern>
21028 <possibleNumberPattern>\d{8}</possibleNumberPattern>
21029 <exampleNumber>70123456</exampleNumber>
21032 <!-- Toll free numbers are either 800 NNNN or 800 NNNN NNNN. -->
21033 <nationalNumberPattern>800\d{4}(?:\d{4})?</nationalNumberPattern>
21034 <possibleNumberPattern>\d{7}(?:\d{4})?</possibleNumberPattern>
21035 <exampleNumber>8001234</exampleNumber>
21038 <!-- Premium rate numbers are either 900 NNNN or 900 NNNN NNNN. -->
21039 <nationalNumberPattern>900\d{4}(?:\d{4})?</nationalNumberPattern>
21040 <possibleNumberPattern>\d{7}(?:\d{4})?</possibleNumberPattern>
21041 <exampleNumber>9001234</exampleNumber>
21045 <!-- Sint Maarten -->
21046 <territory id="SX" countryCode="1" leadingDigits="721" nationalPrefix="1"
21047 internationalPrefix="011">
21049 <sourceUrl>http://www.nanpa.com/pdf/PL_429.pdf</sourceUrl>
21050 <sourceUrl>http://www.itu.int/oth/T02020000F7/en</sourceUrl>
21053 <!-- NANPA country - uses US formatting rules -->
21054 <nationalNumberPattern>[5789]\d{9}</nationalNumberPattern>
21055 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
21058 <nationalNumberPattern>
21064 </nationalNumberPattern>
21065 <exampleNumber>7215425678</exampleNumber>
21068 <!-- We assume we can send SMSs to the Fixed GSM numbers mentioned in the plan and hence
21069 include these as mobile numbers. -->
21070 <nationalNumberPattern>
21077 </nationalNumberPattern>
21078 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21079 <exampleNumber>7215205678</exampleNumber>
21082 <nationalNumberPattern>
21091 </nationalNumberPattern>
21092 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21093 <exampleNumber>8002123456</exampleNumber>
21096 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
21097 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21098 <exampleNumber>9002123456</exampleNumber>
21101 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
21102 <nationalNumberPattern>
21110 </nationalNumberPattern>
21111 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21112 <exampleNumber>5002345678</exampleNumber>
21116 <!-- Syrian Arab Republic -->
21117 <territory id="SY" countryCode="963" internationalPrefix="00"
21118 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
21119 nationalPrefixOptionalWhenFormatting="true">
21121 <sourceUrl>http://www.itu.int/oth/T02020000C9/en</sourceUrl>
21122 <sourceUrl>http://en.wikipedia.org/wiki/%2B963</sourceUrl>
21125 <numberFormat pattern="(\d{2})(\d{3})(\d{3,4})">
21126 <leadingDigits>[1-5]</leadingDigits>
21127 <format>$1 $2 $3</format>
21129 <numberFormat pattern="(9\d{2})(\d{3})(\d{3})">
21130 <leadingDigits>9</leadingDigits>
21131 <format>$1 $2 $3</format>
21133 </availableFormats>
21135 <nationalNumberPattern>[1-59]\d{7,8}</nationalNumberPattern>
21136 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
21139 <!-- Numbers with the 21 prefix are made optionally 1-digit longer based on numbers found on
21141 <nationalNumberPattern>
21159 </nationalNumberPattern>
21160 <exampleNumber>112345678</exampleNumber>
21163 <!-- Numbers have been found on the Internet for the prefixes 922, 93[046-8],
21164 95[138], and 96[05]. -->
21165 <nationalNumberPattern>
21174 </nationalNumberPattern>
21175 <possibleNumberPattern>\d{9}</possibleNumberPattern>
21176 <exampleNumber>944567890</exampleNumber>
21178 <!-- No tollFree or premiumRate information can be found. -->
21182 <territory id="SZ" countryCode="268" internationalPrefix="00" leadingZeroPossible="true">
21184 <sourceUrl>http://www.itu.int/oth/T02020000C6/en</sourceUrl>
21187 <numberFormat pattern="(\d{4})(\d{4})">
21188 <leadingDigits>[027]</leadingDigits>
21189 <format>$1 $2</format>
21191 </availableFormats>
21193 <nationalNumberPattern>[027]\d{7}</nationalNumberPattern>
21194 <possibleNumberPattern>\d{8}</possibleNumberPattern>
21196 <noInternationalDialling>
21197 <nationalNumberPattern>0800\d{4}</nationalNumberPattern>
21198 <possibleNumberPattern>\d{8}</possibleNumberPattern>
21199 <exampleNumber>08001234</exampleNumber>
21200 </noInternationalDialling>
21202 <nationalNumberPattern>
21227 </nationalNumberPattern>
21228 <exampleNumber>22171234</exampleNumber>
21231 <nationalNumberPattern>7[6-8]\d{6}</nationalNumberPattern>
21232 <exampleNumber>76123456</exampleNumber>
21235 <nationalNumberPattern>0800\d{4}</nationalNumberPattern>
21236 <exampleNumber>08001234</exampleNumber>
21240 <!-- Tristan da Cunha -->
21241 <territory id="TA" countryCode="290" internationalPrefix="00">
21243 <sourceUrl>http://www.itu.int/oth/T02020000AF/en</sourceUrl>
21245 <!-- Numbers are formatted as a block. Shares a country code with Saint Helena. -->
21247 <nationalNumberPattern>8\d{3}</nationalNumberPattern>
21248 <possibleNumberPattern>\d{4}</possibleNumberPattern>
21251 <nationalNumberPattern>8\d{3}</nationalNumberPattern>
21252 <exampleNumber>8999</exampleNumber>
21255 <nationalNumberPattern>NA</nationalNumberPattern>
21256 <possibleNumberPattern>NA</possibleNumberPattern>
21260 <!-- Turks and Caicos Islands -->
21261 <territory id="TC" countryCode="1" leadingDigits="649" nationalPrefix="1"
21262 internationalPrefix="011">
21264 <sourceUrl>http://www.itu.int/oth/T02020000D8/en</sourceUrl>
21267 <!-- NANPA country - uses US formatting rules -->
21268 <nationalNumberPattern>[5689]\d{9}</nationalNumberPattern>
21269 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
21272 <nationalNumberPattern>
21280 </nationalNumberPattern>
21281 <exampleNumber>6497121234</exampleNumber>
21284 <!-- Extra prefixes 246, 247, 346 found online and in the yellow pages. -->
21285 <nationalNumberPattern>
21297 </nationalNumberPattern>
21298 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21299 <exampleNumber>6492311234</exampleNumber>
21302 <nationalNumberPattern>
21311 </nationalNumberPattern>
21312 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21313 <exampleNumber>8002345678</exampleNumber>
21316 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
21317 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21318 <exampleNumber>9002345678</exampleNumber>
21321 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
21322 <nationalNumberPattern>
21330 </nationalNumberPattern>
21331 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21332 <exampleNumber>5002345678</exampleNumber>
21335 <nationalNumberPattern>64971[01]\d{4}</nationalNumberPattern>
21336 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21337 <exampleNumber>6497101234</exampleNumber>
21342 <!-- The international prefix includes 16 as the international manual exchange. -->
21343 <territory id="TD" countryCode="235" preferredInternationalPrefix="00"
21344 internationalPrefix="00|16">
21346 <sourceUrl>http://www.itu.int/oth/T0202000029/en</sourceUrl>
21350 pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
21351 <format>$1 $2 $3 $4</format>
21353 </availableFormats>
21355 <nationalNumberPattern>[2679]\d{7}</nationalNumberPattern>
21356 <possibleNumberPattern>\d{8}</possibleNumberPattern>
21359 <nationalNumberPattern>
21365 </nationalNumberPattern>
21366 <exampleNumber>22501234</exampleNumber>
21369 <!-- Sotel Tchad "SALAM" (77 XX XX XX) is classified as a fixed operator in the plan, but it
21370 also says numbers starting with 7 are mobile numbers. Putting under mobile for now.
21371 Also adding 6[028] and 63[5-9] which are operated by Airtel. -->
21372 <nationalNumberPattern>
21381 </nationalNumberPattern>
21382 <exampleNumber>63012345</exampleNumber>
21386 <!-- French Southern Territories -->
21387 <!-- id="TF" countryCode="262" internationalPrefix="00" nationalPrefix="0" -->
21388 <!-- This country is not covered due to lack of information about its numbering plan. It has 140
21389 temporary inhabitants. -->
21392 <territory id="TG" countryCode="228" internationalPrefix="00">
21394 <sourceUrl>http://www.itu.int/oth/T02020000D1/en</sourceUrl>
21397 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
21398 <format>$1 $2 $3 $4</format>
21400 </availableFormats>
21402 <nationalNumberPattern>[29]\d{7}</nationalNumberPattern>
21403 <possibleNumberPattern>\d{8}</possibleNumberPattern>
21406 <nationalNumberPattern>
21415 </nationalNumberPattern>
21416 <exampleNumber>22212345</exampleNumber>
21419 <nationalNumberPattern>9[0-289]\d{6}</nationalNumberPattern>
21420 <exampleNumber>90112345</exampleNumber>
21425 <territory id="TH" countryCode="66" internationalPrefix="00"
21426 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
21427 mobileNumberPortableRegion="true">
21429 <sourceUrl>http://www.itu.int/oth/T02020000CD/en</sourceUrl>
21430 <sourceUrl>http://www.barascientific.com/bscnews/variety/emergency/Tel-4Digi.pdf</sourceUrl>
21433 <!-- Formatting patterns from wikipedia and the document itself -
21434 http://en.wikipedia.org/wiki/%2B66 -->
21435 <numberFormat pattern="(2)(\d{3})(\d{4})">
21436 <leadingDigits>2</leadingDigits>
21437 <format>$1 $2 $3</format>
21439 <numberFormat pattern="([3-9]\d)(\d{3})(\d{3,4})">
21440 <leadingDigits>[3-9]</leadingDigits>
21441 <format>$1 $2 $3</format>
21443 <numberFormat nationalPrefixFormattingRule="$FG"
21444 pattern="(1[89]00)(\d{3})(\d{3})">
21445 <leadingDigits>1</leadingDigits>
21446 <format>$1 $2 $3</format>
21448 </availableFormats>
21450 <nationalNumberPattern>
21453 </nationalNumberPattern>
21454 <possibleNumberPattern>\d{4}|\d{8,10}</possibleNumberPattern>
21456 <noInternationalDialling>
21457 <nationalNumberPattern>1\d{3}</nationalNumberPattern>
21458 <possibleNumberPattern>\d{4}</possibleNumberPattern>
21459 <exampleNumber>1100</exampleNumber>
21460 </noInternationalDialling>
21462 <!-- Numbers online have been found that start with 20, despite the ITU doc not covering
21464 <nationalNumberPattern>
21472 </nationalNumberPattern>
21473 <possibleNumberPattern>\d{8}</possibleNumberPattern>
21474 <exampleNumber>21234567</exampleNumber>
21477 <nationalNumberPattern>
21482 </nationalNumberPattern>
21483 <possibleNumberPattern>\d{9}</possibleNumberPattern>
21484 <exampleNumber>812345678</exampleNumber>
21486 <!-- http://en.wikipedia.org/wiki/Toll-free_telephone_number -->
21488 <nationalNumberPattern>1800\d{6}</nationalNumberPattern>
21489 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21490 <exampleNumber>1800123456</exampleNumber>
21493 <nationalNumberPattern>1900\d{6}</nationalNumberPattern>
21494 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21495 <exampleNumber>1900123456</exampleNumber>
21498 <!-- The ITU document says that the 89 prefix is also VOIP but there are lots of numbers
21499 online to suggest they are actually used as mobile numbers. -->
21500 <nationalNumberPattern>6[08]\d{7}</nationalNumberPattern>
21501 <possibleNumberPattern>\d{9}</possibleNumberPattern>
21502 <exampleNumber>601234567</exampleNumber>
21505 <!-- 4-digit numbers are classified under UAN. Most of these are commercial numbers, and
21506 their costs range from free to 6 Baht/min. -->
21507 <nationalNumberPattern>1\d{3}</nationalNumberPattern>
21508 <possibleNumberPattern>\d{4}</possibleNumberPattern>
21509 <exampleNumber>1100</exampleNumber>
21513 <!-- Tajikistan -->
21514 <territory id="TJ" countryCode="992" preferredInternationalPrefix="8~10"
21515 internationalPrefix="810" nationalPrefix="8"
21516 nationalPrefixFormattingRule="($NP) $FG"
21517 nationalPrefixOptionalWhenFormatting="true">
21519 <sourceUrl>http://www.itu.int/oth/T02020000CA/en</sourceUrl>
21522 <numberFormat pattern="([349]\d{2})(\d{2})(\d{4})">
21527 <format>$1 $2 $3</format>
21529 <numberFormat pattern="([459]\d)(\d{3})(\d{4})">
21538 <format>$1 $2 $3</format>
21540 <numberFormat pattern="(331700)(\d)(\d{2})">
21541 <leadingDigits>331</leadingDigits>
21542 <leadingDigits>3317</leadingDigits>
21543 <leadingDigits>33170</leadingDigits>
21544 <leadingDigits>331700</leadingDigits>
21545 <format>$1 $2 $3</format>
21547 <numberFormat pattern="(\d{4})(\d)(\d{4})">
21548 <leadingDigits>3[1-5]</leadingDigits>
21558 <format>$1 $2 $3</format>
21560 </availableFormats>
21562 <nationalNumberPattern>[3-59]\d{8}</nationalNumberPattern>
21563 <possibleNumberPattern>\d{3,9}</possibleNumberPattern>
21566 <nationalNumberPattern>
21582 </nationalNumberPattern>
21583 <exampleNumber>372123456</exampleNumber>
21586 <!-- Adding 90 prefix as SMS messages could be successfully delivered to these mobile
21587 numbers, and 50[12] for TCell from bug reports. -->
21588 <nationalNumberPattern>
21593 </nationalNumberPattern>
21594 <possibleNumberPattern>\d{9}</possibleNumberPattern>
21595 <exampleNumber>917123456</exampleNumber>
21597 <!-- No tollFree or premiumRate information can be found. -->
21601 <territory id="TK" countryCode="690" internationalPrefix="00">
21603 <sourceUrl>http://www.itu.int/oth/T02020000D2/en</sourceUrl>
21606 <nationalNumberPattern>[2-9]\d{3}</nationalNumberPattern>
21607 <possibleNumberPattern>\d{4}</possibleNumberPattern>
21610 <nationalNumberPattern>[2-4]\d{3}</nationalNumberPattern>
21611 <!-- The example number is the contact number from the ITU document. -->
21612 <exampleNumber>3010</exampleNumber>
21615 <nationalNumberPattern>[5-9]\d{3}</nationalNumberPattern>
21616 <exampleNumber>5190</exampleNumber>
21620 <!-- Timor-Leste (East Timor) -->
21621 <territory id="TL" countryCode="670" internationalPrefix="00">
21623 <sourceUrl>http://www.itu.int/oth/T02020000D0/en</sourceUrl>
21626 <numberFormat pattern="(\d{3})(\d{4})">
21627 <leadingDigits>[2-489]</leadingDigits>
21628 <format>$1 $2</format>
21630 <!-- Since numbers grew an extra digit, we have no indication of how people are formatting
21631 them. If we see another pattern being used, we should change this later. -->
21632 <numberFormat pattern="(\d{4})(\d{4})">
21633 <leadingDigits>7</leadingDigits>
21634 <format>$1 $2</format>
21636 </availableFormats>
21638 <nationalNumberPattern>
21641 </nationalNumberPattern>
21642 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
21645 <nationalNumberPattern>
21651 </nationalNumberPattern>
21652 <possibleNumberPattern>\d{7}</possibleNumberPattern>
21653 <exampleNumber>2112345</exampleNumber>
21656 <nationalNumberPattern>7[3-8]\d{6}</nationalNumberPattern>
21657 <possibleNumberPattern>\d{8}</possibleNumberPattern>
21658 <exampleNumber>77212345</exampleNumber>
21661 <nationalNumberPattern>80\d{5}</nationalNumberPattern>
21662 <possibleNumberPattern>\d{7}</possibleNumberPattern>
21663 <exampleNumber>8012345</exampleNumber>
21666 <nationalNumberPattern>90\d{5}</nationalNumberPattern>
21667 <possibleNumberPattern>\d{7}</possibleNumberPattern>
21668 <exampleNumber>9012345</exampleNumber>
21670 <!-- We don't include paging or voicemail because the identified paging range was used by
21671 mobile previously, and for voicemail, it is unclear if the 2012 change affected these
21672 numbers, or if the range was indeed previously used for voicemail at all. -->
21674 <!-- We presume this wasn't affected by the numbering plan update. -->
21675 <nationalNumberPattern>70\d{5}</nationalNumberPattern>
21676 <possibleNumberPattern>\d{7}</possibleNumberPattern>
21677 <exampleNumber>7012345</exampleNumber>
21681 <!-- Turkmenistan -->
21682 <territory id="TM" countryCode="993" preferredInternationalPrefix="8~10"
21683 internationalPrefix="810" nationalPrefix="8"
21684 nationalPrefixFormattingRule="($NP $FG)">
21686 <sourceUrl>http://www.itu.int/oth/T02020000D7/en</sourceUrl>
21687 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Turkmenistan</sourceUrl>
21690 <!-- There doesn't seem to be a standardized format. The format below is based on the
21691 Turkmenistan embassy at
21692 http://www.turkmenistanembassy.org/turkmen/info/contact.html -->
21693 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
21694 <leadingDigits>12</leadingDigits>
21695 <format>$1 $2-$3-$4</format>
21697 <numberFormat pattern="(\d{2})(\d{6})" nationalPrefixFormattingRule="$NP $FG">
21698 <leadingDigits>6</leadingDigits>
21699 <format>$1 $2</format>
21701 <numberFormat pattern="(\d{3})(\d)(\d{2})(\d{2})">
21706 <format>$1 $2-$3-$4</format>
21708 </availableFormats>
21710 <nationalNumberPattern>[1-6]\d{7}</nationalNumberPattern>
21711 <possibleNumberPattern>\d{8}</possibleNumberPattern>
21714 <!-- Additional prefixes from the wikipedia page. -->
21715 <nationalNumberPattern>
21741 </nationalNumberPattern>
21742 <exampleNumber>12345678</exampleNumber>
21745 <!-- According to feedback from users, the carrier Altyn Asyr is the only one currently
21746 operating, with the numbers 6[3-5]\d{6}. MTS used to operate the ranges 6[6-8] but this
21747 has been suspended. It is unclear whether it will resume. We support both ranges in the
21748 meantime. The range 62 seems also now to be in use, according to numbers found online.
21750 <nationalNumberPattern>6[2-8]\d{6}</nationalNumberPattern>
21751 <exampleNumber>66123456</exampleNumber>
21753 <!-- No tollFree or premiumRate information can be found. -->
21757 <territory id="TN" countryCode="216" internationalPrefix="00">
21759 <sourceUrl>http://www.itu.int/oth/T02020000D5/en</sourceUrl>
21760 <sourceUrl>http://www.tunisietelecom.tn/tt/wcm/connect/?MOD=PDMProxy&TYPE=personalization&ID=NONE&KEY=NONE&LIBRARY=%2FcontentRoot%2Ficm%3Alibraries%5B16%5D&FOLDER=%2F&DOC_NAME=%2FcontentRoot%2Ficm%3Alibraries%5B16%5D%2FOTTI+2011.pdf</sourceUrl>
21761 <sourceUrl>http://www.tunisietelecom.tn/tt/internet/fr/pme/fixe/numeros_acceuil</sourceUrl>
21764 <numberFormat pattern="(\d{2})(\d{3})(\d{3})">
21765 <format>$1 $2 $3</format>
21767 </availableFormats>
21769 <nationalNumberPattern>[2-57-9]\d{7}</nationalNumberPattern>
21770 <possibleNumberPattern>\d{8}</possibleNumberPattern>
21773 <!-- 3[012] numbers are no longer listed in the ITU doc, but we support them based on
21774 online searches. -->
21775 <nationalNumberPattern>
21779 </nationalNumberPattern>
21780 <exampleNumber>71234567</exampleNumber>
21783 <!-- Numbers starting with 5 are no longer listed in the ITU doc, but we support them based
21784 on online searches and Wikipedia. -->
21785 <nationalNumberPattern>
21790 </nationalNumberPattern>
21791 <exampleNumber>20123456</exampleNumber>
21794 <!-- ITU lists 80 xx xx xx, but the document published by Tunisie Telecom has more specific
21795 information which is followed here. -->
21796 <nationalNumberPattern>8010\d{4}</nationalNumberPattern>
21797 <exampleNumber>80101234</exampleNumber>
21800 <nationalNumberPattern>88\d{6}</nationalNumberPattern>
21801 <exampleNumber>88123456</exampleNumber>
21804 <!-- 8110xxxx numbers are listed as being "discounted non-geographical numbers" and are put
21805 here for now. In the future we might consider them as UAN.
21806 ITU lists 82 xx xx xx, but the document published by Tunisie Telecom has more specific
21807 information which is followed here. -->
21808 <nationalNumberPattern>8[12]10\d{4}</nationalNumberPattern>
21809 <exampleNumber>81101234</exampleNumber>
21814 <territory id="TO" countryCode="676" internationalPrefix="00" leadingZeroPossible="true">
21816 <sourceUrl>http://www.itu.int/oth/T02020000D3/en</sourceUrl>
21817 <sourceUrl>http://www.wtng.info/wtng-676-to.html</sourceUrl>
21820 <numberFormat pattern="(\d{2})(\d{3})">
21826 <format>$1-$2</format>
21828 <numberFormat pattern="(\d{3})(\d{4})">
21833 <format>$1 $2</format>
21835 <numberFormat pattern="(\d{4})(\d{3})">
21836 <leadingDigits>0</leadingDigits>
21837 <format>$1 $2</format>
21839 </availableFormats>
21841 <nationalNumberPattern>[02-8]\d{4,6}</nationalNumberPattern>
21842 <possibleNumberPattern>\d{5,7}</possibleNumberPattern>
21845 <nationalNumberPattern>
21854 </nationalNumberPattern>
21855 <possibleNumberPattern>\d{5}</possibleNumberPattern>
21856 <exampleNumber>20123</exampleNumber>
21859 <!-- TCC mobile numbers were given a prefix of "77" in 2009, although this is not mentioned
21860 in their ITU document. Numbers with a prefix of "75" have also been found. -->
21861 <nationalNumberPattern>
21866 </nationalNumberPattern>
21867 <possibleNumberPattern>\d{7}</possibleNumberPattern>
21868 <exampleNumber>7715123</exampleNumber>
21871 <nationalNumberPattern>0800\d{3}</nationalNumberPattern>
21872 <possibleNumberPattern>\d{7}</possibleNumberPattern>
21873 <exampleNumber>0800222</exampleNumber>
21878 <territory id="TR" countryCode="90" internationalPrefix="00" nationalPrefix="0"
21879 mobileNumberPortableRegion="true">
21881 <sourceUrl>http://en.wikipedia.org/wiki/%2B90</sourceUrl>
21882 <sourceUrl>http://www.itu.int/oth/T02020000D6/en</sourceUrl>
21885 <numberFormat nationalPrefixFormattingRule="($NP$FG)" pattern="(\d{3})(\d{3})(\d{4})"
21886 nationalPrefixOptionalWhenFormatting="true">
21894 <format>$1 $2 $3</format>
21896 <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(\d{3})(\d{3})(\d{4})"
21897 nationalPrefixOptionalWhenFormatting="true">
21898 <leadingDigits>[589]</leadingDigits>
21899 <format>$1 $2 $3</format>
21901 <numberFormat pattern="(444)(\d{1})(\d{3})">
21902 <leadingDigits>444</leadingDigits>
21903 <format>$1 $2 $3</format>
21905 </availableFormats>
21907 <nationalNumberPattern>
21910 </nationalNumberPattern>
21911 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
21913 <noInternationalDialling>
21914 <nationalNumberPattern>444\d{4}</nationalNumberPattern>
21915 <possibleNumberPattern>\d{7}</possibleNumberPattern>
21916 <exampleNumber>4441444</exampleNumber>
21917 </noInternationalDialling>
21919 <!-- Includes numbers starting with 392 for Northern Cyprus. -->
21920 <nationalNumberPattern>
21940 </nationalNumberPattern>
21941 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21942 <exampleNumber>2123456789</exampleNumber>
21945 <!-- There are some differences between the Turkish and English wikipedia pages here, and
21946 some number prefixes do not seem to be able to be found online. Omitting 500, 508 and
21947 509 from the English page because of this. -->
21948 <nationalNumberPattern>
21956 </nationalNumberPattern>
21957 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21958 <exampleNumber>5012345678</exampleNumber>
21961 <nationalNumberPattern>512\d{7}</nationalNumberPattern>
21962 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21963 <exampleNumber>5123456789</exampleNumber>
21966 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
21967 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21968 <exampleNumber>8001234567</exampleNumber>
21971 <nationalNumberPattern>900\d{7}</nationalNumberPattern>
21972 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21973 <exampleNumber>9001234567</exampleNumber>
21976 <!-- http://www.turktelekom.com.tr/tt/portal/News/Archive/7-digit-special-service-number-starting-with-444 -->
21977 <nationalNumberPattern>
21980 </nationalNumberPattern>
21981 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
21982 <exampleNumber>4441444</exampleNumber>
21986 <!-- Trinidad and Tobago -->
21987 <territory id="TT" countryCode="1" leadingDigits="868" nationalPrefix="1"
21988 internationalPrefix="011">
21990 <sourceUrl>http://www.itu.int/oth/T02020000D4/en</sourceUrl>
21993 <!-- NANPA country - uses US formatting rules -->
21994 <nationalNumberPattern>[589]\d{9}</nationalNumberPattern>
21995 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
21998 <nationalNumberPattern>
22013 </nationalNumberPattern>
22014 <exampleNumber>8682211234</exampleNumber>
22017 <nationalNumberPattern>
22039 </nationalNumberPattern>
22040 <possibleNumberPattern>\d{10}</possibleNumberPattern>
22041 <exampleNumber>8682911234</exampleNumber>
22044 <nationalNumberPattern>
22053 </nationalNumberPattern>
22054 <possibleNumberPattern>\d{10}</possibleNumberPattern>
22055 <exampleNumber>8002345678</exampleNumber>
22058 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
22059 <possibleNumberPattern>\d{10}</possibleNumberPattern>
22060 <exampleNumber>9002345678</exampleNumber>
22063 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
22064 <nationalNumberPattern>
22072 </nationalNumberPattern>
22073 <possibleNumberPattern>\d{10}</possibleNumberPattern>
22074 <exampleNumber>5002345678</exampleNumber>
22079 <territory id="TV" countryCode="688" internationalPrefix="00">
22081 <sourceUrl>http://www.itu.int/oth/T02020000D9/en</sourceUrl>
22082 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Tuvalu</sourceUrl>
22084 <!-- Numbers are formatted as a block. -->
22086 <nationalNumberPattern>[29]\d{4,5}</nationalNumberPattern>
22087 <possibleNumberPattern>\d{5,6}</possibleNumberPattern>
22090 <nationalNumberPattern>2[02-9]\d{3}</nationalNumberPattern>
22091 <possibleNumberPattern>\d{5}</possibleNumberPattern>
22092 <exampleNumber>20123</exampleNumber>
22095 <!-- Some numbers online can be found that are 5-digits long, and start with 90 or 91. We
22096 don't know if these are valid or not - the ITU document excludes them - so are not
22097 covering these for now. -->
22098 <nationalNumberPattern>90\d{4}</nationalNumberPattern>
22099 <possibleNumberPattern>\d{6}</possibleNumberPattern>
22100 <exampleNumber>901234</exampleNumber>
22104 <!-- Taiwan, China -->
22105 <!-- Extension symbols found on the internet so far have been #, X and Ext - so # has been
22106 chosen as the preferred extension prefix. -->
22107 <territory id="TW" countryCode="886" internationalPrefix="0(?:0[25679]|19)"
22108 nationalPrefix="0" preferredExtnPrefix="#" nationalPrefixFormattingRule="$NP$FG"
22109 mobileNumberPortableRegion="true">
22111 <sourceUrl>http://www.itu.int/oth/T02020000EB/en</sourceUrl>
22114 <numberFormat pattern="([2-8])(\d{3,4})(\d{4})">
22119 <format>$1 $2 $3</format>
22121 <numberFormat pattern="([89]\d{2})(\d{3})(\d{3})">
22126 <format>$1 $2 $3</format>
22128 <numberFormat pattern="(70)(\d{4})(\d{4})">
22129 <leadingDigits>70</leadingDigits>
22130 <format>$1 $2 $3</format>
22132 </availableFormats>
22134 <nationalNumberPattern>
22137 </nationalNumberPattern>
22138 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
22141 <nationalNumberPattern>[2-8]\d{7,8}</nationalNumberPattern>
22142 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
22143 <exampleNumber>21234567</exampleNumber>
22146 <nationalNumberPattern>9\d{8}</nationalNumberPattern>
22147 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22148 <exampleNumber>912345678</exampleNumber>
22151 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
22152 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22153 <exampleNumber>800123456</exampleNumber>
22156 <nationalNumberPattern>900\d{6}</nationalNumberPattern>
22157 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22158 <exampleNumber>900123456</exampleNumber>
22160 <!-- http://www.chief.com.tw/telecom_eng/front/bin/ptlist.phtml?Category=107 -->
22162 <nationalNumberPattern>70\d{8}</nationalNumberPattern>
22163 <possibleNumberPattern>\d{10}</possibleNumberPattern>
22164 <exampleNumber>7012345678</exampleNumber>
22169 <territory id="TZ" countryCode="255" internationalPrefix="00[056]"
22170 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
22172 <sourceUrl>http://www.itu.int/oth/T02020000CB/en</sourceUrl>
22175 <numberFormat pattern="([24]\d)(\d{3})(\d{4})">
22176 <leadingDigits>[24]</leadingDigits>
22177 <format>$1 $2 $3</format>
22179 <numberFormat pattern="([67]\d{2})(\d{3})(\d{3})">
22180 <leadingDigits>[67]</leadingDigits>
22181 <format>$1 $2 $3</format>
22183 <!-- Formatting for special numbers from http://www.tcra.go.tz -->
22184 <numberFormat pattern="([89]\d{2})(\d{2})(\d{4})">
22185 <leadingDigits>[89]</leadingDigits>
22186 <format>$1 $2 $3</format>
22188 </availableFormats>
22190 <nationalNumberPattern>\d{9}</nationalNumberPattern>
22191 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
22194 <nationalNumberPattern>2[2-8]\d{7}</nationalNumberPattern>
22195 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
22196 <exampleNumber>222345678</exampleNumber>
22199 <nationalNumberPattern>
22204 </nationalNumberPattern>
22205 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22206 <exampleNumber>612345678</exampleNumber>
22209 <nationalNumberPattern>80[08]\d{6}</nationalNumberPattern>
22210 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22211 <exampleNumber>800123456</exampleNumber>
22214 <nationalNumberPattern>90\d{7}</nationalNumberPattern>
22215 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22216 <exampleNumber>900123456</exampleNumber>
22219 <nationalNumberPattern>
22224 </nationalNumberPattern>
22225 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22226 <exampleNumber>840123456</exampleNumber>
22229 <nationalNumberPattern>41\d{7}</nationalNumberPattern>
22230 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22231 <exampleNumber>412345678</exampleNumber>
22236 <territory id="UA" countryCode="380" preferredInternationalPrefix="0~0"
22237 internationalPrefix="00"
22238 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
22240 <sourceUrl>http://www.itu.int/oth/T02020000DB/en</sourceUrl>
22241 <sourceUrl>http://en.wikipedia.org/wiki/%2B380</sourceUrl>
22244 <!-- City codes separated out. No definitive list has been found of what constitutes the
22245 area code - http://www.ua.all-biz.info/guide/phonecodes is useful but not error-free.
22246 Have used local yellow pages guidelines, Google searches and regression tests to
22247 reverse-engineer these rules as well as bugs. -->
22248 <numberFormat pattern="([3-689]\d)(\d{3})(\d{4})">
22280 <format>$1 $2 $3</format>
22282 <numberFormat pattern="([3-689]\d{2})(\d{3})(\d{3})">
22319 <format>$1 $2 $3</format>
22321 <numberFormat pattern="([3-6]\d{3})(\d{5})">
22377 <format>$1 $2</format>
22379 </availableFormats>
22381 <nationalNumberPattern>[3-689]\d{8}</nationalNumberPattern>
22382 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
22385 <nationalNumberPattern>
22392 </nationalNumberPattern>
22393 <exampleNumber>311234567</exampleNumber>
22396 <nationalNumberPattern>
22403 </nationalNumberPattern>
22404 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22405 <exampleNumber>391234567</exampleNumber>
22408 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
22409 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22410 <exampleNumber>800123456</exampleNumber>
22413 <nationalNumberPattern>900\d{6}</nationalNumberPattern>
22414 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22415 <exampleNumber>900123456</exampleNumber>
22417 <!-- Added based on: http://www.didx.net/did/ShowCountry/Country/AreaDesc/Area/9442 -->
22419 <nationalNumberPattern>89\d{7}</nationalNumberPattern>
22420 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22421 <exampleNumber>891234567</exampleNumber>
22426 <territory id="UG" countryCode="256" internationalPrefix="00[057]"
22427 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
22429 <sourceUrl>http://www.itu.int/oth/T02020000F1/en</sourceUrl>
22430 <sourceUrl>http://www.ucc.co.ug/licensing/ugandaNumberingPlan.pdf</sourceUrl>
22433 <numberFormat pattern="(\d{3})(\d{6})">
22445 <format>$1 $2</format>
22447 <numberFormat pattern="(\d{2})(\d{7})">
22455 <format>$1 $2</format>
22457 <numberFormat pattern="(2024)(\d{5})">
22458 <leadingDigits>2024</leadingDigits>
22459 <format>$1 $2</format>
22461 </availableFormats>
22463 <nationalNumberPattern>\d{9}</nationalNumberPattern>
22464 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
22467 <!-- Ranges with prefixes 20[5-8] are "not yet operational" as of Feb. 2013. -->
22468 <nationalNumberPattern>
22481 </nationalNumberPattern>
22482 <!-- The ITU plan calls for all numbers to be exactly 9 digits. However, it's not clear if
22483 local dialing is still possible. We assume it is for now. -->
22484 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
22485 <exampleNumber>312345678</exampleNumber>
22488 <!-- Added 79[5-9] and 707 from online numbers found with this prefix. -->
22489 <!-- Ranges with prefixes 7[46] are "not yet operational" as of Jun. 2013. -->
22490 <!-- Ranges with prefixes 2030 or 723 are "not yet operational" as of Oct. 2014. -->
22491 <nationalNumberPattern>
22500 </nationalNumberPattern>
22501 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22502 <exampleNumber>712345678</exampleNumber>
22505 <nationalNumberPattern>800[123]\d{5}</nationalNumberPattern>
22506 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22507 <exampleNumber>800123456</exampleNumber>
22510 <nationalNumberPattern>90[123]\d{6}</nationalNumberPattern>
22511 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22512 <exampleNumber>901123456</exampleNumber>
22516 <!-- United States -->
22517 <!-- Note the national prefix of US is the same as its country code, and when formatting phone
22518 numbers in the national format, it is not included. Therefore, we omit it here to make
22519 formatting consistent with the rest of the world. The same applies to all the
22520 countries/regions under NANPA -->
22521 <!-- The national prefix of "1" here is the same as the country code. It is not used by default
22522 when formatting, but is set here so that users who are calling formatByPattern can specify
22523 NationalPrefixFormattingRule if they want to. -->
22524 <territory id="US" countryCode="1" internationalPrefix="011" mainCountryForCode="true"
22525 nationalPrefix="1" nationalPrefixOptionalWhenFormatting="true"
22526 mobileNumberPortableRegion="true">
22528 <sourceUrl>http://www.nanpa.com/reports/reports_npa.html</sourceUrl>
22529 <sourceUrl>http://en.wikipedia.org/wiki/North_American_Numbering_Plan</sourceUrl>
22532 <numberFormat pattern="(\d{3})(\d{4})">
22533 <format>$1-$2</format>
22534 <intlFormat>NA</intlFormat>
22536 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
22537 <format>($1) $2-$3</format>
22538 <!-- A different pattern is used when formatting internationally, as the area code is no
22539 longer optional and should not be in brackets. -->
22540 <intlFormat>$1-$2-$3</intlFormat>
22542 </availableFormats>
22544 <nationalNumberPattern>[2-9]\d{9}</nationalNumberPattern>
22545 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
22548 <nationalNumberPattern>
22636 </nationalNumberPattern>
22637 <exampleNumber>2015555555</exampleNumber>
22640 <nationalNumberPattern>
22728 </nationalNumberPattern>
22729 <exampleNumber>2015555555</exampleNumber>
22732 <nationalNumberPattern>
22741 </nationalNumberPattern>
22742 <possibleNumberPattern>\d{10}</possibleNumberPattern>
22743 <exampleNumber>8002345678</exampleNumber>
22746 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
22747 <possibleNumberPattern>\d{10}</possibleNumberPattern>
22748 <exampleNumber>9002345678</exampleNumber>
22751 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
22752 <nationalNumberPattern>
22760 </nationalNumberPattern>
22761 <possibleNumberPattern>\d{10}</possibleNumberPattern>
22762 <exampleNumber>5002345678</exampleNumber>
22767 <!-- International long-distance providers can be dialled by dialling 01 followed by a carrier
22768 code JK, where J = [3-9] and K is any digit. -->
22769 <territory id="UY" countryCode="598" internationalPrefix="0(?:1[3-9]\d|0)"
22770 preferredInternationalPrefix="00" nationalPrefix="0" preferredExtnPrefix=" int. ">
22772 <sourceUrl>http://www.itu.int/oth/T02020000E0/en</sourceUrl>
22773 <sourceUrl>http://www.ursec.gub.uy</sourceUrl>
22774 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Uruguay</sourceUrl>
22777 <!-- Following paginasamarillas.com.uy formatting. -->
22778 <numberFormat pattern="(\d{4})(\d{4})">
22779 <leadingDigits>[24]</leadingDigits>
22780 <format>$1 $2</format>
22782 <!-- Including the national prefix here since URSEC does when formatting these. -->
22783 <numberFormat pattern="(\d{2})(\d{3})(\d{3})" nationalPrefixFormattingRule="$NP$FG">
22784 <leadingDigits>9[1-9]</leadingDigits>
22785 <format>$1 $2 $3</format>
22787 <numberFormat pattern="(\d{3})(\d{4})" nationalPrefixFormattingRule="$NP$FG">
22788 <leadingDigits>[89]0</leadingDigits>
22789 <format>$1 $2</format>
22791 </availableFormats>
22793 <nationalNumberPattern>[2489]\d{6,7}</nationalNumberPattern>
22794 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
22797 <nationalNumberPattern>
22800 </nationalNumberPattern>
22801 <exampleNumber>21231234</exampleNumber>
22804 <nationalNumberPattern>9[1-9]\d{6}</nationalNumberPattern>
22805 <possibleNumberPattern>\d{8}</possibleNumberPattern>
22806 <exampleNumber>94231234</exampleNumber>
22809 <nationalNumberPattern>80[05]\d{4}</nationalNumberPattern>
22810 <possibleNumberPattern>\d{7}</possibleNumberPattern>
22811 <exampleNumber>8001234</exampleNumber>
22814 <nationalNumberPattern>90[0-8]\d{4}</nationalNumberPattern>
22815 <possibleNumberPattern>\d{7}</possibleNumberPattern>
22816 <exampleNumber>9001234</exampleNumber>
22820 <!-- Uzbekistan -->
22821 <territory id="UZ" countryCode="998" preferredInternationalPrefix="8~10"
22822 internationalPrefix="810" nationalPrefix="8"
22823 nationalPrefixFormattingRule="$NP $FG">
22825 <sourceUrl>http://www.ttts.uz/eng/telephone_codes/codes_uzb_eng</sourceUrl>
22826 <sourceUrl>http://www.itu.int/oth/T02020000E1/en</sourceUrl>
22829 <numberFormat pattern="([679]\d)(\d{3})(\d{2})(\d{2})">
22830 <format>$1 $2 $3 $4</format>
22832 </availableFormats>
22834 <nationalNumberPattern>[679]\d{8}</nationalNumberPattern>
22835 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
22838 <!-- Adding 711 from numbers found online, such as the US embassy, and 6922, which seems to
22839 be used in Namangan. -->
22840 <nationalNumberPattern>
22913 </nationalNumberPattern>
22914 <exampleNumber>662345678</exampleNumber>
22917 <!-- Adding 9[45] as suggested by http://www.ucell.uz/en/for_subscribers/how_to_call.html
22918 Adding other prefixes from http://www.weltvorwahlen.de/99861353.html, and any other
22919 prefixes Tyntec has a carrier mapped to. -->
22920 <nationalNumberPattern>
23160 </nationalNumberPattern>
23161 <exampleNumber>912345678</exampleNumber>
23163 <!-- No tollFree or premiumRate information can be found. -->
23166 <!-- Vatican City -->
23167 <!-- Note that numbers here are also accessible via Italy (+39 and prefix of 06 698) but can
23168 also be dialled with the Vatican City country code. -->
23169 <territory id="VA" countryCode="379" internationalPrefix="00" leadingZeroPossible="true">
23171 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Vatican_City</sourceUrl>
23174 <numberFormat pattern="(06)(\d{4})(\d{4})">
23175 <format>$1 $2 $3</format>
23177 </availableFormats>
23179 <nationalNumberPattern>06\d{8}</nationalNumberPattern>
23180 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23183 <nationalNumberPattern>06698\d{5}</nationalNumberPattern>
23184 <exampleNumber>0669812345</exampleNumber>
23187 <!-- We have no information on mobile numbers from the Vatican. It is probable that they use
23188 Italian mobile contracts. -->
23189 <nationalNumberPattern>NA</nationalNumberPattern>
23190 <possibleNumberPattern>NA</possibleNumberPattern>
23192 <!-- No information exists about other types of numbers. -->
23195 <!-- Saint Vincent and the Grenadines -->
23196 <territory id="VC" countryCode="1" leadingDigits="784" nationalPrefix="1"
23197 internationalPrefix="011">
23199 <sourceUrl>http://www.itu.int/oth/T02020000B3/en</sourceUrl>
23202 <!-- NANPA country - uses US formatting rules -->
23203 <nationalNumberPattern>[5789]\d{9}</nationalNumberPattern>
23204 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
23206 <!-- For 570, 571 and 572 prefixes, we believe the ITU doc incorrectly listed them to be under
23207 area code 758, which should be 784. -->
23209 <nationalNumberPattern>
23230 </nationalNumberPattern>
23231 <exampleNumber>7842661234</exampleNumber>
23234 <nationalNumberPattern>
23247 </nationalNumberPattern>
23248 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23249 <exampleNumber>7844301234</exampleNumber>
23252 <nationalNumberPattern>
23261 </nationalNumberPattern>
23262 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23263 <exampleNumber>8002345678</exampleNumber>
23266 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
23267 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23268 <exampleNumber>9002345678</exampleNumber>
23271 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
23272 <nationalNumberPattern>
23280 </nationalNumberPattern>
23281 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23282 <exampleNumber>5002345678</exampleNumber>
23287 <!-- 1XX specifies a particular carrier to route a call to, but none of these have been
23289 <territory id="VE" countryCode="58" internationalPrefix="00"
23290 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
23291 carrierCodeFormattingRule="$CC $FG">
23293 <sourceUrl>http://www.itu.int/oth/T02020000E3/en</sourceUrl>
23294 <sourceUrl>http://en.wikipedia.org/wiki/+58</sourceUrl>
23297 <numberFormat pattern="(\d{3})(\d{7})">
23298 <format>$1-$2</format>
23300 </availableFormats>
23302 <nationalNumberPattern>[24589]\d{9}</nationalNumberPattern>
23303 <!-- Open numbering plan. -->
23304 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
23307 <!-- Including region-free 500 calls here, since these are treated as local calls. Wikipedia
23308 mentions these as 5XX, but online examples that can be found are seemingly restricted
23310 <nationalNumberPattern>
23321 </nationalNumberPattern>
23322 <exampleNumber>2121234567</exampleNumber>
23325 <nationalNumberPattern>
23330 </nationalNumberPattern>
23331 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23332 <exampleNumber>4121234567</exampleNumber>
23335 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
23336 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23337 <exampleNumber>8001234567</exampleNumber>
23340 <nationalNumberPattern>900\d{7}</nationalNumberPattern>
23341 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23342 <exampleNumber>9001234567</exampleNumber>
23346 <!-- Virgin Islands, British -->
23347 <territory id="VG" countryCode="1" leadingDigits="284" nationalPrefix="1"
23348 internationalPrefix="011">
23350 <sourceUrl>http://www.itu.int/oth/T020200001E/en</sourceUrl>
23353 <!-- NANPA country - uses US formatting rules -->
23354 <nationalNumberPattern>[2589]\d{9}</nationalNumberPattern>
23355 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
23358 <!-- No data on central office codes can be found on the nanpa.com website. The codes 422
23359 and 774 have been added from numbers found in the white pages. -->
23360 <nationalNumberPattern>
23376 </nationalNumberPattern>
23377 <exampleNumber>2842291234</exampleNumber>
23380 <!-- No data on central office codes can be found on the nanpa.com website. The codes
23381 34[0-367], 446 and 54[57] have been added from numbers found in the white pages. -->
23382 <nationalNumberPattern>
23398 </nationalNumberPattern>
23399 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23400 <exampleNumber>2843001234</exampleNumber>
23403 <nationalNumberPattern>
23412 </nationalNumberPattern>
23413 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23414 <exampleNumber>8002345678</exampleNumber>
23417 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
23418 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23419 <exampleNumber>9002345678</exampleNumber>
23422 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
23423 <nationalNumberPattern>
23431 </nationalNumberPattern>
23432 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23433 <exampleNumber>5002345678</exampleNumber>
23437 <!-- Virgin Islands, United States -->
23438 <territory id="VI" countryCode="1" leadingDigits="340" nationalPrefix="1"
23439 internationalPrefix="011">
23441 <sourceUrl>http://www.itu.int/oth/T02020000DF/en</sourceUrl>
23444 <!-- NANPA country - uses US formatting rules -->
23445 <nationalNumberPattern>[3589]\d{9}</nationalNumberPattern>
23446 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
23449 <!-- The ITU document seems a bit out-of-date so extra prefixes based on numbers in the
23450 yellow pages have been added, and the list of exchanges found on
23451 http://www.allareacodes.com/340 -->
23452 <nationalNumberPattern>
23486 </nationalNumberPattern>
23487 <exampleNumber>3406421234</exampleNumber>
23490 <nationalNumberPattern>
23524 </nationalNumberPattern>
23525 <exampleNumber>3406421234</exampleNumber>
23528 <nationalNumberPattern>
23537 </nationalNumberPattern>
23538 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23539 <exampleNumber>8002345678</exampleNumber>
23542 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
23543 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23544 <exampleNumber>9002345678</exampleNumber>
23547 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
23548 <nationalNumberPattern>
23556 </nationalNumberPattern>
23557 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23558 <exampleNumber>5002345678</exampleNumber>
23562 <!-- Viet Nam (Vietnam) -->
23563 <territory id="VN" countryCode="84" internationalPrefix="00"
23564 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
23565 nationalPrefixOptionalWhenFormatting="true">
23567 <sourceUrl>http://www.itu.int/oth/T02020000E4/en</sourceUrl>
23568 <sourceUrl>http://en.wikipedia.org/wiki/%2B84</sourceUrl>
23571 <numberFormat pattern="([17]99)(\d{4})">
23572 <leadingDigits>[17]99</leadingDigits>
23573 <format>$1 $2</format>
23575 <numberFormat pattern="([48])(\d{4})(\d{4})">
23576 <leadingDigits>[48]</leadingDigits>
23577 <format>$1 $2 $3</format>
23579 <numberFormat pattern="([235-7]\d)(\d{4})(\d{3})">
23587 <format>$1 $2 $3</format>
23589 <numberFormat pattern="(80)(\d{5})">
23590 <leadingDigits>80</leadingDigits>
23591 <format>$1 $2</format>
23593 <numberFormat pattern="(69\d)(\d{4,5})">
23594 <leadingDigits>69</leadingDigits>
23595 <format>$1 $2</format>
23597 <numberFormat pattern="([235-7]\d{2})(\d{4})(\d{3})">
23605 <format>$1 $2 $3</format>
23607 <numberFormat pattern="(9\d)(\d{3})(\d{2})(\d{2})">
23608 <leadingDigits>9</leadingDigits>
23609 <format>$1 $2 $3 $4</format>
23611 <numberFormat pattern="(1[2689]\d)(\d{3})(\d{4})">
23619 <format>$1 $2 $3</format>
23621 <numberFormat nationalPrefixFormattingRule="$FG"
23622 pattern="(1[89]00)(\d{4,6})">
23623 <leadingDigits>1[89]0</leadingDigits>
23624 <format>$1 $2</format>
23626 </availableFormats>
23628 <nationalNumberPattern>
23632 </nationalNumberPattern>
23633 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
23635 <noInternationalDialling>
23636 <nationalNumberPattern>
23639 </nationalNumberPattern>
23640 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
23641 <exampleNumber>1992000</exampleNumber>
23642 </noInternationalDialling>
23644 <nationalNumberPattern>
23670 </nationalNumberPattern>
23671 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
23672 <exampleNumber>2101234567</exampleNumber>
23675 <nationalNumberPattern>
23685 </nationalNumberPattern>
23686 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
23687 <exampleNumber>912345678</exampleNumber>
23690 <nationalNumberPattern>1800\d{4,6}</nationalNumberPattern>
23691 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
23692 <exampleNumber>1800123456</exampleNumber>
23695 <nationalNumberPattern>1900\d{4,6}</nationalNumberPattern>
23696 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
23697 <exampleNumber>1900123456</exampleNumber>
23700 <!-- These include non-geographic fixed numbers, such as for government ministries. While
23701 listed as "private networks", they may actually be callable from within Vietnam. (They are
23702 "private" in the sense that ordinary people could not be assigned these numbers.) -->
23703 <nationalNumberPattern>
23707 </nationalNumberPattern>
23708 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
23709 <exampleNumber>1992000</exampleNumber>
23714 <territory id="VU" countryCode="678" internationalPrefix="00">
23716 <sourceUrl>http://www.itu.int/oth/T02020000E2/en</sourceUrl>
23718 <!-- Should be formatted in one block, apart from the mobile numbers. -->
23720 <numberFormat pattern="(\d{3})(\d{4})">
23721 <leadingDigits>[579]</leadingDigits>
23722 <format>$1 $2</format>
23724 </availableFormats>
23726 <nationalNumberPattern>[2-57-9]\d{4,6}</nationalNumberPattern>
23727 <possibleNumberPattern>\d{5,7}</possibleNumberPattern>
23730 <nationalNumberPattern>
23740 </nationalNumberPattern>
23741 <possibleNumberPattern>\d{5}</possibleNumberPattern>
23742 <exampleNumber>22123</exampleNumber>
23745 <nationalNumberPattern>
23753 </nationalNumberPattern>
23754 <possibleNumberPattern>\d{7}</possibleNumberPattern>
23755 <exampleNumber>5912345</exampleNumber>
23757 <!-- Using this for non-geographical numbers, since they have not been clearly defined, and
23758 for government fixed-line numbers. -->
23760 <nationalNumberPattern>
23763 </nationalNumberPattern>
23764 <possibleNumberPattern>\d{5,7}</possibleNumberPattern>
23765 <exampleNumber>30123</exampleNumber>
23769 <!-- Wallis and Futuna (Territoire français d'outre-mer) -->
23770 <territory id="WF" countryCode="681" internationalPrefix="00">
23772 <sourceUrl>http://www.itu.int/oth/T02020000E6/en</sourceUrl>
23775 <numberFormat pattern="(\d{2})(\d{2})(\d{2})">
23776 <format>$1 $2 $3</format>
23778 </availableFormats>
23780 <nationalNumberPattern>[5-7]\d{5}</nationalNumberPattern>
23781 <possibleNumberPattern>\d{6}</possibleNumberPattern>
23784 <!-- Web searching only finds examples with the 72 prefix but the ITU document states that
23785 50 and 68 are possible, so they are included here. -->
23786 <nationalNumberPattern>
23792 </nationalNumberPattern>
23793 <exampleNumber>501234</exampleNumber>
23796 <nationalNumberPattern>
23802 </nationalNumberPattern>
23803 <exampleNumber>501234</exampleNumber>
23808 <territory id="WS" countryCode="685" internationalPrefix="0">
23810 <sourceUrl>http://www.itu.int/oth/T02020000B4/en</sourceUrl>
23813 <!-- Should be formatted in one block, apart from the specific series below. -->
23814 <numberFormat pattern="(8\d{2})(\d{3,4})">
23815 <leadingDigits>8</leadingDigits>
23816 <format>$1 $2</format>
23818 <numberFormat pattern="(7\d)(\d{5})">
23819 <leadingDigits>7</leadingDigits>
23820 <format>$1 $2</format>
23822 </availableFormats>
23824 <nationalNumberPattern>[2-8]\d{4,6}</nationalNumberPattern>
23825 <possibleNumberPattern>\d{5,7}</possibleNumberPattern>
23828 <nationalNumberPattern>
23834 </nationalNumberPattern>
23835 <possibleNumberPattern>\d{5,7}</possibleNumberPattern>
23836 <exampleNumber>22123</exampleNumber>
23839 <nationalNumberPattern>
23844 </nationalNumberPattern>
23845 <possibleNumberPattern>\d{6,7}</possibleNumberPattern>
23846 <exampleNumber>601234</exampleNumber>
23849 <!-- The 800 number series is new, and is used by companies such as the ANZ bank in Samoa to
23850 provide 24 hour eMerchant support. It is marked as "Customized Services" in the plan
23851 for now, so may be also used for other purposes than toll free, but until we have
23852 further evidence of these we will keep it as toll free. -->
23853 <nationalNumberPattern>800\d{3}</nationalNumberPattern>
23854 <possibleNumberPattern>\d{6}</possibleNumberPattern>
23855 <exampleNumber>800123</exampleNumber>
23857 <!-- Current research suggests other types of numbers are not used in Samoa. -->
23861 <territory id="YE" countryCode="967" internationalPrefix="00"
23862 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
23864 <sourceUrl>http://www.itu.int/oth/T02020000E7/en</sourceUrl>
23867 <numberFormat pattern="([1-7])(\d{3})(\d{3,4})">
23872 <format>$1 $2 $3</format>
23874 <numberFormat pattern="(7\d{2})(\d{3})(\d{3})">
23875 <leadingDigits>7[0137]</leadingDigits>
23876 <format>$1 $2 $3</format>
23878 </availableFormats>
23880 <nationalNumberPattern>[1-7]\d{6,8}</nationalNumberPattern>
23881 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
23884 <nationalNumberPattern>
23897 </nationalNumberPattern>
23898 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
23899 <exampleNumber>1234567</exampleNumber>
23902 <!-- Adding 70 from numbers found online. -->
23903 <nationalNumberPattern>7[0137]\d{7}</nationalNumberPattern>
23904 <possibleNumberPattern>\d{9}</possibleNumberPattern>
23905 <exampleNumber>712345678</exampleNumber>
23907 <!-- No tollFree or premiumRate information can be found. -->
23911 <territory id="YT" countryCode="262" internationalPrefix="00" nationalPrefix="0"
23912 nationalPrefixFormattingRule="$NP$FG" leadingDigits="269|63">
23914 <!-- Some information at the following source, but most from collection of internet data.
23916 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_France</sourceUrl>
23917 <!-- Verifies the fixed-line prefixes, but the mobile prefixes listed here seem out of date.
23919 <sourceUrl>http://www.comores-online.com/mwezinet/internet/262</sourceUrl>
23921 <!-- Formatting as per La Réunion. -->
23923 <nationalNumberPattern>[268]\d{8}</nationalNumberPattern>
23924 <possibleNumberPattern>\d{9}</possibleNumberPattern>
23927 <nationalNumberPattern>2696[0-4]\d{4}</nationalNumberPattern>
23928 <exampleNumber>269601234</exampleNumber>
23931 <nationalNumberPattern>639\d{6}</nationalNumberPattern>
23932 <exampleNumber>639123456</exampleNumber>
23934 <!-- Same as in France. -->
23936 <nationalNumberPattern>80\d{7}</nationalNumberPattern>
23937 <exampleNumber>801234567</exampleNumber>
23941 <!-- South Africa -->
23942 <territory id="ZA" countryCode="27" internationalPrefix="00"
23943 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
23944 mobileNumberPortableRegion="true">
23946 <sourceUrl>http://www.itu.int/oth/T02020000C1/en</sourceUrl>
23947 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_South_Africa</sourceUrl>
23950 <numberFormat pattern="(860)(\d{3})(\d{3})">
23951 <leadingDigits>860</leadingDigits>
23952 <format>$1 $2 $3</format>
23954 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
23962 <format>$1 $2 $3</format>
23964 <numberFormat pattern="(\d{2})(\d{3,4})">
23965 <leadingDigits>8[1-4]</leadingDigits>
23966 <format>$1 $2</format>
23968 <numberFormat pattern="(\d{2})(\d{3})(\d{2,3})">
23969 <leadingDigits>8[1-4]</leadingDigits>
23970 <format>$1 $2 $3</format>
23972 </availableFormats>
23974 <nationalNumberPattern>
23980 </nationalNumberPattern>
23981 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
23984 <!-- Wikipedia is missing 020, and the 024 code it lists for Somerset West stopped being
23986 <nationalNumberPattern>
23994 </nationalNumberPattern>
23995 <possibleNumberPattern>\d{9}</possibleNumberPattern>
23996 <exampleNumber>101234567</exampleNumber>
23999 <!-- Wikipedia says 085 is for cellular: ITU says it is protected. Also note that we are
24000 still supporting numbers beginning with 8 that are fewer than 9 digits since they are
24001 in prominent places online, even though the ITU document says numbers must be 10 digits
24002 long (including the national prefix). -->
24003 <nationalNumberPattern>
24009 </nationalNumberPattern>
24010 <exampleNumber>711234567</exampleNumber>
24013 <nationalNumberPattern>80\d{7}</nationalNumberPattern>
24014 <possibleNumberPattern>\d{9}</possibleNumberPattern>
24015 <exampleNumber>801234567</exampleNumber>
24018 <nationalNumberPattern>
24021 </nationalNumberPattern>
24022 <possibleNumberPattern>\d{9}</possibleNumberPattern>
24023 <exampleNumber>862345678</exampleNumber>
24026 <nationalNumberPattern>860\d{6}</nationalNumberPattern>
24027 <possibleNumberPattern>\d{9}</possibleNumberPattern>
24028 <exampleNumber>860123456</exampleNumber>
24031 <nationalNumberPattern>87\d{7}</nationalNumberPattern>
24032 <possibleNumberPattern>\d{9}</possibleNumberPattern>
24033 <exampleNumber>871234567</exampleNumber>
24036 <!-- MaxiCall numbers cost as much as national long distance, so they are classified as UAN
24038 <nationalNumberPattern>861\d{6}</nationalNumberPattern>
24039 <possibleNumberPattern>\d{9}</possibleNumberPattern>
24040 <exampleNumber>861123456</exampleNumber>
24045 <territory id="ZM" countryCode="260" internationalPrefix="00"
24046 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
24048 <sourceUrl>http://www.itu.int/oth/T02020000E8/en</sourceUrl>
24051 <numberFormat pattern="([29]\d)(\d{7})">
24052 <leadingDigits>[29]</leadingDigits>
24053 <format>$1 $2</format>
24055 <numberFormat pattern="(800)(\d{3})(\d{3})">
24056 <leadingDigits>8</leadingDigits>
24057 <format>$1 $2 $3</format>
24059 </availableFormats>
24061 <nationalNumberPattern>[289]\d{8}</nationalNumberPattern>
24062 <possibleNumberPattern>\d{9}</possibleNumberPattern>
24065 <nationalNumberPattern>21[1-8]\d{6}</nationalNumberPattern>
24066 <exampleNumber>211234567</exampleNumber>
24069 <!-- Adding extra prefixes 50 and 6[1-57-9] since SMS messages have been successfully
24070 delivered to these numbers, and numbers like this can be found on the Internet. Adding
24071 prefix 960 based on information received from MTN Zambia. The 97 range has been
24072 expanded based on their IR21 document, which states the range 97[1-9] is used. -->
24073 <nationalNumberPattern>
24079 </nationalNumberPattern>
24080 <exampleNumber>955123456</exampleNumber>
24083 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
24084 <exampleNumber>800123456</exampleNumber>
24089 <territory id="ZW" countryCode="263" internationalPrefix="00"
24090 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
24092 <sourceUrl>http://www.itu.int/oth/T02020000E9/en</sourceUrl>
24095 <!-- One-digit area codes -->
24096 <numberFormat pattern="([49])(\d{3})(\d{2,5})">
24101 <format>$1 $2 $3</format>
24103 <!-- Mobile numbers -->
24104 <numberFormat pattern="([179]\d)(\d{3})(\d{3,4})">
24109 <format>$1 $2 $3</format>
24111 <numberFormat pattern="(86\d{2})(\d{3})(\d{3})">
24112 <leadingDigits>86[24]</leadingDigits>
24113 <format>$1 $2 $3</format>
24115 <!-- Three-digit area codes (listed before the two-digit ones since some overlap) -->
24116 <numberFormat pattern="([2356]\d{2})(\d{3,5})">
24136 <format>$1 $2</format>
24138 <numberFormat pattern="(\d{3})(\d{3})(\d{3,4})">
24159 <format>$1 $2 $3</format>
24161 <!-- Two-digit area codes -->
24162 <numberFormat pattern="([1-356]\d)(\d{3,5})">
24187 <format>$1 $2</format>
24189 <numberFormat pattern="([1-356]\d)(\d{3})(\d{3})">
24214 <format>$1 $2 $3</format>
24216 <!-- Four-digit area codes -->
24217 <numberFormat pattern="([25]\d{3})(\d{3,5})">
24228 <format>$1 $2</format>
24230 <numberFormat pattern="([25]\d{3})(\d{3})(\d{3})">
24241 <format>$1 $2 $3</format>
24243 <!-- VOIP numbers -->
24244 <numberFormat pattern="(8\d{3})(\d{6})">
24245 <leadingDigits>86</leadingDigits>
24246 <format>$1 $2</format>
24248 </availableFormats>
24250 <!-- A complicated nationalNumberPattern is necessary here, since the numbers are extremely
24251 variable in length and the possible prefixes clash with the country code. -->
24252 <nationalNumberPattern>
24259 </nationalNumberPattern>
24260 <possibleNumberPattern>\d{3,10}</possibleNumberPattern>
24263 <!-- Numbering is grouped by subscriber-number length. -->
24264 <nationalNumberPattern>
24324 </nationalNumberPattern>
24325 <exampleNumber>1312345</exampleNumber>
24327 <!-- The ITU document list 8622 and 8644 as VoIP, but an online search reveals that they are
24328 also being used by the carriers as mobile prefixes. -->
24330 <nationalNumberPattern>
24336 </nationalNumberPattern>
24337 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
24338 <exampleNumber>711234567</exampleNumber>
24341 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
24342 <possibleNumberPattern>\d{10}</possibleNumberPattern>
24343 <exampleNumber>8001234567</exampleNumber>
24345 <!-- No premiumRate information can be found. -->
24347 <nationalNumberPattern>
24356 </nationalNumberPattern>
24357 <possibleNumberPattern>\d{10}</possibleNumberPattern>
24358 <exampleNumber>8686123456</exampleNumber>
24362 <!-- Universal International Toll Free Number -->
24363 <territory id="001" countryCode="800" leadingZeroPossible="true">
24365 <sourceUrl>http://www.itu.int/en/ITU-T/inr/unum/Pages/uifn.aspx</sourceUrl>
24368 <numberFormat pattern="(\d{4})(\d{4})">
24369 <format>$1 $2</format>
24371 </availableFormats>
24373 <nationalNumberPattern>\d{8}</nationalNumberPattern>
24374 <possibleNumberPattern>\d{8}</possibleNumberPattern>
24375 <exampleNumber>12345678</exampleNumber>
24378 <nationalNumberPattern>NA</nationalNumberPattern>
24379 <possibleNumberPattern>NA</possibleNumberPattern>
24382 <nationalNumberPattern>NA</nationalNumberPattern>
24383 <possibleNumberPattern>NA</possibleNumberPattern>
24386 <nationalNumberPattern>\d{8}</nationalNumberPattern>
24390 <!-- Universal International Shared Cost Number -->
24391 <territory id="001" countryCode="808" leadingZeroPossible="true">
24393 <sourceUrl>http://www.itu.int/rec/T-REC-E.169-200205-I/en</sourceUrl>
24396 <numberFormat pattern="(\d{4})(\d{4})">
24397 <format>$1 $2</format>
24399 </availableFormats>
24401 <nationalNumberPattern>\d{8}</nationalNumberPattern>
24402 <possibleNumberPattern>\d{8}</possibleNumberPattern>
24403 <exampleNumber>12345678</exampleNumber>
24406 <nationalNumberPattern>NA</nationalNumberPattern>
24407 <possibleNumberPattern>NA</possibleNumberPattern>
24410 <nationalNumberPattern>NA</nationalNumberPattern>
24411 <possibleNumberPattern>NA</possibleNumberPattern>
24414 <nationalNumberPattern>\d{8}</nationalNumberPattern>
24418 <!-- Inmarsat Global Limited -->
24419 <territory id="001" countryCode="870">
24421 <sourceUrl>http://www.itu.int/oth/T0202000065/en</sourceUrl>
24422 <sourceUrl>http://www.inmarsat.com</sourceUrl>
24425 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
24426 <format>$1 $2 $3</format>
24428 </availableFormats>
24430 <nationalNumberPattern>[35-7]\d{8}</nationalNumberPattern>
24431 <possibleNumberPattern>\d{9}</possibleNumberPattern>
24432 <exampleNumber>301234567</exampleNumber>
24435 <nationalNumberPattern>NA</nationalNumberPattern>
24436 <possibleNumberPattern>NA</possibleNumberPattern>
24439 <!-- Assigning these to mobile since Inmarsat considers them to be mobile numbers. -->
24440 <nationalNumberPattern>
24445 </nationalNumberPattern>
24450 <!-- Number length has been derived from examples found online. -->
24451 <territory id="001" countryCode="878">
24453 <sourceUrl>http://www.itu.int/oth/T02020000E5/en</sourceUrl>
24456 <!-- Formatting chosen based on online examples. -->
24457 <numberFormat pattern="(\d{2})(\d{5})(\d{5})">
24458 <format>$1 $2 $3</format>
24460 </availableFormats>
24462 <nationalNumberPattern>1\d{11}</nationalNumberPattern>
24463 <possibleNumberPattern>\d{12}</possibleNumberPattern>
24464 <exampleNumber>101234567890</exampleNumber>
24467 <nationalNumberPattern>NA</nationalNumberPattern>
24468 <possibleNumberPattern>NA</possibleNumberPattern>
24471 <nationalNumberPattern>NA</nationalNumberPattern>
24472 <possibleNumberPattern>NA</possibleNumberPattern>
24475 <nationalNumberPattern>10\d{10}</nationalNumberPattern>
24480 <!-- Globalstar also reports using this prefix, but we cannot find any online numbers with the
24481 Globalstar prefixes, so are not sure how exactly these work, and what length the numbers
24482 are. For this reason, we only support Iridium numbers at the moment. -->
24483 <territory id="001" countryCode="881">
24485 <sourceUrl>http://www.iridium.com</sourceUrl>
24486 <sourceUrl>http://www.itu.int/oth/T0202000069/en</sourceUrl>
24489 <!-- Formatting chosen based on ITU document and Iridium website FAQ. -->
24490 <numberFormat pattern="(\d)(\d{3})(\d{5})">
24491 <leadingDigits>[67]</leadingDigits>
24492 <format>$1 $2 $3</format>
24494 </availableFormats>
24496 <nationalNumberPattern>[67]\d{8}</nationalNumberPattern>
24497 <possibleNumberPattern>\d{9}</possibleNumberPattern>
24498 <exampleNumber>612345678</exampleNumber>
24501 <nationalNumberPattern>NA</nationalNumberPattern>
24502 <possibleNumberPattern>NA</possibleNumberPattern>
24505 <nationalNumberPattern>[67]\d{8}</nationalNumberPattern>
24509 <territory id="001" countryCode="882">
24511 <!-- BebbiCell (Formerly Global Networks Switzerland AG) +88234 -->
24512 <sourceUrl>http://www.itu.int/oth/T0202000054/en</sourceUrl>
24513 <sourceUrl>http://www.gsm.aq/numberplan.php</sourceUrl>
24514 <sourceUrl>http://www.global.aq</sourceUrl>
24515 <!-- Maritime Communications Partner (MCP) +88232 -->
24516 <sourceUrl>http://www.itu.int/oth/T02020000F4/en</sourceUrl>
24517 <!-- Oration Technologies +88237 -->
24518 <sourceUrl>http://www.itu.int/oth/T02020000A0/en</sourceUrl>
24519 <!-- Telespazio S.p.A. +88213 -->
24520 <sourceUrl>http://www.itu.int/oth/T02020000CC/en</sourceUrl>
24521 <!-- Thuraya +88216 -->
24522 <sourceUrl>http://www.itu.int/oth/T02020000CF/en</sourceUrl>
24525 <numberFormat pattern="(\d{2})(\d{4})(\d{3})">
24526 <leadingDigits>3[23]</leadingDigits>
24527 <format>$1 $2 $3</format>
24529 <numberFormat pattern="(\d{2})(\d{5})">
24534 <format>$1 $2</format>
24536 <numberFormat pattern="(\d{2})(\d{4})(\d{4})">
24537 <leadingDigits>34[57]</leadingDigits>
24538 <format>$1 $2 $3</format>
24540 <numberFormat pattern="(\d{3})(\d{4})(\d{4})">
24541 <leadingDigits>348</leadingDigits>
24542 <format>$1 $2 $3</format>
24544 <numberFormat pattern="(\d{2})(\d{2})(\d{4})">
24545 <leadingDigits>1</leadingDigits>
24546 <format>$1 $2 $3</format>
24548 <numberFormat pattern="(\d{2})(\d{3,4})(\d{4})">
24549 <leadingDigits>16</leadingDigits>
24550 <format>$1 $2 $3</format>
24552 <numberFormat pattern="(\d{2})(\d{4,5})(\d{5})">
24553 <leadingDigits>16</leadingDigits>
24554 <format>$1 $2 $3</format>
24556 </availableFormats>
24558 <nationalNumberPattern>[13]\d{6,11}</nationalNumberPattern>
24559 <possibleNumberPattern>\d{7,12}</possibleNumberPattern>
24560 <exampleNumber>3451234567</exampleNumber>
24563 <nationalNumberPattern>NA</nationalNumberPattern>
24564 <possibleNumberPattern>NA</possibleNumberPattern>
24567 <!-- Bebbicell Mobile numbers, MCP & Oration. We are guessing the number length for
24568 Oration based on numbers found online. -->
24569 <nationalNumberPattern>
24578 </nationalNumberPattern>
24579 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
24582 <!-- Telespazio S.p.A., Thuraya and Bebbicell VOIP numbers. -->
24583 <nationalNumberPattern>
24598 </nationalNumberPattern>
24599 <possibleNumberPattern>\d{7,12}</possibleNumberPattern>
24602 <nationalNumberPattern>348[57]\d{7}</nationalNumberPattern>
24603 <possibleNumberPattern>\d{11}</possibleNumberPattern>
24607 <territory id="001" countryCode="883">
24609 <!-- bandwidth.com -->
24610 <sourceUrl>http://www.itu.int/oth/T02020000FB/en</sourceUrl>
24612 <sourceUrl>http://www.itu.int/oth/T02020000FC/en</sourceUrl>
24614 <sourceUrl>http://www.itu.int/oth/T02020000F3/en</sourceUrl>
24617 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
24618 <leadingDigits>510</leadingDigits>
24619 <format>$1 $2 $3</format>
24621 <numberFormat pattern="(\d{3})(\d{3})(\d{3})(\d{3})">
24622 <leadingDigits>510</leadingDigits>
24623 <format>$1 $2 $3 $4</format>
24625 <!-- When only 8 digits follow the "area code" formatting as XXXX XXXX
24626 seems preferred (see Bandwidth.com and SipMe). -->
24627 <numberFormat pattern="(\d{4})(\d{4})(\d{4})">
24628 <leadingDigits>51[13]</leadingDigits>
24629 <format>$1 $2 $3</format>
24631 </availableFormats>
24633 <!-- Wikipedia also listed a few other +883 ranges, but no information on their lengths and
24634 costs can be found online, so we don't include them here for now. -->
24635 <nationalNumberPattern>51\d{7}(?:\d{3})?</nationalNumberPattern>
24636 <possibleNumberPattern>\d{9}(?:\d{3})?</possibleNumberPattern>
24637 <exampleNumber>510012345</exampleNumber>
24640 <nationalNumberPattern>NA</nationalNumberPattern>
24641 <possibleNumberPattern>NA</possibleNumberPattern>
24644 <nationalNumberPattern>NA</nationalNumberPattern>
24645 <possibleNumberPattern>NA</possibleNumberPattern>
24648 <nationalNumberPattern>
24653 </nationalNumberPattern>
24657 <!-- United Nations- OCHA -->
24658 <!-- Numbers here are classified as UAN, as they are non-geographical and universally
24659 accessible. In addition, the end-user tariff to reach these numbers is lower or similar to
24660 the tariff of a national call. -->
24661 <territory id="001" countryCode="888" leadingZeroPossible="true">
24663 <sourceUrl>http://www.itu.int/oth/T02020000FA/en</sourceUrl>
24666 <numberFormat pattern="(\d{3})(\d{3})(\d{5})">
24667 <format>$1 $2 $3</format>
24669 </availableFormats>
24671 <nationalNumberPattern>\d{11}</nationalNumberPattern>
24672 <possibleNumberPattern>\d{11}</possibleNumberPattern>
24673 <exampleNumber>12345678901</exampleNumber>
24676 <nationalNumberPattern>NA</nationalNumberPattern>
24677 <possibleNumberPattern>NA</possibleNumberPattern>
24680 <nationalNumberPattern>NA</nationalNumberPattern>
24681 <possibleNumberPattern>NA</possibleNumberPattern>
24684 <nationalNumberPattern>\d{11}</nationalNumberPattern>
24688 <!-- Universal International Premium Rate Number -->
24689 <territory id="001" countryCode="979" leadingZeroPossible="true">
24691 <sourceUrl>http://www.itu.int/rec/T-REC-E.169-200205-I/en</sourceUrl>
24694 <numberFormat pattern="(\d)(\d{4})(\d{4})">
24695 <format>$1 $2 $3</format>
24697 </availableFormats>
24699 <nationalNumberPattern>\d{9}</nationalNumberPattern>
24700 <possibleNumberPattern>\d{9}</possibleNumberPattern>
24701 <exampleNumber>123456789</exampleNumber>
24704 <nationalNumberPattern>NA</nationalNumberPattern>
24705 <possibleNumberPattern>NA</possibleNumberPattern>
24708 <nationalNumberPattern>NA</nationalNumberPattern>
24709 <possibleNumberPattern>NA</possibleNumberPattern>
24712 <nationalNumberPattern>\d{9}</nationalNumberPattern>
24716 </phoneNumberMetadata>