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="
787 nationalPrefixTransformRule="9$1" nationalPrefixFormattingRule="$NP$FG"
788 mobileNumberPortableRegion="true">
790 <sourceUrl>http://www.itu.int/oth/T0202000009/en</sourceUrl>
791 <!-- On the following link, click on Indicativos Interurbanos to access detailed
793 <sourceUrl>http://www.cnc.gov.ar/infotecnica/numeracion/Index.asp</sourceUrl>
794 <!-- Download XLS spreadsheet from "Númeración Geográfica" link on following page: -->
795 <sourceUrl>http://www.cnc.gob.ar/asignaciones-a-la-fecha_p445</sourceUrl>
796 <sourceUrl>http://en.wikipedia.org/wiki/+54</sourceUrl>
799 <numberFormat pattern="([68]\d{2})(\d{3})(\d{4})">
800 <leadingDigits>[68]</leadingDigits>
801 <format>$1-$2-$3</format>
803 <!-- Format local numbers in two groups. The leading digits are 2-9 since the ITU document
804 says that the digit zero and one will not be present at the start of the subscriber
805 number (which starts with an "Exchange characteristic"). -->
806 <numberFormat pattern="(\d{2})(\d{4})" nationalPrefixFormattingRule="$FG">
807 <leadingDigits>[2-9]</leadingDigits>
808 <format>$1-$2</format>
809 <intlFormat>NA</intlFormat>
811 <numberFormat pattern="(\d{3})(\d{4})" nationalPrefixFormattingRule="$FG">
812 <leadingDigits>[2-9]</leadingDigits>
813 <format>$1-$2</format>
814 <intlFormat>NA</intlFormat>
816 <numberFormat pattern="(\d{4})(\d{4})" nationalPrefixFormattingRule="$FG">
817 <leadingDigits>[2-9]</leadingDigits>
818 <format>$1-$2</format>
819 <intlFormat>NA</intlFormat>
821 <numberFormat pattern="(9)(11)(\d{4})(\d{4})">
822 <leadingDigits>911</leadingDigits>
823 <format>$2 15-$3-$4</format>
824 <intlFormat>$1 $2 $3-$4</intlFormat>
826 <numberFormat pattern="(9)(\d{3})(\d{3})(\d{4})">
827 <!-- The regular expressions below were generated semi-automatically from data extracted
828 from the XLS spreadsheet downloaded from the "Númeración Geográfica" link cited
829 above. Each pattern captures all 3-3-4 prefixes for its length, but may also capture
832 In cases where a range contains both 3-3-4 and 4-2-4 prefixes, the most commonly used
833 one should be considered the default.
834 * If there are more distinct 4-2-4 prefixes, then the regular expression should
835 INCLUDE only the explicitly mentioned 3-3-4 prefixes.
836 * If there are more distinct 3-3-4 prefixes, then the regular expression should
837 EXCLUDE only the explicitly mentioned 4-2-4 prefixes.
838 This should help maximize the chances of new ranges automatically being assigned to
841 In the final (most specific) regular expression, the few remaining ambiguous cases
842 are decided by comparing usage counts. Any manual edits to these expressions not
843 reflected in the XLS spreadsheet must be clearly called out below:
845 Added Manually as 3-3-4 format:
846 * 2981 (General Roca, RÃo Negro) : Numbers found online suggest 3-3-4
849 https://github.com/googlei18n/libphonenumber/issues/611
850 https://github.com/googlei18n/libphonenumber/issues/559
852 <!-- Do NOT copy this into the section below. Removing the leading '9' will make it match
853 only 2 digits and the first <leadingDigits> section must always match 3 digits. -->
860 <!-- If modified, copy this expression into the section below, minus the leading '9' -->
881 <!-- Note that some patterns appear as both 3 and 4 digit area codes. In these cases
882 (to avoid going to 6 digits of discrimination) we simply pick the one with the
883 most uses. Patterns excluded from this expression will be treated as 4-2-4:
884 - XXXX (usage count as 3-digit code:usage count as 4-digit code)
885 - 2646 (7:15) - excluded
886 - 3435 (39:63) - excluded
887 - 3436 (16:54) - excluded
889 - 3455 (13:94) - excluded
890 - 3456 (3:93) - excluded
892 - 3585 (21:42) - excluded
895 - 3856 (19:44) - excluded
896 - 3876 (56:99) - excluded
898 - 3886 (3:137) - excluded
900 <!-- If modified, copy this expression into the section below, minus the leading '9' -->
946 <format>$2 15-$3-$4</format>
947 <intlFormat>$1 $2 $3-$4</intlFormat>
949 <!-- Both 4-3-3 and 4-2-4 have been seen online; we prefer the latter since it matches the
950 Argentinian ITU doc and wikipedia. -->
951 <numberFormat pattern="(9)(\d{4})(\d{2})(\d{4})">
952 <leadingDigits>9[23]</leadingDigits>
953 <format>$2 15-$3-$4</format>
954 <intlFormat>$1 $2 $3-$4</intlFormat>
956 <numberFormat pattern="(11)(\d{4})(\d{4})" nationalPrefixOptionalWhenFormatting="true">
957 <leadingDigits>1</leadingDigits>
958 <format>$1 $2-$3</format>
960 <!-- These patterns are a copy of the mobile patterns with the leading 9 removed. -->
961 <numberFormat pattern="(\d{3})(\d{3})(\d{4})" nationalPrefixOptionalWhenFormatting="true">
962 <!-- Never modify this manually, always copy from above and remove leading '9' -->
981 <!-- Never modify this manually, always copy from above and remove leading '9' -->
1025 <format>$1 $2-$3</format>
1027 <numberFormat pattern="(\d{4})(\d{2})(\d{4})" nationalPrefixOptionalWhenFormatting="true">
1028 <leadingDigits>[23]</leadingDigits>
1029 <format>$1 $2-$3</format>
1031 <!-- Format short numbers as a block. -->
1032 <numberFormat pattern="(\d{3})" nationalPrefixFormattingRule="$FG">
1038 <intlFormat>NA</intlFormat>
1042 <!-- We restrict the second digit after 1 here so we can recognise and strip the 15 mobile
1043 carrier prefix when we see it. -->
1044 <nationalNumberPattern>
1048 </nationalNumberPattern>
1049 <possibleNumberPattern>\d{6,11}</possibleNumberPattern>
1051 <noInternationalDialling>
1052 <nationalNumberPattern>810\d{7}</nationalNumberPattern>
1053 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1054 <exampleNumber>8101234567</exampleNumber>
1055 </noInternationalDialling>
1057 <!-- Also covering fixed satellite service numbers (670). -->
1058 <nationalNumberPattern>
1138 </nationalNumberPattern>
1139 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
1140 <exampleNumber>1123456789</exampleNumber>
1143 <!-- Also covers mobile satellite services (675 numbers). -->
1144 <!-- 4-digit area codes are not covered here in detail - we only check the digit after the
1145 area code is in the range 2-9. The four-digit area-code checking is done in detail if
1146 we attempt to strip the caller-pays token (15) from the number. -->
1147 <nationalNumberPattern>
1171 </nationalNumberPattern>
1172 <possibleNumberPattern>\d{6,11}</possibleNumberPattern>
1173 <exampleNumber>91123456789</exampleNumber>
1176 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
1177 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1178 <exampleNumber>8001234567</exampleNumber>
1181 <nationalNumberPattern>60[04579]\d{7}</nationalNumberPattern>
1182 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1183 <exampleNumber>6001234567</exampleNumber>
1186 <nationalNumberPattern>810\d{7}</nationalNumberPattern>
1187 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1188 <exampleNumber>8101234567</exampleNumber>
1192 <!-- American Samoa -->
1193 <territory id="AS" countryCode="1" leadingDigits="684" nationalPrefix="1"
1194 internationalPrefix="011">
1196 <sourceUrl>http://www.itu.int/oth/T0202000004/en</sourceUrl>
1199 <!-- NANPA country - uses US formatting rules -->
1200 <nationalNumberPattern>[5689]\d{9}</nationalNumberPattern>
1201 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
1204 <nationalNumberPattern>
1214 </nationalNumberPattern>
1215 <exampleNumber>6846221234</exampleNumber>
1218 <!-- Added 25[246], operated from Blue Sky. Added 731, 770, operated by ASTCA. -->
1219 <nationalNumberPattern>
1227 </nationalNumberPattern>
1228 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1229 <exampleNumber>6847331234</exampleNumber>
1232 <nationalNumberPattern>
1241 </nationalNumberPattern>
1242 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1243 <exampleNumber>8002123456</exampleNumber>
1246 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
1247 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1248 <exampleNumber>9002123456</exampleNumber>
1251 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
1252 <nationalNumberPattern>
1260 </nationalNumberPattern>
1261 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1262 <exampleNumber>5002345678</exampleNumber>
1267 <territory id="AT" countryCode="43" internationalPrefix="00"
1268 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
1269 mobileNumberPortableRegion="true">
1271 <sourceUrl>http://www.rtr.at/en/tk/E129</sourceUrl>
1274 <numberFormat pattern="(1)(\d{3,12})">
1275 <leadingDigits>1</leadingDigits>
1276 <format>$1 $2</format>
1278 <!-- The following three patterns are the most common for prefixes 050, 057 and 059, as
1279 found on Austrian web pages. -->
1280 <numberFormat pattern="(5\d)(\d{3,5})">
1281 <leadingDigits>5[079]</leadingDigits>
1282 <format>$1 $2</format>
1284 <numberFormat pattern="(5\d)(\d{3})(\d{3,4})">
1285 <leadingDigits>5[079]</leadingDigits>
1286 <format>$1 $2 $3</format>
1288 <numberFormat pattern="(5\d)(\d{4})(\d{4,7})">
1289 <leadingDigits>5[079]</leadingDigits>
1290 <format>$1 $2 $3</format>
1292 <numberFormat pattern="(\d{3})(\d{3,10})">
1309 <format>$1 $2</format>
1311 <numberFormat pattern="(\d{4})(\d{3,9})">
1332 <format>$1 $2</format>
1336 <nationalNumberPattern>[1-9]\d{3,12}</nationalNumberPattern>
1337 <possibleNumberPattern>\d{3,13}</possibleNumberPattern>
1340 <!-- Note that the full area code is not validated - just the first 3 digits. This also
1341 means that even though for most Austrian numbers the minimum length is 7, we allow 6
1342 since we don't differentiate below between 3 and 4 digit area codes for reasons of
1344 <nationalNumberPattern>
1396 </nationalNumberPattern>
1397 <exampleNumber>1234567890</exampleNumber>
1400 <nationalNumberPattern>
1407 </nationalNumberPattern>
1408 <possibleNumberPattern>\d{7,13}</possibleNumberPattern>
1409 <exampleNumber>644123456</exampleNumber>
1412 <nationalNumberPattern>80[02]\d{6,10}</nationalNumberPattern>
1413 <possibleNumberPattern>\d{9,13}</possibleNumberPattern>
1414 <exampleNumber>800123456</exampleNumber>
1417 <nationalNumberPattern>
1425 </nationalNumberPattern>
1426 <possibleNumberPattern>\d{9,13}</possibleNumberPattern>
1427 <exampleNumber>900123456</exampleNumber>
1430 <nationalNumberPattern>
1435 </nationalNumberPattern>
1436 <possibleNumberPattern>\d{9,13}</possibleNumberPattern>
1437 <exampleNumber>810123456</exampleNumber>
1440 <nationalNumberPattern>780\d{6,10}</nationalNumberPattern>
1441 <possibleNumberPattern>\d{9,13}</possibleNumberPattern>
1442 <exampleNumber>780123456</exampleNumber>
1445 <nationalNumberPattern>
1454 </nationalNumberPattern>
1455 <possibleNumberPattern>\d{5,13}</possibleNumberPattern>
1456 <exampleNumber>50123</exampleNumber>
1461 <!-- Metadata shared with Cocos Islands (CC) and Christmas Islands (CX) -->
1462 <territory id="AU" countryCode="61" mainCountryForCode="true"
1463 internationalPrefix="(?:14(?:1[14]|34|4[17]|[56]6|7[47]|88))?001[14-689]"
1464 preferredInternationalPrefix="0011" nationalPrefix="0"
1465 mobileNumberPortableRegion="true">
1467 <sourceUrl>http://www.itu.int/oth/T020200000D/en</sourceUrl>
1468 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Australia</sourceUrl>
1471 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
1472 pattern="([2378])(\d{4})(\d{4})">
1473 <leadingDigits>[2378]</leadingDigits>
1474 <format>$1 $2 $3</format>
1476 <numberFormat nationalPrefixFormattingRule="$NP$FG"
1477 pattern="(\d{3})(\d{3})(\d{3})">
1482 <format>$1 $2 $3</format>
1484 <numberFormat nationalPrefixFormattingRule="$NP$FG"
1485 pattern="(16)(\d{3})(\d{2,4})">
1486 <leadingDigits>16</leadingDigits>
1487 <format>$1 $2 $3</format>
1489 <numberFormat nationalPrefixFormattingRule="$FG"
1490 pattern="(1[389]\d{2})(\d{3})(\d{3})">
1503 <format>$1 $2 $3</format>
1505 <numberFormat nationalPrefixFormattingRule="$FG"
1506 pattern="(180)(2\d{3})">
1507 <leadingDigits>180</leadingDigits>
1508 <leadingDigits>1802</leadingDigits>
1509 <format>$1 $2</format>
1511 <numberFormat nationalPrefixFormattingRule="$FG"
1512 pattern="(19\d)(\d{3})">
1513 <leadingDigits>19[13]</leadingDigits>
1514 <format>$1 $2</format>
1516 <numberFormat nationalPrefixFormattingRule="$FG"
1517 pattern="(19\d{2})(\d{4})">
1518 <leadingDigits>19[67]</leadingDigits>
1519 <format>$1 $2</format>
1521 <numberFormat nationalPrefixFormattingRule="$FG"
1522 pattern="(13)(\d{2})(\d{2})">
1523 <leadingDigits>13[1-9]</leadingDigits>
1524 <format>$1 $2 $3</format>
1528 <nationalNumberPattern>[1-578]\d{5,9}</nationalNumberPattern>
1529 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
1531 <noInternationalDialling>
1532 <nationalNumberPattern>
1543 </nationalNumberPattern>
1544 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
1545 <exampleNumber>1300123456</exampleNumber>
1546 </noInternationalDialling>
1548 <!-- Excludes prefixes used by Cocos Islands and Christmas Islands -->
1549 <nationalNumberPattern>
1562 </nationalNumberPattern>
1563 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
1564 <exampleNumber>212345678</exampleNumber>
1567 <!-- Includes MobileSat and Thuraya satellite services. According to the wikipedia page,
1568 other ranges 14[1-3] are not currently used. Note CC and CX should be updated as well
1569 if this pattern changes. -->
1570 <nationalNumberPattern>
1585 </nationalNumberPattern>
1586 <possibleNumberPattern>\d{9}</possibleNumberPattern>
1587 <exampleNumber>412345678</exampleNumber>
1590 <nationalNumberPattern>16\d{3,7}</nationalNumberPattern>
1591 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
1592 <exampleNumber>1612345</exampleNumber>
1595 <nationalNumberPattern>
1600 </nationalNumberPattern>
1601 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
1602 <exampleNumber>1800123456</exampleNumber>
1605 <nationalNumberPattern>190[0126]\d{6}</nationalNumberPattern>
1606 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1607 <exampleNumber>1900123456</exampleNumber>
1610 <!-- Local-rate (SmartNumbers) are put here because they are a reverse-charge network,
1611 although they charge a small local call connect fee (around 25c). These start with 13
1613 <nationalNumberPattern>
1617 </nationalNumberPattern>
1618 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
1619 <exampleNumber>1300123456</exampleNumber>
1621 <!-- Wikipedia was the source for these types of numbers, and number allocation search here
1622 http://web.acma.gov.au/numb/openAccess/inquiry/allocationSearch.do confirms this. (Search
1623 from 0500000000 to 0590000000) -->
1625 <nationalNumberPattern>500\d{6}</nationalNumberPattern>
1626 <possibleNumberPattern>\d{9}</possibleNumberPattern>
1627 <exampleNumber>500123456</exampleNumber>
1630 <nationalNumberPattern>550\d{6}</nationalNumberPattern>
1631 <possibleNumberPattern>\d{9}</possibleNumberPattern>
1632 <exampleNumber>550123456</exampleNumber>
1637 <territory id="AW" countryCode="297" internationalPrefix="00">
1639 <sourceUrl>http://www.itu.int/oth/T020200000B/en</sourceUrl>
1642 <numberFormat pattern="(\d{3})(\d{4})">
1643 <format>$1 $2</format>
1647 <nationalNumberPattern>[25-9]\d{6}</nationalNumberPattern>
1648 <possibleNumberPattern>\d{7}</possibleNumberPattern>
1651 <nationalNumberPattern>
1656 </nationalNumberPattern>
1657 <exampleNumber>5212345</exampleNumber>
1660 <!-- The prefixes 662, 994 & 96[45], while not in the plan, seem to be used in mobile
1661 numbers found online. -->
1662 <nationalNumberPattern>
1680 </nationalNumberPattern>
1681 <exampleNumber>5601234</exampleNumber>
1684 <nationalNumberPattern>800\d{4}</nationalNumberPattern>
1685 <exampleNumber>8001234</exampleNumber>
1688 <nationalNumberPattern>900\d{4}</nationalNumberPattern>
1689 <exampleNumber>9001234</exampleNumber>
1692 <nationalNumberPattern>
1695 </nationalNumberPattern>
1696 <exampleNumber>5011234</exampleNumber>
1700 <!-- Ã…land Islands. -->
1701 <!-- Metadata shared with Finland. -->
1702 <territory id="AX" countryCode="358" internationalPrefix="00|99[049]" nationalPrefix="0"
1703 nationalPrefixFormattingRule="$NP$FG">
1705 <sourceUrl>http://www.ficora.fi/en/index/palvelut/palvelutaiheittain/numerointi/numerotyypitjaalueet.html</sourceUrl>
1707 <!-- The general desc and fixed line are numbers different from Finland metadata. -->
1709 <nationalNumberPattern>
1715 </nationalNumberPattern>
1716 <possibleNumberPattern>\d{5,12}</possibleNumberPattern>
1718 <noInternationalDialling>
1719 <!-- According to the national numbering plan, service numbers are in general not accessible
1720 from abroad, although 600/700/800 numbers may be. -->
1721 <nationalNumberPattern>
1739 </nationalNumberPattern>
1740 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
1741 <exampleNumber>100123</exampleNumber>
1742 </noInternationalDialling>
1744 <nationalNumberPattern>18[1-8]\d{3,9}</nationalNumberPattern>
1745 <possibleNumberPattern>\d{6,12}</possibleNumberPattern>
1746 <exampleNumber>1812345678</exampleNumber>
1748 <!-- The mobile, toll free, premium rate and UAN numbers copied from Finland. -->
1750 <nationalNumberPattern>
1753 </nationalNumberPattern>
1754 <possibleNumberPattern>\d{6,11}</possibleNumberPattern>
1755 <exampleNumber>412345678</exampleNumber>
1758 <nationalNumberPattern>800\d{4,7}</nationalNumberPattern>
1759 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
1760 <exampleNumber>8001234567</exampleNumber>
1763 <nationalNumberPattern>[67]00\d{5,6}</nationalNumberPattern>
1764 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
1765 <exampleNumber>600123456</exampleNumber>
1768 <!-- Covers nationwide non-geographic numbers, and nationwide "service numbers", typically
1769 assigned to institutions such as universities, the national post, etc, where they are
1770 not otherwise classified as toll-free or premium-rate numbers. -->
1771 <nationalNumberPattern>
1789 </nationalNumberPattern>
1790 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
1791 <exampleNumber>10112345</exampleNumber>
1796 <territory id="AZ" countryCode="994" internationalPrefix="00" nationalPrefix="0"
1797 nationalPrefixFormattingRule="($NP$FG)" mobileNumberPortableRegion="true">
1799 <sourceUrl>http://www.itu.int/oth/T020200000F/en</sourceUrl>
1802 <numberFormat pattern="(\d{2})(\d{3})(\d{2})(\d{2})">
1813 <format>$1 $2 $3 $4</format>
1815 <numberFormat pattern="(\d{2})(\d{3})(\d{2})(\d{2})" nationalPrefixFormattingRule="$NP$FG">
1816 <leadingDigits>[4-8]</leadingDigits>
1817 <format>$1 $2 $3 $4</format>
1819 <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})"
1820 nationalPrefixFormattingRule="$NP$FG">
1821 <leadingDigits>9</leadingDigits>
1822 <format>$1 $2 $3 $4</format>
1826 <nationalNumberPattern>[1-9]\d{8}</nationalNumberPattern>
1827 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
1830 <nationalNumberPattern>
1843 </nationalNumberPattern>
1844 <exampleNumber>123123456</exampleNumber>
1847 <nationalNumberPattern>
1854 </nationalNumberPattern>
1855 <possibleNumberPattern>\d{9}</possibleNumberPattern>
1856 <exampleNumber>401234567</exampleNumber>
1859 <!-- 88 is listed as fixed-line for Baku in the ITU document, but online numbers seem to
1860 suggest they are in fact national toll-free numbers. -->
1861 <nationalNumberPattern>88\d{7}</nationalNumberPattern>
1862 <possibleNumberPattern>\d{9}</possibleNumberPattern>
1863 <exampleNumber>881234567</exampleNumber>
1866 <!-- These are marked as Interactive Calls in the ITU document. -->
1867 <nationalNumberPattern>900200\d{3}</nationalNumberPattern>
1868 <possibleNumberPattern>\d{9}</possibleNumberPattern>
1869 <exampleNumber>900200123</exampleNumber>
1873 <!-- Bosnia and Herzegovina -->
1874 <territory id="BA" countryCode="387" internationalPrefix="00"
1875 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
1876 mobileNumberPortableRegion="true">
1878 <!-- accessible from http://www.cra.ba/en/telecom/numbering/ -->
1879 <sourceUrl>http://www.rak.ba/eng/index.php?uid=1272016657</sourceUrl>
1880 <sourceUrl>http://en.wikipedia.org/wiki/+387</sourceUrl>
1883 <numberFormat pattern="(\d{2})(\d{3})(\d{3})">
1884 <leadingDigits>[3-5]</leadingDigits>
1885 <format>$1 $2-$3</format>
1887 <numberFormat pattern="(\d{2})(\d{3})(\d{3})">
1892 <format>$1 $2 $3</format>
1894 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{3})">
1895 <leadingDigits>6[047]</leadingDigits>
1896 <format>$1 $2 $3 $4</format>
1900 <nationalNumberPattern>[3-9]\d{7,8}</nationalNumberPattern>
1901 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
1904 <nationalNumberPattern>
1909 </nationalNumberPattern>
1910 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
1911 <exampleNumber>30123456</exampleNumber>
1914 <nationalNumberPattern>
1921 </nationalNumberPattern>
1922 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
1923 <exampleNumber>61123456</exampleNumber>
1926 <nationalNumberPattern>8[08]\d{6}</nationalNumberPattern>
1927 <possibleNumberPattern>\d{8}</possibleNumberPattern>
1928 <exampleNumber>80123456</exampleNumber>
1931 <nationalNumberPattern>9[0246]\d{6}</nationalNumberPattern>
1932 <possibleNumberPattern>\d{8}</possibleNumberPattern>
1933 <exampleNumber>90123456</exampleNumber>
1936 <!-- Using this category to model national tariff numbers - these are under Shared Cost in
1938 <nationalNumberPattern>8[12]\d{6}</nationalNumberPattern>
1939 <possibleNumberPattern>\d{8}</possibleNumberPattern>
1940 <exampleNumber>82123456</exampleNumber>
1943 <!-- Using this to classify nomad numbers. -->
1944 <nationalNumberPattern>70[23]\d{5}</nationalNumberPattern>
1945 <possibleNumberPattern>\d{8}</possibleNumberPattern>
1946 <exampleNumber>70223456</exampleNumber>
1951 <territory id="BB" countryCode="1" leadingDigits="246" nationalPrefix="1"
1952 internationalPrefix="011">
1954 <sourceUrl>http://www.itu.int/oth/T0202000013/en</sourceUrl>
1957 <!-- NANPA country - uses US formatting rules -->
1958 <nationalNumberPattern>[2589]\d{9}</nationalNumberPattern>
1959 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
1962 <nationalNumberPattern>246[2-9]\d{6}</nationalNumberPattern>
1963 <exampleNumber>2462345678</exampleNumber>
1966 <nationalNumberPattern>
1975 </nationalNumberPattern>
1976 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1977 <exampleNumber>2462501234</exampleNumber>
1980 <nationalNumberPattern>
1989 </nationalNumberPattern>
1990 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1991 <exampleNumber>8002123456</exampleNumber>
1994 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
1995 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1996 <exampleNumber>9002123456</exampleNumber>
1999 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
2000 <nationalNumberPattern>
2008 </nationalNumberPattern>
2009 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2010 <exampleNumber>5002345678</exampleNumber>
2015 <territory id="BD" countryCode="880" internationalPrefix="00[12]?"
2016 preferredInternationalPrefix="00"
2017 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
2019 <sourceUrl>http://www.itu.int/oth/T0202000012/en</sourceUrl>
2020 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Bangladesh</sourceUrl>
2021 <sourceUrl>http://www.btrc.gov.bd/sites/default/files/national_numbering_plan_2005_0.pdf</sourceUrl>
2024 <numberFormat pattern="(2)(\d{7})">
2025 <leadingDigits>2</leadingDigits>
2026 <format>$1-$2</format>
2028 <numberFormat pattern="(\d{2})(\d{4,6})">
2029 <leadingDigits>[3-79]1</leadingDigits>
2030 <format>$1-$2</format>
2032 <!-- Mobile numbers, VOIP, and four-digit fixed-line area codes. -->
2033 <numberFormat pattern="(\d{4})(\d{3,6})">
2065 <format>$1-$2</format>
2067 <numberFormat pattern="(\d{3})(\d{3,7})">
2072 <format>$1-$2</format>
2076 <!-- This is quite complex so we can define that numbers beginning with 88 are not part of the
2077 plan, so the country code can be accurately stripped off. -->
2078 <nationalNumberPattern>
2082 </nationalNumberPattern>
2083 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
2086 <!-- There was a plan to move to 10 digit fixed-line numbers, but this does not seem to have
2087 been realised, judging by online numbers and wikipedia. These patterns are grouped
2088 first by leading digit, then within by number of digits. Several Dhaka prefixes (02 731
2089 etc) are included despite not being mentioned on the wikipedia page or ITU doc due to
2090 online evidence. Another oddity is Chittagong - some numbers have a leading 2, others
2091 do not - both are allowed for now. For some area codes, the subscriber number length
2092 described in our source documentation doesn't match numbers online (e.g. 05222) so we
2093 allow both for now. (This applies to 0431, 04329, 04623, 05327 as well). We have
2094 also added 04452 and 04923 from numbers found online. -->
2095 <nationalNumberPattern>
2368 </nationalNumberPattern>
2369 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
2370 <exampleNumber>27111234</exampleNumber>
2373 <!-- Presuming that mobile numbers with the prefixes 66, 37, 44 and 38 must be followed by
2374 numbers [02-9] or they would clash with fixed-line codes. According to the plan, mobile
2375 numbers should be moving to 1[13-9] anyway. -->
2376 <nationalNumberPattern>
2388 </nationalNumberPattern>
2389 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2390 <exampleNumber>1812345678</exampleNumber>
2393 <!-- Note: Including Tele-voting numbers here as they are free of charge. -->
2394 <nationalNumberPattern>80[03]\d{7}</nationalNumberPattern>
2395 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2396 <exampleNumber>8001234567</exampleNumber>
2399 <nationalNumberPattern>
2405 </nationalNumberPattern>
2406 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2407 <exampleNumber>9604123456</exampleNumber>
2412 <territory id="BE" countryCode="32" internationalPrefix="00"
2413 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
2414 mobileNumberPortableRegion="true">
2416 <sourceUrl>http://www.bipt.be/en/161/ShowContent/502/Database/Databases.aspx</sourceUrl>
2417 <sourceUrl>http://www.telefoonzones.be/</sourceUrl>
2420 <numberFormat pattern="(4[6-9]\d)(\d{2})(\d{2})(\d{2})">
2421 <leadingDigits>4[6-9]</leadingDigits>
2422 <format>$1 $2 $3 $4</format>
2424 <numberFormat pattern="([2-49])(\d{3})(\d{2})(\d{2})">
2429 <format>$1 $2 $3 $4</format>
2431 <numberFormat pattern="([15-8]\d)(\d{2})(\d{2})(\d{2})">
2440 <format>$1 $2 $3 $4</format>
2442 <numberFormat pattern="([89]\d{2})(\d{2})(\d{3})">
2449 <format>$1 $2 $3</format>
2453 <nationalNumberPattern>[1-9]\d{7,8}</nationalNumberPattern>
2454 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
2457 <!-- According to the published Excel document the third digit must be 1-9. -->
2458 <nationalNumberPattern>
2468 </nationalNumberPattern>
2469 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2470 <exampleNumber>12345678</exampleNumber>
2473 <!-- Numbers beginning with 46 outside the ranges allocated by the plan have been included
2474 since many were found online. -->
2475 <nationalNumberPattern>
2480 </nationalNumberPattern>
2481 <possibleNumberPattern>\d{9}</possibleNumberPattern>
2482 <exampleNumber>470123456</exampleNumber>
2485 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
2486 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2487 <exampleNumber>80012345</exampleNumber>
2490 <nationalNumberPattern>
2495 </nationalNumberPattern>
2496 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2497 <exampleNumber>90123456</exampleNumber>
2500 <!-- Using this for National Rate Services, since
2501 http://www.voipgate.com/site/news/newsflash/new-numbers-available-the-netherlands-and-austria.html
2502 says it will be priced the same as any other national calls. -->
2503 <nationalNumberPattern>78\d{6}</nationalNumberPattern>
2504 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2505 <exampleNumber>78123456</exampleNumber>
2509 <!-- Burkina Faso -->
2510 <territory id="BF" countryCode="226" internationalPrefix="00">
2512 <sourceUrl>http://www.itu.int/oth/T0202000021/en</sourceUrl>
2513 <sourceUrl>http://www.onatel.bf/onatelsa/plandenumerotation_burkina.pdf</sourceUrl>
2516 <!-- The national numbering plan from ITU suggests grouping of 2, 2 and 4, but we have
2517 chosen to use the standard from numbers found on the internet instead. -->
2518 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
2519 <format>$1 $2 $3 $4</format>
2523 <nationalNumberPattern>[24-7]\d{7}</nationalNumberPattern>
2524 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2527 <nationalNumberPattern>
2544 </nationalNumberPattern>
2545 <exampleNumber>20491234</exampleNumber>
2548 <nationalNumberPattern>
2554 </nationalNumberPattern>
2555 <exampleNumber>70123456</exampleNumber>
2560 <territory id="BG" countryCode="359" internationalPrefix="00"
2561 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
2562 mobileNumberPortableRegion="true">
2564 <sourceUrl>http://www.itu.int/oth/T0202000020/en</sourceUrl>
2567 <!-- Formatting rules follow the conventions seen in web-search results. A space has been
2568 used to separate the area code from the rest of the number, based on sites like
2569 http://www.goldenpages.bg. -->
2570 <numberFormat pattern="(2)(\d{5})">
2571 <leadingDigits>29</leadingDigits>
2572 <format>$1 $2</format>
2574 <numberFormat pattern="(2)(\d{3})(\d{3,4})">
2575 <leadingDigits>2</leadingDigits>
2576 <format>$1 $2 $3</format>
2578 <numberFormat pattern="(\d{3})(\d{4})">
2583 <format>$1 $2</format>
2585 <numberFormat pattern="(\d{3})(\d{3})(\d{2})">
2590 <format>$1 $2 $3</format>
2592 <numberFormat pattern="(\d{3})(\d{2})(\d{3})">
2593 <leadingDigits>[78]00</leadingDigits>
2594 <format>$1 $2 $3</format>
2596 <numberFormat pattern="(\d{2})(\d{3})(\d{2,3})">
2604 <format>$1 $2 $3</format>
2606 <numberFormat pattern="(\d{2})(\d{3})(\d{3,4})">
2612 <format>$1 $2 $3</format>
2616 <nationalNumberPattern>
2619 </nationalNumberPattern>
2620 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
2623 <!-- 29xxxx numbers have been added because they can be found online, and are typically
2624 used by taxi companies. -->
2625 <nationalNumberPattern>
2646 </nationalNumberPattern>
2647 <possibleNumberPattern>\d{5,8}</possibleNumberPattern>
2648 <exampleNumber>2123456</exampleNumber>
2651 <nationalNumberPattern>
2660 </nationalNumberPattern>
2661 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
2662 <exampleNumber>48123456</exampleNumber>
2665 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
2666 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2667 <exampleNumber>80012345</exampleNumber>
2670 <nationalNumberPattern>90\d{6}</nationalNumberPattern>
2671 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2672 <exampleNumber>90123456</exampleNumber>
2675 <nationalNumberPattern>700\d{5}</nationalNumberPattern>
2676 <exampleNumber>70012345</exampleNumber>
2681 <territory id="BH" countryCode="973" internationalPrefix="00" mobileNumberPortableRegion="true">
2683 <sourceUrl>http://www.itu.int/oth/T0202000011/en</sourceUrl>
2684 <sourceUrl>http://www.tra.org.bh/en/marketNumbering.aspx</sourceUrl>
2685 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Bahrain</sourceUrl>
2688 <numberFormat pattern="(\d{4})(\d{4})">
2689 <format>$1 $2</format>
2693 <nationalNumberPattern>[136-9]\d{7}</nationalNumberPattern>
2694 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2696 <!-- Some ranges were previously described as "universal", but in subsequent versions of the
2697 ITU doc they have been specified to be mobile or fixed-line. We follow the ITU
2698 designations, even though some publications still refer to them as universal. -->
2699 <!-- According to http://en.wikipedia.org/wiki/Telephone_numbers_in_Bahrain, the ranges
2700 "6966-6969, 6996, 6999" are assigned to Rapid. However this contradicts the ITU doc
2701 which lists "6966, 6969, 6996, 6999". We follow ITU here. -->
2703 <nationalNumberPattern>
2729 </nationalNumberPattern>
2730 <exampleNumber>17001234</exampleNumber>
2732 <!-- 31 is assigned to Royal Court, as per documents on Bahrain's own telecom site, even
2733 though it is omitted from the ITU document. -->
2735 <nationalNumberPattern>
2755 </nationalNumberPattern>
2756 <exampleNumber>36001234</exampleNumber>
2759 <nationalNumberPattern>80\d{6}</nationalNumberPattern>
2760 <exampleNumber>80123456</exampleNumber>
2762 <!-- 87 numbers are "wholly paid by the caller", so they are slotted under premium-rate for
2765 <nationalNumberPattern>
2770 </nationalNumberPattern>
2771 <exampleNumber>90123456</exampleNumber>
2774 <nationalNumberPattern>84\d{6}</nationalNumberPattern>
2775 <exampleNumber>84123456</exampleNumber>
2780 <territory id="BI" countryCode="257" internationalPrefix="00">
2782 <sourceUrl>http://www.itu.int/oth/T0202000022/en</sourceUrl>
2786 pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
2787 <format>$1 $2 $3 $4</format>
2791 <nationalNumberPattern>[267]\d{7}</nationalNumberPattern>
2792 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2795 <nationalNumberPattern>
2800 </nationalNumberPattern>
2801 <exampleNumber>22201234</exampleNumber>
2804 <!-- Extra online mobile number prefixes found: 74.
2805 The 29 prefix is listed as a mobile prefix, but many people list it as their fixed home
2806 number. We will keep it as mobile for now, but it may actually be a prefix for fixed
2807 satellite phones. -->
2808 <nationalNumberPattern>
2813 </nationalNumberPattern>
2814 <exampleNumber>79561234</exampleNumber>
2819 <territory id="BJ" countryCode="229" internationalPrefix="00">
2821 <sourceUrl>http://www.itu.int/oth/T0202000017/en</sourceUrl>
2824 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
2825 <format>$1 $2 $3 $4</format>
2827 <!-- Numbers beginning with 7 should be formatted as a block. -->
2830 <nationalNumberPattern>
2833 </nationalNumberPattern>
2834 <possibleNumberPattern>\d{4,8}</possibleNumberPattern>
2837 <!-- These come from the national numbering plan, but have been widened to include other
2838 prefixes found in the yellow pages - specifically 21 0. -->
2839 <nationalNumberPattern>
2846 </nationalNumberPattern>
2847 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2848 <exampleNumber>20211234</exampleNumber>
2851 <!-- We have restricted the pattern here to the first two digits, as beyond this the data
2852 seems to be no longer accurate. The prefixes 9[46] have also been added, along with
2853 6[167] (seemingly prefixes for Mobile MTN), and 64 for BeninCell. Glo Mobile has been
2854 reported as having prefixes 68 and 9[89]. -->
2855 <nationalNumberPattern>
2860 </nationalNumberPattern>
2861 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2862 <exampleNumber>90011234</exampleNumber>
2865 <nationalNumberPattern>7[3-5]\d{2}</nationalNumberPattern>
2866 <possibleNumberPattern>\d{4}</possibleNumberPattern>
2867 <exampleNumber>7312</exampleNumber>
2870 <nationalNumberPattern>857[58]\d{4}</nationalNumberPattern>
2871 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2872 <exampleNumber>85751234</exampleNumber>
2874 <!-- Numbers beginning with 81 are reserved for _either_ free phone or shared-cost (same cost
2875 as a local-call.) We model these as UAN since we have no more detailed information. -->
2877 <nationalNumberPattern>81\d{6}</nationalNumberPattern>
2878 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2879 <exampleNumber>81123456</exampleNumber>
2883 <!-- Saint Barthélemy, French Antilles -->
2884 <!-- There seems to be some overlap with phone numbers from Saint Martin and Guadeloupe. The
2885 national numbering plan does not specify any St Barthélemy-specific numbering prefixes, but
2886 it appears from searches in online white and yellow pages that a subset of the prefixes
2887 available in these regions are used. In these cases, if getRegionCodeForNumber is used, one
2888 of these region codes will be returned, although numbers will be valid for both regions.
2890 <territory id="BL" countryCode="590" internationalPrefix="00" nationalPrefix="0">
2892 <sourceUrl>http://www.itu.int/oth/T0202000058/en</sourceUrl>
2894 <!-- Formatting rules borrowed from Guadeloupe. -->
2896 <nationalNumberPattern>[56]\d{8}</nationalNumberPattern>
2897 <possibleNumberPattern>\d{9}</possibleNumberPattern>
2900 <nationalNumberPattern>
2906 </nationalNumberPattern>
2907 <exampleNumber>590271234</exampleNumber>
2910 <!-- Any ranges assigned from
2911 http://www.arcep.fr/index.php?id=interactivenumeros have been listed as belonging to
2912 Guadeloupe, St Martin and St Barthélemy, since we can't reliably distinguish between
2914 <nationalNumberPattern>
2919 </nationalNumberPattern>
2920 <exampleNumber>690301234</exampleNumber>
2925 <territory id="BM" countryCode="1" leadingDigits="441" nationalPrefix="1"
2926 internationalPrefix="011">
2928 <sourceUrl>http://www.itu.int/oth/T0202000018/en</sourceUrl>
2931 <!-- NANPA country - uses US formatting rules -->
2932 <nationalNumberPattern>[4589]\d{9}</nationalNumberPattern>
2933 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
2936 <nationalNumberPattern>
2952 </nationalNumberPattern>
2953 <exampleNumber>4412345678</exampleNumber>
2956 <nationalNumberPattern>
2961 </nationalNumberPattern>
2962 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2963 <exampleNumber>4413701234</exampleNumber>
2966 <nationalNumberPattern>
2975 </nationalNumberPattern>
2976 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2977 <exampleNumber>8002123456</exampleNumber>
2980 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
2981 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2982 <exampleNumber>9002123456</exampleNumber>
2985 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
2986 <nationalNumberPattern>
2994 </nationalNumberPattern>
2995 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2996 <exampleNumber>5002345678</exampleNumber>
3000 <!-- Brunei Darussalam -->
3001 <territory id="BN" countryCode="673" internationalPrefix="00">
3003 <sourceUrl>http://www.itu.int/oth/T020200001F/en</sourceUrl>
3005 <!-- Format is from http://aiti.gov.bn/contact.html -->
3007 <numberFormat pattern="([2-578]\d{2})(\d{4})">
3008 <format>$1 $2</format>
3012 <nationalNumberPattern>[2-578]\d{6}</nationalNumberPattern>
3013 <possibleNumberPattern>\d{7}</possibleNumberPattern>
3016 <nationalNumberPattern>
3022 </nationalNumberPattern>
3023 <exampleNumber>2345678</exampleNumber>
3026 <nationalNumberPattern>
3029 </nationalNumberPattern>
3030 <exampleNumber>7123456</exampleNumber>
3035 <territory id="BO" countryCode="591" internationalPrefix="00(1\d)?" nationalPrefix="0"
3036 nationalPrefixForParsing="0(1\d)?" carrierCodeFormattingRule="$NP$CC $FG">
3038 <sourceUrl>http://www.itu.int/oth/T020200001A/en</sourceUrl>
3039 <sourceUrl>http://www.bolivia.com/Servicios/Plandenumeracion.pdf</sourceUrl>
3042 <numberFormat pattern="([234])(\d{7})">
3043 <leadingDigits>[234]</leadingDigits>
3044 <format>$1 $2</format>
3046 <numberFormat pattern="([67]\d{7})">
3047 <leadingDigits>[67]</leadingDigits>
3052 <nationalNumberPattern>[23467]\d{7}</nationalNumberPattern>
3053 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
3056 <nationalNumberPattern>
3060 5(?:11|[258]\d|9[67])|
3067 8(?:25|42|5[257]|86|9[25])|
3068 9(?:2\d|3[234]|4[248]|5[24]|6[2-6]|7\d)
3072 6(?:11|[24689]\d|72)
3075 </nationalNumberPattern>
3076 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
3077 <exampleNumber>22123456</exampleNumber>
3080 <nationalNumberPattern>[67]\d{7}</nationalNumberPattern>
3081 <possibleNumberPattern>\d{8}</possibleNumberPattern>
3082 <exampleNumber>71234567</exampleNumber>
3086 <!-- Bonaire, Sint Eustatius and Saba -->
3087 <territory id="BQ" countryCode="599" internationalPrefix="00">
3089 <sourceUrl>http://www.itu.int/oth/T02020000F8/en</sourceUrl>
3091 <!-- Shares formatting patterns with CW. -->
3093 <nationalNumberPattern>[347]\d{6}</nationalNumberPattern>
3094 <possibleNumberPattern>\d{7}</possibleNumberPattern>
3097 <nationalNumberPattern>
3106 </nationalNumberPattern>
3107 <exampleNumber>7151234</exampleNumber>
3110 <nationalNumberPattern>
3120 </nationalNumberPattern>
3121 <exampleNumber>3181234</exampleNumber>
3126 <territory id="BR" countryCode="55"
3127 internationalPrefix="00(?:1[45]|2[135]|31|4[13])"
3129 nationalPrefixForParsing="0(?:(1[245]|2[135]|31|4[13])(\d{10,11}))?"
3130 nationalPrefixTransformRule="$2" mobileNumberPortableRegion="true">
3132 <sourceUrl>http://en.wikipedia.org/wiki/%2B55</sourceUrl>
3133 <sourceUrl>http://www.itu.int/oth/T020200001D/en</sourceUrl>
3135 <!-- The national prefix for parsing here also contains a capturing group for the main number,
3136 since the carrier codes here may also be area codes, so we want to check the length of
3137 the number after capturing. We also need a nationalTransformRule to repopulate with the
3138 number without the carrier code. -->
3140 <!-- Numbers can be dialled without an area code on mobile phones in Brazil. The first two
3141 rules here handle this case. The leading digits pattern must be specific enough such
3142 that it doesn't match X00 numbers (e.g. toll-free). -->
3143 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{4})">
3150 <format>$1-$2</format>
3151 <intlFormat>NA</intlFormat>
3153 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{5})(\d{4})">
3160 <format>$1-$2</format>
3161 <intlFormat>NA</intlFormat>
3163 <!-- Format short numbers as a block. -->
3164 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{3,5})">
3165 <leadingDigits>1[125689]</leadingDigits>
3167 <intlFormat>NA</intlFormat>
3169 <numberFormat nationalPrefixFormattingRule="($FG)"
3170 pattern="(\d{2})(\d{5})(\d{4})"
3171 carrierCodeFormattingRule="$NP $CC ($FG)">
3179 <format>$1 $2-$3</format>
3181 <numberFormat nationalPrefixFormattingRule="($FG)"
3182 pattern="(\d{2})(\d{4})(\d{4})"
3183 carrierCodeFormattingRule="$NP $CC ($FG)">
3184 <leadingDigits>[1-9][1-9]</leadingDigits>
3185 <format>$1 $2-$3</format>
3187 <numberFormat pattern="([34]00\d)(\d{4})">
3188 <leadingDigits>[34]00</leadingDigits>
3189 <format>$1-$2</format>
3191 <numberFormat nationalPrefixFormattingRule="$NP$FG"
3192 pattern="([3589]00)(\d{2,3})(\d{4})">
3193 <leadingDigits>[3589]00</leadingDigits>
3194 <format>$1 $2 $3</format>
3198 <nationalNumberPattern>
3201 </nationalNumberPattern>
3202 <possibleNumberPattern>\d{8,11}</possibleNumberPattern>
3204 <noInternationalDialling>
3205 <nationalNumberPattern>[34]00\d{5}</nationalNumberPattern>
3206 <possibleNumberPattern>\d{8}</possibleNumberPattern>
3207 <exampleNumber>40041234</exampleNumber>
3208 </noInternationalDialling>
3210 <!-- According to this publication, the prefixes 11 53, 11 54 and 11 57 are to be used for
3211 mobile phones prior to the introduction of a ninth digit. It is not clear whether they
3212 are still valid as fixed-line numbers, so we are leaving them here in the meantime:
3213 http://www.anatel.gov.br/Portal/exibirPortalNoticias.do?acao=carregaNoticia&codigo=22406
3215 <nationalNumberPattern>
3224 </nationalNumberPattern>
3225 <exampleNumber>1123456789</exampleNumber>
3228 <!-- Since 2012, Brazil has been migrating from 10 to 11 digits by inserting a 9 before the
3229 last 8 digits. The following pattern is divided into 3 sections: ranges for which the
3230 migration has been completed, ranges which are in transition, and ranges which are
3231 still in the old format. (Ranges which were supposed to have been deprecated in
3232 Oct. 2013 are still working as of Jan. 2014.) Note that mobile radio services are
3233 still 10 digits, with the subscriber number (the last 8 digits) beginning with 7. -->
3234 <nationalNumberPattern>
3249 </nationalNumberPattern>
3250 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
3251 <exampleNumber>11961234567</exampleNumber>
3254 <nationalNumberPattern>800\d{6,7}</nationalNumberPattern>
3255 <exampleNumber>800123456</exampleNumber>
3258 <nationalNumberPattern>[359]00\d{6,7}</nationalNumberPattern>
3259 <exampleNumber>300123456</exampleNumber>
3262 <nationalNumberPattern>[34]00\d{5}</nationalNumberPattern>
3263 <possibleNumberPattern>\d{8}</possibleNumberPattern>
3264 <exampleNumber>40041234</exampleNumber>
3269 <territory id="BS" countryCode="1" leadingDigits="242" nationalPrefix="1"
3270 internationalPrefix="011">
3272 <sourceUrl>http://www.itu.int/oth/T0202000010/en</sourceUrl>
3275 <!-- NANPA country - uses US formatting rules -->
3276 <nationalNumberPattern>[2589]\d{9}</nationalNumberPattern>
3277 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
3280 <nationalNumberPattern>
3302 </nationalNumberPattern>
3303 <exampleNumber>2423456789</exampleNumber>
3306 <nationalNumberPattern>
3330 </nationalNumberPattern>
3331 <possibleNumberPattern>\d{10}</possibleNumberPattern>
3332 <exampleNumber>2423591234</exampleNumber>
3335 <!-- 242 300 is a Domestic Toll Free service. -->
3336 <nationalNumberPattern>
3346 </nationalNumberPattern>
3347 <possibleNumberPattern>\d{10}</possibleNumberPattern>
3348 <exampleNumber>8002123456</exampleNumber>
3351 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
3352 <possibleNumberPattern>\d{10}</possibleNumberPattern>
3353 <exampleNumber>9002123456</exampleNumber>
3356 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
3357 <nationalNumberPattern>
3365 </nationalNumberPattern>
3366 <possibleNumberPattern>\d{10}</possibleNumberPattern>
3367 <exampleNumber>5002345678</exampleNumber>
3372 <territory id="BT" countryCode="975" internationalPrefix="00">
3374 <sourceUrl>http://www.itu.int/oth/T0202000019/en</sourceUrl>
3378 http://www.tourism.gov.bt/tour-operators/bhutan-abbot-tours-and-travels.html -->
3379 <numberFormat pattern="([17]7)(\d{2})(\d{2})(\d{2})">
3384 <format>$1 $2 $3 $4</format>
3386 <numberFormat pattern="([2-8])(\d{3})(\d{3})">
3391 <format>$1 $2 $3</format>
3395 <nationalNumberPattern>[1-8]\d{6,7}</nationalNumberPattern>
3396 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
3399 <nationalNumberPattern>
3408 </nationalNumberPattern>
3409 <possibleNumberPattern>\d{6,7}</possibleNumberPattern>
3410 <exampleNumber>2345678</exampleNumber>
3413 <!-- The 77 prefix is not yet in the ITU document but numbers online indicate this prefix
3415 <nationalNumberPattern>[17]7\d{6}</nationalNumberPattern>
3416 <possibleNumberPattern>\d{8}</possibleNumberPattern>
3417 <exampleNumber>17123456</exampleNumber>
3419 <!-- No information on other types of phone numbers for Bhutan has been found. -->
3423 <territory id="BW" countryCode="267" internationalPrefix="00">
3425 <sourceUrl>http://www.itu.int/oth/T020200001C/en</sourceUrl>
3428 <numberFormat pattern="(\d{3})(\d{4})">
3429 <leadingDigits>[2-6]</leadingDigits>
3430 <format>$1 $2</format>
3432 <numberFormat pattern="(7\d)(\d{3})(\d{3})">
3433 <leadingDigits>7</leadingDigits>
3434 <format>$1 $2 $3</format>
3436 <numberFormat pattern="(90)(\d{5})">
3437 <leadingDigits>9</leadingDigits>
3438 <format>$1 $2</format>
3442 <nationalNumberPattern>[2-79]\d{6,7}</nationalNumberPattern>
3443 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
3446 <nationalNumberPattern>
3478 </nationalNumberPattern>
3479 <possibleNumberPattern>\d{7}</possibleNumberPattern>
3480 <exampleNumber>2401234</exampleNumber>
3483 <nationalNumberPattern>
3489 </nationalNumberPattern>
3490 <possibleNumberPattern>\d{8}</possibleNumberPattern>
3491 <exampleNumber>71123456</exampleNumber>
3493 <!-- No reliable information about toll-free numbers can be found; many are written on the
3494 internet like 0800 123 456, but this is not supported by any documentation and no
3495 numbers can be found that actually work. -->
3497 <nationalNumberPattern>90\d{5}</nationalNumberPattern>
3498 <possibleNumberPattern>\d{7}</possibleNumberPattern>
3499 <exampleNumber>9012345</exampleNumber>
3502 <nationalNumberPattern>79[12][01]\d{4}</nationalNumberPattern>
3503 <possibleNumberPattern>\d{8}</possibleNumberPattern>
3504 <exampleNumber>79101234</exampleNumber>
3509 <!-- Information on national prefix provided by a Belarussian person. -->
3510 <territory id="BY" countryCode="375" preferredInternationalPrefix="8~10"
3511 internationalPrefix="810" nationalPrefixForParsing="8?0?"
3512 nationalPrefix="8" mobileNumberPortableRegion="true">
3514 <sourceUrl>http://www.eng.beltelecom.by/en/subscribers/phone-codes</sourceUrl>
3517 <numberFormat nationalPrefixFormattingRule="$NP 0$FG"
3518 pattern="(\d{2})(\d{3})(\d{2})(\d{2})">
3533 <format>$1 $2-$3-$4</format>
3535 <numberFormat nationalPrefixFormattingRule="$NP 0$FG"
3536 pattern="(\d{3})(\d{2})(\d{2})(\d{2})">
3568 <format>$1 $2-$3-$4</format>
3570 <numberFormat nationalPrefixFormattingRule="$NP 0$FG"
3571 pattern="(\d{4})(\d{2})(\d{3})">
3604 <format>$1 $2-$3</format>
3606 <numberFormat nationalPrefixFormattingRule="$NP $FG"
3607 pattern="([89]\d{2})(\d{3})(\d{4})">
3612 <format>$1 $2 $3</format>
3614 <numberFormat nationalPrefixFormattingRule="$NP $FG"
3615 pattern="(8\d{2})(\d{4})(\d{4})">
3616 <leadingDigits>82</leadingDigits>
3617 <format>$1 $2 $3</format>
3621 <nationalNumberPattern>
3624 </nationalNumberPattern>
3625 <!-- Numbers are often written without the city code. -->
3626 <possibleNumberPattern>\d{7,11}</possibleNumberPattern>
3628 <!-- Toll-free and premium rate numbers are not available from abroad. -->
3629 <noInternationalDialling>
3630 <nationalNumberPattern>
3636 </nationalNumberPattern>
3637 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
3638 <exampleNumber>82012345678</exampleNumber>
3639 </noInternationalDialling>
3641 <nationalNumberPattern>
3674 </nationalNumberPattern>
3675 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
3676 <!-- Using test number for Grodno from the plan. -->
3677 <exampleNumber>152450911</exampleNumber>
3680 <nationalNumberPattern>
3689 </nationalNumberPattern>
3690 <possibleNumberPattern>\d{9}</possibleNumberPattern>
3691 <!-- Using test number for BelCel from the plan. -->
3692 <exampleNumber>294911911</exampleNumber>
3695 <!-- Putting Interactive Polling Service (free) here too. -->
3696 <nationalNumberPattern>
3701 </nationalNumberPattern>
3702 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
3703 <exampleNumber>8011234567</exampleNumber>
3706 <!-- Putting Interactive Polling Service (paid) here too. -->
3707 <nationalNumberPattern>
3712 </nationalNumberPattern>
3713 <possibleNumberPattern>\d{10}</possibleNumberPattern>
3714 <exampleNumber>9021234567</exampleNumber>
3717 <!-- 249 prefix for Beltelcom's Maxiphone added based on online info. -->
3718 <nationalNumberPattern>249\d{6}</nationalNumberPattern>
3719 <possibleNumberPattern>\d{9}</possibleNumberPattern>
3720 <exampleNumber>249123456</exampleNumber>
3725 <!-- The trunk prefix, formally 0, was dropped in the last reorganisation of the numbering plan.
3727 <territory id="BZ" countryCode="501" internationalPrefix="00" leadingZeroPossible="true">
3729 <sourceUrl>http://www.itu.int/oth/T0202000016/en</sourceUrl>
3732 <numberFormat pattern="(\d{3})(\d{4})">
3733 <leadingDigits>[2-8]</leadingDigits>
3734 <!-- Adding hyphen following the Belize Telemedia formatting rules. -->
3735 <format>$1-$2</format>
3737 <numberFormat pattern="(0)(800)(\d{4})(\d{3})">
3738 <leadingDigits>0</leadingDigits>
3739 <format>$1-$2-$3-$4</format>
3743 <nationalNumberPattern>
3746 </nationalNumberPattern>
3747 <possibleNumberPattern>\d{7}(?:\d{4})?</possibleNumberPattern>
3750 <nationalNumberPattern>[234578][02]\d{5}</nationalNumberPattern>
3751 <possibleNumberPattern>\d{7}</possibleNumberPattern>
3752 <exampleNumber>2221234</exampleNumber>
3755 <!-- 62[6-9], 63X and 6[67][2-9] were added as we have been able to successfully send SMSs
3756 to these numbers or many numbers have been found online. -->
3757 <nationalNumberPattern>6[0-367]\d{5}</nationalNumberPattern>
3758 <possibleNumberPattern>\d{7}</possibleNumberPattern>
3759 <exampleNumber>6221234</exampleNumber>
3761 <!-- We don't know how these would be dialled internationally - it is possible that they can't
3762 be dialled internationally at all - so we represent the leading 0 as part of the number.
3763 Information from http://www.belizetelemedia.net. -->
3765 <nationalNumberPattern>0800\d{7}</nationalNumberPattern>
3766 <possibleNumberPattern>\d{11}</possibleNumberPattern>
3767 <exampleNumber>08001234123</exampleNumber>
3772 <territory id="CA" countryCode="1" internationalPrefix="011" nationalPrefix="1"
3773 mobileNumberPortableRegion="true">
3775 <sourceUrl>http://www.cnac.ca/canadian_dial_plan/canadian_dial_plan.htm</sourceUrl>
3778 <!-- NANPA country - uses US formatting rules -->
3779 <nationalNumberPattern>
3782 </nationalNumberPattern>
3783 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
3786 <nationalNumberPattern>
3830 </nationalNumberPattern>
3831 <exampleNumber>2042345678</exampleNumber>
3834 <nationalNumberPattern>
3877 </nationalNumberPattern>
3878 <exampleNumber>2042345678</exampleNumber>
3881 <nationalNumberPattern>
3891 </nationalNumberPattern>
3892 <exampleNumber>8002123456</exampleNumber>
3895 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
3896 <possibleNumberPattern>\d{10}</possibleNumberPattern>
3897 <exampleNumber>9002123456</exampleNumber>
3900 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
3901 <nationalNumberPattern>
3909 </nationalNumberPattern>
3910 <possibleNumberPattern>\d{10}</possibleNumberPattern>
3911 <exampleNumber>5002345678</exampleNumber>
3915 <!-- Cocos Islands -->
3916 <!-- Metadata shared with Australia. -->
3917 <!-- References state Cocos Islands have fixed line numbers starting +61 8 9162. -->
3918 <territory id="CC" countryCode="61" preferredInternationalPrefix="0011"
3919 internationalPrefix="(?:14(?:1[14]|34|4[17]|[56]6|7[47]|88))?001[14-689]"
3922 <sourceUrl>http://en.wikipedia.org/wiki/List_of_country_calling_codes</sourceUrl>
3923 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Australia</sourceUrl>
3925 <!-- Uses AU formatting rules. -->
3926 <!-- General desc and fixed line rules different from Australia. -->
3928 <nationalNumberPattern>[1458]\d{5,9}</nationalNumberPattern>
3929 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
3932 <nationalNumberPattern>89162\d{4}</nationalNumberPattern>
3933 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
3934 <exampleNumber>891621234</exampleNumber>
3936 <!-- Mobile, toll free, premium rate, personal number and VOIP copied from Australia. -->
3938 <nationalNumberPattern>
3953 </nationalNumberPattern>
3954 <possibleNumberPattern>\d{9}</possibleNumberPattern>
3955 <exampleNumber>412345678</exampleNumber>
3958 <nationalNumberPattern>
3967 </nationalNumberPattern>
3968 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
3969 <exampleNumber>1800123456</exampleNumber>
3972 <nationalNumberPattern>190[0126]\d{6}</nationalNumberPattern>
3973 <possibleNumberPattern>\d{10}</possibleNumberPattern>
3974 <exampleNumber>1900123456</exampleNumber>
3977 <nationalNumberPattern>500\d{6}</nationalNumberPattern>
3978 <possibleNumberPattern>\d{9}</possibleNumberPattern>
3979 <exampleNumber>500123456</exampleNumber>
3982 <nationalNumberPattern>550\d{6}</nationalNumberPattern>
3983 <possibleNumberPattern>\d{9}</possibleNumberPattern>
3984 <exampleNumber>550123456</exampleNumber>
3988 <!-- Congo, Dem. Rep. of the (formerly Zaire) -->
3989 <territory id="CD" countryCode="243" internationalPrefix="00"
3990 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
3992 <sourceUrl>http://www.itu.int/oth/T0202000037/en</sourceUrl>
3995 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
3996 <leadingDigits>12</leadingDigits>
3997 <format>$1 $2 $3</format>
3999 <numberFormat pattern="([89]\d{2})(\d{3})(\d{3})">
4004 <format>$1 $2 $3</format>
4006 <numberFormat pattern="(\d{2})(\d{2})(\d{3})">
4007 <leadingDigits>88</leadingDigits>
4008 <format>$1 $2 $3</format>
4010 <numberFormat pattern="(\d{2})(\d{5})">
4011 <leadingDigits>[1-6]</leadingDigits>
4012 <format>$1 $2</format>
4016 <nationalNumberPattern>
4020 </nationalNumberPattern>
4021 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
4024 <nationalNumberPattern>
4030 </nationalNumberPattern>
4031 <exampleNumber>1234567</exampleNumber>
4034 <!-- As of May'13 the 88 range looks as if it is defunct. The ITU document lists "Yozma
4035 Timeturns" as the operator, but their website (http://www.ytt.cd) is offline and the
4036 holdings company http://www.timeturnsholdings.com/products does not show a link for
4037 DRC. While there are still numbers of the form "88\d{5}" online, none of the ones
4038 tried were valid. If the holdings company does not respond to requests about this
4039 range and unless we receive further information, we will remove this range. -->
4040 <nationalNumberPattern>
4046 </nationalNumberPattern>
4047 <exampleNumber>991234567</exampleNumber>
4051 <!-- Central African Republic -->
4052 <territory id="CF" countryCode="236" internationalPrefix="00">
4054 <sourceUrl>http://www.itu.int/oth/T0202000028/en</sourceUrl>
4057 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
4058 <format>$1 $2 $3 $4</format>
4062 <nationalNumberPattern>[278]\d{7}</nationalNumberPattern>
4063 <possibleNumberPattern>\d{8}</possibleNumberPattern>
4066 <nationalNumberPattern>2[12]\d{6}</nationalNumberPattern>
4067 <exampleNumber>21612345</exampleNumber>
4070 <nationalNumberPattern>7[0257]\d{6}</nationalNumberPattern>
4071 <exampleNumber>70012345</exampleNumber>
4074 <nationalNumberPattern>8776\d{4}</nationalNumberPattern>
4075 <exampleNumber>87761234</exampleNumber>
4079 <!-- Congo (Rep. of the) (Brazzaville) -->
4080 <territory id="CG" countryCode="242" internationalPrefix="00" leadingZeroPossible="true">
4082 <sourceUrl>http://www.itu.int/oth/T020200002E/en</sourceUrl>
4085 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
4086 <leadingDigits>[02]</leadingDigits>
4087 <format>$1 $2 $3</format>
4089 <numberFormat pattern="(\d)(\d{4})(\d{4})">
4090 <leadingDigits>8</leadingDigits>
4091 <format>$1 $2 $3</format>
4095 <nationalNumberPattern>[028]\d{8}</nationalNumberPattern>
4096 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4099 <nationalNumberPattern>222[1-589]\d{5}</nationalNumberPattern>
4100 <exampleNumber>222123456</exampleNumber>
4103 <nationalNumberPattern>0[14-6]\d{7}</nationalNumberPattern>
4104 <exampleNumber>061234567</exampleNumber>
4106 <!-- Referred to as a "Green number" in the telephone plan. -->
4108 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
4109 <exampleNumber>800123456</exampleNumber>
4113 <!-- Switzerland -->
4114 <territory id="CH" countryCode="41" internationalPrefix="00"
4115 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
4116 mobileNumberPortableRegion="true">
4118 <!-- Under Technical prescriptions: Numbering plan for international carriers. -->
4119 <sourceUrl>http://www.bakom.admin.ch/themen/telekom/00479/00604/index.html?lang=en</sourceUrl>
4122 <numberFormat pattern="([2-9]\d)(\d{3})(\d{2})(\d{2})">
4127 <format>$1 $2 $3 $4</format>
4129 <numberFormat pattern="([89]\d{2})(\d{3})(\d{3})">
4134 <format>$1 $2 $3</format>
4136 <numberFormat pattern="(\d{3})(\d{2})(\d{3})(\d{2})(\d{2})">
4137 <leadingDigits>860</leadingDigits>
4138 <format>$1 $2 $3 $4 $5</format>
4142 <nationalNumberPattern>
4145 </nationalNumberPattern>
4146 <possibleNumberPattern>\d{9}(?:\d{3})?</possibleNumberPattern>
4149 <nationalNumberPattern>
4158 </nationalNumberPattern>
4159 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4160 <exampleNumber>212345678</exampleNumber>
4163 <nationalNumberPattern>7[5-9]\d{7}</nationalNumberPattern>
4164 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4165 <exampleNumber>781234567</exampleNumber>
4168 <!-- https://www.eofcom.admin.ch/eofcom/public/listEofcom_e164Allocated.do -->
4169 <nationalNumberPattern>74[0248]\d{6}</nationalNumberPattern>
4170 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4171 <exampleNumber>740123456</exampleNumber>
4174 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
4175 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4176 <exampleNumber>800123456</exampleNumber>
4179 <nationalNumberPattern>90[016]\d{6}</nationalNumberPattern>
4180 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4181 <exampleNumber>900123456</exampleNumber>
4184 <nationalNumberPattern>84[0248]\d{6}</nationalNumberPattern>
4185 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4186 <exampleNumber>840123456</exampleNumber>
4189 <nationalNumberPattern>878\d{6}</nationalNumberPattern>
4190 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4191 <exampleNumber>878123456</exampleNumber>
4194 <!-- Used for corporate networks. -->
4195 <nationalNumberPattern>5[18]\d{7}</nationalNumberPattern>
4196 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4197 <exampleNumber>581234567</exampleNumber>
4200 <nationalNumberPattern>860\d{9}</nationalNumberPattern>
4201 <possibleNumberPattern>\d{12}</possibleNumberPattern>
4202 <exampleNumber>860123456789</exampleNumber>
4206 <!-- Côte d'Ivoire -->
4207 <territory id="CI" countryCode="225" internationalPrefix="00" leadingZeroPossible="true">
4209 <sourceUrl>http://www.itu.int/oth/T0202000031/en</sourceUrl>
4212 <!-- Using format from online yellow pages over format implied in national numbering plan.
4214 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
4215 <format>$1 $2 $3 $4</format>
4219 <nationalNumberPattern>[02-7]\d{7}</nationalNumberPattern>
4220 <possibleNumberPattern>\d{8}</possibleNumberPattern>
4223 <nationalNumberPattern>
4239 </nationalNumberPattern>
4240 <exampleNumber>21234567</exampleNumber>
4243 <!-- Added the prefixes 4[0-2] (Moov), 5[5-9] & 6[15] because SMS messages have been
4244 successfully delivered. Supported by numbers found on the internet. The prefix 56 was
4245 assigned to MTN in July 2013:
4246 http://www.atci.ci/images/stories/pdf/decisions-dg/decision_002.pdf
4247 The prefix 75 is from an open-source bug report.
4248 50 has been removed since Warid seems to have stopped operation in Côte d'Ivoire. -->
4249 <nationalNumberPattern>
4257 </nationalNumberPattern>
4258 <exampleNumber>01234567</exampleNumber>
4262 <!-- Cook Islands -->
4263 <territory id="CK" countryCode="682" internationalPrefix="00">
4265 <sourceUrl>http://www.itu.int/oth/T020200002F/en</sourceUrl>
4268 <numberFormat pattern="(\d{2})(\d{3})">
4269 <format>$1 $2</format>
4273 <nationalNumberPattern>[2-57]\d{4}</nationalNumberPattern>
4274 <possibleNumberPattern>\d{5}</possibleNumberPattern>
4277 <nationalNumberPattern>
4283 </nationalNumberPattern>
4284 <exampleNumber>21234</exampleNumber>
4287 <nationalNumberPattern>
4292 </nationalNumberPattern>
4293 <exampleNumber>71234</exampleNumber>
4298 <!-- Carriers listed here: http://www.turismochile.com/datos/carrier.php -->
4299 <territory id="CL" countryCode="56"
4300 internationalPrefix="(?:0|1(?:1[0-69]|2[0-57]|5[13-58]|69|7[0167]|8[018]))0"
4302 nationalPrefixForParsing="0|(1(?:1[0-69]|2[0-57]|5[13-58]|69|7[0167]|8[018]))"
4303 nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
4305 <sourceUrl>http://www.itu.int/oth/T020200002A/en</sourceUrl>
4306 <sourceUrl>http://en.wikipedia.org/wiki/%2B56</sourceUrl>
4307 <sourceUrl>http://www.subtel.gob.cl/base_numeracion/tabla_numeracion_ido_idd.xlsx</sourceUrl>
4309 <!-- When dialling mobile numbers from landlines, or vice versa, you need a prefix of 0, which
4310 we strip here. National destinations may be dialled with a carrier if they are not local
4311 so we extract these carrier codes as well. -->
4313 <numberFormat pattern="(\d)(\d{4})(\d{4})"
4314 nationalPrefixFormattingRule="($FG)"
4315 carrierCodeFormattingRule="$CC ($FG)">
4316 <leadingDigits>22</leadingDigits>
4317 <format>$1 $2 $3</format>
4319 <numberFormat pattern="(\d{2})(\d{3})(\d{4})"
4320 nationalPrefixFormattingRule="($FG)"
4321 carrierCodeFormattingRule="$CC ($FG)">
4327 <format>$1 $2 $3</format>
4329 <numberFormat pattern="(9)(\d{4})(\d{4})">
4330 <leadingDigits>9</leadingDigits>
4331 <format>$1 $2 $3</format>
4333 <numberFormat pattern="(44)(\d{3})(\d{4})">
4334 <leadingDigits>44</leadingDigits>
4335 <format>$1 $2 $3</format>
4337 <numberFormat nationalPrefixFormattingRule="$FG"
4338 pattern="([68]00)(\d{3})(\d{3,4})">
4343 <format>$1 $2 $3</format>
4345 <numberFormat nationalPrefixFormattingRule="$FG"
4346 pattern="(600)(\d{3})(\d{2})(\d{3})">
4347 <leadingDigits>60</leadingDigits>
4348 <format>$1 $2 $3 $4</format>
4350 <numberFormat nationalPrefixFormattingRule="$FG"
4351 pattern="(1230)(\d{3})(\d{4})">
4352 <leadingDigits>1</leadingDigits>
4353 <format>$1 $2 $3</format>
4355 <numberFormat pattern="(\d{5})(\d{4})"
4356 nationalPrefixFormattingRule="($FG)"
4357 carrierCodeFormattingRule="$CC ($FG)">
4358 <leadingDigits>219</leadingDigits>
4359 <format>$1 $2</format>
4361 <!-- Format some short numbers as a block. -->
4362 <numberFormat nationalPrefixFormattingRule="$FG"
4363 pattern="(\d{4,5})">
4364 <leadingDigits>[1-9]</leadingDigits>
4366 <intlFormat>NA</intlFormat>
4370 <nationalNumberPattern>
4376 </nationalNumberPattern>
4377 <possibleNumberPattern>\d{7,11}</possibleNumberPattern>
4379 <noInternationalDialling>
4380 <nationalNumberPattern>600\d{7,8}</nationalNumberPattern>
4381 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
4382 <exampleNumber>6001234567</exampleNumber>
4383 </noInternationalDialling>
4385 <!-- In mid-2013, Chile switched from 8 digits to 9 digits for fixed-line numbers, by
4386 inserting a '2' after the area code (which are 2 digits, with the exception of '2').
4387 As of Aug. 2014, all of the prefixes have been switched over to the new plan.
4388 IMPORTANT: The fact that Santiago numbers have a prefix of "22", and that numbers in
4389 other areas have '2' as their third digit, is likely to change in the future. At some
4390 stage, Santiago numbers will probably switch to prefix "2\d", and the third digit in
4391 other areas will probably be allowed to take on other values.
4392 See: http://www.gob.cl/especiales/informate-de-la-nueva-forma-de-marcar/
4393 http://www.subtel.cl/index.php?option=com_content&view=article&id=3081:&catid=3:noticias
4395 <nationalNumberPattern>
4406 </nationalNumberPattern>
4407 <!-- Area codes do not need to be dialled when dialling within the same area, so the
4408 smallest possible number is length 7. -->
4409 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
4410 <exampleNumber>221234567</exampleNumber>
4413 <nationalNumberPattern>9[4-9]\d{7}</nationalNumberPattern>
4414 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
4415 <exampleNumber>961234567</exampleNumber>
4417 <!-- Toll free patterns have been collected by looking at numbers on the internet, rather than
4418 from a definitive source. -->
4420 <!-- 1230 numbers are used by Visa/Mastercard helplines in Chile -->
4421 <nationalNumberPattern>
4424 </nationalNumberPattern>
4425 <possibleNumberPattern>\d{9,11}</possibleNumberPattern>
4426 <exampleNumber>800123456</exampleNumber>
4429 <!-- http://empresa.movistar.cl/nuestros_productos/soluciones_telefonia_ip/servicios/servicio_600.php -->
4430 <nationalNumberPattern>600\d{7,8}</nationalNumberPattern>
4431 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
4432 <exampleNumber>6001234567</exampleNumber>
4435 <nationalNumberPattern>44\d{7}</nationalNumberPattern>
4436 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4437 <exampleNumber>441234567</exampleNumber>
4442 <territory id="CM" countryCode="237" internationalPrefix="00">
4444 <sourceUrl>http://www.itu.int/oth/T0202000024/en</sourceUrl>
4445 <sourceUrl>http://www.itu.int/dms_pub/itu-t/opb/sp/T-SP-OB.1063-2014-OAS-PDF-E.pdf</sourceUrl>
4448 <!-- Formatting in the ITU update document aligns with formatting online (all 2 digit
4449 groups). For the new number format with 9 digits the first digit has it's own group.
4451 <numberFormat pattern="([26])(\d{2})(\d{2})(\d{2})(\d{2})">
4452 <leadingDigits>[26]</leadingDigits>
4453 <format>$1 $2 $3 $4 $5</format>
4455 <numberFormat pattern="([2357-9]\d)(\d{2})(\d{2})(\d{2})">
4460 <format>$1 $2 $3 $4</format>
4462 <numberFormat pattern="(800)(\d{2})(\d{3})">
4463 <leadingDigits>80</leadingDigits>
4464 <format>$1 $2 $3</format>
4468 <nationalNumberPattern>[235-9]\d{7,8}</nationalNumberPattern>
4469 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
4472 <!-- Temporarily allow both old (22|33) and new 2(22|33) format. -->
4473 <!-- CDMA numbers are described in a subcategory to fixed line numbers in the ITU update
4474 document, so those prefixes are added to fixed line (24[23]). -->
4475 <nationalNumberPattern>
4485 </nationalNumberPattern>
4486 <exampleNumber>222123456</exampleNumber>
4489 <!-- Temporarily allow both old [579]\d{7} and new 6[5-79]\d{7} format. -->
4490 <nationalNumberPattern>
4493 </nationalNumberPattern>
4494 <exampleNumber>671234567</exampleNumber>
4497 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
4498 <possibleNumberPattern>\d{8}</possibleNumberPattern>
4499 <exampleNumber>80012345</exampleNumber>
4502 <!-- These numbers are listed as value-added in the guide, and in practice seem to begin
4503 with 88 (usually 880). No information can be found as to whether these are premium rate
4505 <nationalNumberPattern>88\d{6}</nationalNumberPattern>
4506 <possibleNumberPattern>\d{8}</possibleNumberPattern>
4507 <exampleNumber>88012345</exampleNumber>
4512 <!-- The international/national prefix patterns must not collide with valid prefixes such
4513 as 170, 176, 177 and 178. 179XX00 is a valid calling prefix, see: www.chahaoba.com/179 -->
4514 <territory id="CN" countryCode="86" internationalPrefix="(1(?:[129]\d{3}|79\d{2}))?00"
4515 preferredInternationalPrefix="00" nationalPrefix="0"
4516 nationalPrefixForParsing="(1(?:[129]\d{3}|79\d{2}))|0">
4518 <sourceUrl>http://www.itu.int/oth/T020200002B/en</sourceUrl>
4521 <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(80\d{2})(\d{4})"
4522 nationalPrefixOptionalWhenFormatting="true"
4523 carrierCodeFormattingRule="$CC $FG">
4524 <leadingDigits>80[2678]</leadingDigits>
4525 <format>$1 $2</format>
4527 <numberFormat pattern="([48]00)(\d{3})(\d{4})">
4528 <leadingDigits>[48]00</leadingDigits>
4529 <format>$1 $2 $3</format>
4531 <!-- 100xx and 95xxx(x) short numbers without area codes. Without this rule, these short
4532 numbers will be formatted incorrectly by the AsYouTypeFormatter because they overlap
4533 with area codes 010, 095x. These numbers are defined in ShortNumberMetadata.xml but
4534 must be accounted for here. Note although ITU says the format is more like 95 xxx, in
4535 reality no space is used when writing such numbers in China. -->
4536 <numberFormat pattern="(\d{5,6})">
4542 <intlFormat>NA</intlFormat>
4544 <!-- 100xx and 95xxx(x) numbers with area codes (these numbers without an area code are now
4545 dealt with by ShortNumberMetadata.xml) and 96xxx(x) numbers with area codes (we don't
4546 support these as short numbers because they are only unique within a province, not
4547 within a country). -->
4548 <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(\d{2})(\d{5,6})"
4549 carrierCodeFormattingRule="$CC $FG">
4574 <format>$1 $2</format>
4576 <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(\d{3})(\d{5,6})"
4577 carrierCodeFormattingRule="$CC $FG">
4578 <leadingDigits>[3-9]</leadingDigits>
4579 <leadingDigits>[3-9]\d{2}[19]</leadingDigits>
4586 <format>$1 $2</format>
4588 <!-- Local numbers -->
4589 <!-- Chinese fixed-line numbers can be dialed from a cell phone without area code and they
4590 can be 7 to 8 digits. This rule is here to make formatting work with such numbers, as
4591 people frequently store them in their cellphones. It has to stay before formatting
4592 rules for fixed-line numbers to make AsYouTypeFormatter work with these numbers. The
4593 leadingDigits prefix makes sure it doesn't clash with mobile numbers. -->
4594 <numberFormat pattern="(\d{3,4})(\d{4})">
4595 <leadingDigits>[2-9]</leadingDigits>
4596 <format>$1 $2</format>
4597 <intlFormat>NA</intlFormat>
4599 <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(21)(\d{4})(\d{4,6})"
4600 nationalPrefixOptionalWhenFormatting="true"
4601 carrierCodeFormattingRule="$CC $FG">
4602 <leadingDigits>21</leadingDigits>
4603 <format>$1 $2 $3</format>
4605 <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="([12]\d)(\d{4})(\d{4})"
4606 nationalPrefixOptionalWhenFormatting="true"
4607 carrierCodeFormattingRule="$CC $FG">
4612 <!-- Note the leadingDigitsPattern for 4 digits is the same as 3 digits, -->
4627 <format>$1 $2 $3</format>
4629 <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(\d{3})(\d{4})(\d{4})"
4630 nationalPrefixOptionalWhenFormatting="true"
4631 carrierCodeFormattingRule="$CC $FG">
4660 <format>$1 $2 $3</format>
4662 <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(\d{3})(\d{3})(\d{4})"
4663 nationalPrefixOptionalWhenFormatting="true"
4664 carrierCodeFormattingRule="$CC $FG">
4721 <format>$1 $2 $3</format>
4723 <numberFormat pattern="(\d{3})(\d{4})(\d{4})" carrierCodeFormattingRule="$CC $FG">
4724 <leadingDigits>1[3-578]</leadingDigits>
4725 <format>$1 $2 $3</format>
4727 <numberFormat pattern="(10800)(\d{3})(\d{4})">
4728 <leadingDigits>108</leadingDigits>
4729 <leadingDigits>1080</leadingDigits>
4730 <leadingDigits>10800</leadingDigits>
4731 <format>$1 $2 $3</format>
4733 <numberFormat pattern="(\d{3})(\d{7,8})">
4734 <leadingDigits>950</leadingDigits>
4735 <format>$1 $2</format>
4739 <nationalNumberPattern>
4743 </nationalNumberPattern>
4744 <possibleNumberPattern>\d{4,12}</possibleNumberPattern>
4746 <noInternationalDialling>
4747 <nationalNumberPattern>
4755 </nationalNumberPattern>
4756 <possibleNumberPattern>\d{10,12}</possibleNumberPattern>
4757 <exampleNumber>4001234567</exampleNumber>
4758 </noInternationalDialling>
4760 <!-- 0432 increased to 8 digits on October 24, 2009. 0791 increased to 8 digits on August
4761 28, 2011. 0551 increased to 8 digits and 0565 was cancelled on Dec 8, 2012. 0871
4762 increased to 8 digits on December 16, 2012. 0475 is the prefix for Tongliao but is not
4764 10xxx and 95xxx(x) numbers with area codes are also included here, as they behave
4765 exactly like fixed-line numbers. We don't support them for 4-digit area codes though,
4766 as they don't seem to be used there based on making actual phone calls.
4768 <nationalNumberPattern>
4877 </nationalNumberPattern>
4878 <exampleNumber>1012345678</exampleNumber>
4881 <!-- 170, 176, 177 and 178 prefixes are introduced in early 2014 for 4G networks. -->
4882 <nationalNumberPattern>
4889 </nationalNumberPattern>
4890 <possibleNumberPattern>\d{11}</possibleNumberPattern>
4891 <exampleNumber>13123456789</exampleNumber>
4893 <!-- Toll free, premium rate, and VoIP numbers are not clearly defined in the official Chinese
4894 number plan, and do not seem to have been standardized. The information below is
4895 collected from searching the web. -->
4896 <!-- http://en.wikipedia.org/wiki/Toll-free_telephone_number -->
4898 <nationalNumberPattern>
4902 </nationalNumberPattern>
4903 <possibleNumberPattern>\d{10,12}</possibleNumberPattern>
4904 <exampleNumber>8001234567</exampleNumber>
4907 <nationalNumberPattern>16[08]\d{5}</nationalNumberPattern>
4908 <possibleNumberPattern>\d{8}</possibleNumberPattern>
4909 <exampleNumber>16812345</exampleNumber>
4912 <!-- 96xxx(x) numbers with area codes are included here. Their costs are not well
4913 documented, but they are thought to be mostly local costs with certain exceptions. We
4914 don't support them for 4-digit area codes though, as they don't seem to be used there
4915 based on online searches. -->
4916 <nationalNumberPattern>
4972 </nationalNumberPattern>
4973 <possibleNumberPattern>\d{7,11}</possibleNumberPattern>
4974 <exampleNumber>4001234567</exampleNumber>
4979 <!-- Extra international dialling prefixes from http://www.claro.com.co and
4980 http://www.tigo.com.co. -->
4981 <!-- 05 and 005 are for Orbitel: co.orbitel.com -->
4982 <territory id="CO" countryCode="57" internationalPrefix="00(?:4(?:[14]4|56)|[579])"
4983 nationalPrefix="0" nationalPrefixForParsing="0([3579]|4(?:44|56))?"
4984 mobileNumberPortableRegion="true">
4986 <sourceUrl>http://www.itu.int/oth/T020200002C/en</sourceUrl>
4987 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Colombia</sourceUrl>
4990 <numberFormat pattern="(\d)(\d{7})" carrierCodeFormattingRule="$NP$CC $FG"
4991 nationalPrefixFormattingRule="($FG)">
5011 <format>$1 $2</format>
5013 <numberFormat pattern="(\d{3})(\d{7})" carrierCodeFormattingRule="$NP$CC $FG">
5014 <leadingDigits>3</leadingDigits>
5015 <format>$1 $2</format>
5017 <numberFormat pattern="(1)(\d{3})(\d{7})" nationalPrefixFormattingRule="$NP$FG">
5033 <format>$1-$2-$3</format>
5034 <intlFormat>$1 $2 $3</intlFormat>
5038 <nationalNumberPattern>
5043 </nationalNumberPattern>
5044 <possibleNumberPattern>\d{7,11}</possibleNumberPattern>
5047 <nationalNumberPattern>[124-8][2-9]\d{6}</nationalNumberPattern>
5048 <possibleNumberPattern>\d{8}</possibleNumberPattern>
5049 <exampleNumber>12345678</exampleNumber>
5052 <nationalNumberPattern>
5059 </nationalNumberPattern>
5060 <possibleNumberPattern>\d{10}</possibleNumberPattern>
5061 <exampleNumber>3211234567</exampleNumber>
5064 <nationalNumberPattern>1800\d{7}</nationalNumberPattern>
5065 <possibleNumberPattern>\d{11}</possibleNumberPattern>
5066 <exampleNumber>18001234567</exampleNumber>
5069 <nationalNumberPattern>
5074 </nationalNumberPattern>
5075 <possibleNumberPattern>\d{11}</possibleNumberPattern>
5076 <exampleNumber>19001234567</exampleNumber>
5081 <territory id="CR" countryCode="506" internationalPrefix="00"
5082 nationalPrefixForParsing="(19(?:0[012468]|1[09]|20|66|77|99))"
5083 carrierCodeFormattingRule="$CC $FG">
5085 <sourceUrl>http://www.itu.int/oth/T0202000030/en</sourceUrl>
5088 <numberFormat pattern="(\d{4})(\d{4})">
5093 <format>$1 $2</format>
5095 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
5096 <leadingDigits>[89]0</leadingDigits>
5097 <format>$1-$2-$3</format>
5101 <nationalNumberPattern>[24-9]\d{7,9}</nationalNumberPattern>
5102 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
5105 <nationalNumberPattern>2[24-7]\d{6}</nationalNumberPattern>
5106 <possibleNumberPattern>\d{8}</possibleNumberPattern>
5107 <exampleNumber>22123456</exampleNumber>
5110 <nationalNumberPattern>
5121 </nationalNumberPattern>
5122 <possibleNumberPattern>\d{8}</possibleNumberPattern>
5123 <exampleNumber>83123456</exampleNumber>
5126 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
5127 <possibleNumberPattern>\d{10}</possibleNumberPattern>
5128 <exampleNumber>8001234567</exampleNumber>
5131 <!-- Includes "mass calls" numbers with prefix 905. -->
5132 <nationalNumberPattern>90[059]\d{7}</nationalNumberPattern>
5133 <possibleNumberPattern>\d{10}</possibleNumberPattern>
5134 <exampleNumber>9001234567</exampleNumber>
5137 <!-- Including trunking service numbers starting with 5100. 4001 (callmyway.com) was added
5138 from an open-source bug report supported by numbers found online. -->
5139 <nationalNumberPattern>
5162 </nationalNumberPattern>
5163 <possibleNumberPattern>\d{8}</possibleNumberPattern>
5164 <exampleNumber>40001234</exampleNumber>
5169 <territory id="CU" countryCode="53" internationalPrefix="119"
5170 nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)">
5172 <sourceUrl>http://www.itu.int/oth/T0202000033/en</sourceUrl>
5175 <numberFormat pattern="(\d)(\d{6,7})">
5176 <leadingDigits>7</leadingDigits>
5177 <format>$1 $2</format>
5179 <numberFormat pattern="(\d{2})(\d{4,6})">
5180 <leadingDigits>[2-4]</leadingDigits>
5181 <format>$1 $2</format>
5183 <numberFormat pattern="(\d)(\d{7})" nationalPrefixFormattingRule="$NP$FG">
5184 <leadingDigits>5</leadingDigits>
5185 <format>$1 $2</format>
5189 <nationalNumberPattern>[2-57]\d{5,7}</nationalNumberPattern>
5190 <possibleNumberPattern>\d{4,8}</possibleNumberPattern>
5193 <nationalNumberPattern>
5205 </nationalNumberPattern>
5206 <exampleNumber>71234567</exampleNumber>
5209 <nationalNumberPattern>5\d{7}</nationalNumberPattern>
5210 <possibleNumberPattern>\d{8}</possibleNumberPattern>
5211 <exampleNumber>51234567</exampleNumber>
5216 <territory id="CV" countryCode="238" internationalPrefix="0">
5218 <sourceUrl>http://www.itu.int/oth/T0202000026/en</sourceUrl>
5221 <numberFormat pattern="(\d{3})(\d{2})(\d{2})">
5222 <format>$1 $2 $3</format>
5226 <nationalNumberPattern>[259]\d{6}</nationalNumberPattern>
5227 <possibleNumberPattern>\d{7}</possibleNumberPattern>
5230 <nationalNumberPattern>
5240 </nationalNumberPattern>
5241 <exampleNumber>2211234</exampleNumber>
5244 <!-- It seems, contrary to their numbering plan, the entire 9X range is used for mobile
5245 phones. SMS messages has been successfully sent to numbers starting with 95 and 97 for
5246 example, and there are plenty of numbers on the internet that start with these
5248 <nationalNumberPattern>
5253 </nationalNumberPattern>
5254 <exampleNumber>9911234</exampleNumber>
5259 <territory id="CW" countryCode="599" internationalPrefix="00" mainCountryForCode="true">
5261 <sourceUrl>http://www.itu.int/oth/T02020000F5/en</sourceUrl>
5263 <!-- All the formatting patterns for country-code 599 are here. -->
5265 <numberFormat pattern="(\d{3})(\d{4})">
5266 <leadingDigits>[13-7]</leadingDigits>
5267 <format>$1 $2</format>
5269 <numberFormat pattern="(9)(\d{3})(\d{4})">
5270 <leadingDigits>9</leadingDigits>
5271 <format>$1 $2 $3</format>
5275 <nationalNumberPattern>[169]\d{6,7}</nationalNumberPattern>
5276 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
5279 <nationalNumberPattern>
5291 </nationalNumberPattern>
5292 <exampleNumber>94151234</exampleNumber>
5295 <nationalNumberPattern>
5306 </nationalNumberPattern>
5307 <exampleNumber>95181234</exampleNumber>
5310 <nationalNumberPattern>955\d{5}</nationalNumberPattern>
5311 <exampleNumber>95581234</exampleNumber>
5314 <!-- Value-added services are lumped together under shared cost, since we are not sure
5315 exactly what they are. -->
5316 <nationalNumberPattern>
5321 </nationalNumberPattern>
5322 <possibleNumberPattern>\d{7}</possibleNumberPattern>
5323 <exampleNumber>1011234</exampleNumber>
5327 <!-- Christmas Islands -->
5328 <!-- Metadata shared with Australia. -->
5329 <!-- References state Christmas Islands have fixed line numbers starting +61 8 9164. -->
5330 <territory id="CX" countryCode="61" preferredInternationalPrefix="0011"
5331 internationalPrefix="(?:14(?:1[14]|34|4[17]|[56]6|7[47]|88))?001[14-689]"
5334 <sourceUrl>http://en.wikipedia.org/wiki/List_of_country_calling_codes</sourceUrl>
5335 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Australia</sourceUrl>
5337 <!-- Uses AU formatting rules. -->
5338 <!-- General desc and fixed line rules different from Australia. -->
5340 <nationalNumberPattern>[1458]\d{5,9}</nationalNumberPattern>
5341 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
5344 <nationalNumberPattern>89164\d{4}</nationalNumberPattern>
5345 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
5346 <exampleNumber>891641234</exampleNumber>
5348 <!-- Mobile, toll free, premium rate, personal number and VOIP copied from Australia. -->
5350 <nationalNumberPattern>
5365 </nationalNumberPattern>
5366 <possibleNumberPattern>\d{9}</possibleNumberPattern>
5367 <exampleNumber>412345678</exampleNumber>
5370 <nationalNumberPattern>
5379 </nationalNumberPattern>
5380 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
5381 <exampleNumber>1800123456</exampleNumber>
5384 <nationalNumberPattern>190[0126]\d{6}</nationalNumberPattern>
5385 <possibleNumberPattern>\d{10}</possibleNumberPattern>
5386 <exampleNumber>1900123456</exampleNumber>
5389 <nationalNumberPattern>500\d{6}</nationalNumberPattern>
5390 <possibleNumberPattern>\d{9}</possibleNumberPattern>
5391 <exampleNumber>500123456</exampleNumber>
5394 <nationalNumberPattern>550\d{6}</nationalNumberPattern>
5395 <possibleNumberPattern>\d{9}</possibleNumberPattern>
5396 <exampleNumber>550123456</exampleNumber>
5401 <territory id="CY" countryCode="357" internationalPrefix="00" mobileNumberPortableRegion="true">
5403 <sourceUrl>http://www.itu.int/oth/T0202000034/en</sourceUrl>
5406 <!-- Format from http://www.cyprusyellowpages.com -->
5407 <numberFormat pattern="(\d{2})(\d{6})">
5408 <format>$1 $2</format>
5412 <nationalNumberPattern>[257-9]\d{7}</nationalNumberPattern>
5413 <possibleNumberPattern>\d{8}</possibleNumberPattern>
5416 <nationalNumberPattern>2[2-6]\d{6}</nationalNumberPattern>
5417 <exampleNumber>22345678</exampleNumber>
5420 <!-- Includes paging numbers (they are mixed into the same block). -->
5421 <nationalNumberPattern>9[5-79]\d{6}</nationalNumberPattern>
5422 <exampleNumber>96123456</exampleNumber>
5425 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
5426 <exampleNumber>80001234</exampleNumber>
5429 <nationalNumberPattern>90[09]\d{5}</nationalNumberPattern>
5430 <exampleNumber>90012345</exampleNumber>
5433 <nationalNumberPattern>80[1-9]\d{5}</nationalNumberPattern>
5434 <exampleNumber>80112345</exampleNumber>
5437 <nationalNumberPattern>700\d{5}</nationalNumberPattern>
5438 <exampleNumber>70012345</exampleNumber>
5441 <!-- Using for Corporate Network numbers and Universal Service numbers. -->
5442 <nationalNumberPattern>
5447 </nationalNumberPattern>
5448 <exampleNumber>77123456</exampleNumber>
5453 <territory id="CZ" countryCode="420" internationalPrefix="00" mobileNumberPortableRegion="true">
5455 <sourceUrl>http://www.itu.int/oth/T0202000035/en</sourceUrl>
5456 <sourceUrl>http://en.wikipedia.org/wiki/%2B420</sourceUrl>
5459 <numberFormat pattern="([2-9]\d{2})(\d{3})(\d{3})">
5464 <format>$1 $2 $3</format>
5466 <numberFormat pattern="(96\d)(\d{3})(\d{3})(\d{3})">
5467 <leadingDigits>96</leadingDigits>
5468 <format>$1 $2 $3 $4</format>
5470 <numberFormat pattern="(9\d)(\d{3})(\d{3})(\d{3})">
5471 <leadingDigits>9[36]</leadingDigits>
5472 <format>$1 $2 $3 $4</format>
5476 <nationalNumberPattern>
5479 </nationalNumberPattern>
5480 <possibleNumberPattern>\d{9,12}</possibleNumberPattern>
5483 <nationalNumberPattern>
5490 </nationalNumberPattern>
5491 <exampleNumber>212345678</exampleNumber>
5494 <nationalNumberPattern>
5502 </nationalNumberPattern>
5503 <exampleNumber>601123456</exampleNumber>
5506 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
5507 <exampleNumber>800123456</exampleNumber>
5510 <!-- Includes premium rate dial-up. -->
5511 <nationalNumberPattern>
5516 </nationalNumberPattern>
5517 <exampleNumber>900123456</exampleNumber>
5520 <nationalNumberPattern>8[134]\d{7}</nationalNumberPattern>
5521 <exampleNumber>811234567</exampleNumber>
5524 <nationalNumberPattern>70[01]\d{6}</nationalNumberPattern>
5525 <exampleNumber>700123456</exampleNumber>
5528 <nationalNumberPattern>9[17]0\d{6}</nationalNumberPattern>
5529 <exampleNumber>910123456</exampleNumber>
5532 <!-- Numbers belonging to private communication networks are included here. These are
5533 classified as Institutional networks, belonging to institutions like the police, armed
5534 forces and railways, along with a couple of formerly government-owned banks. These
5535 numbers are reachable by the public. -->
5536 <nationalNumberPattern>
5541 </nationalNumberPattern>
5542 <exampleNumber>972123456</exampleNumber>
5545 <nationalNumberPattern>
5550 </nationalNumberPattern>
5551 <possibleNumberPattern>\d{9,12}</possibleNumberPattern>
5552 <exampleNumber>93123456789</exampleNumber>
5557 <territory id="DE" countryCode="49" internationalPrefix="00"
5558 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
5559 mobileNumberPortableRegion="true">
5561 <sourceUrl>http://www.itu.int/oth/T0202000051/en</sourceUrl>
5562 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_germany</sourceUrl>
5565 <!-- Mobile number formatting rules. We follow the ITU document here for guidance on how
5566 these should best be formatted, even though actual usage varies. -->
5567 <numberFormat pattern="(1\d{2})(\d{7,8})">
5568 <leadingDigits>1[67]</leadingDigits>
5569 <format>$1 $2</format>
5571 <numberFormat pattern="(1\d{3})(\d{7})">
5572 <leadingDigits>15</leadingDigits>
5573 <format>$1 $2</format>
5575 <numberFormat pattern="(\d{2})(\d{3,11})">
5581 <format>$1 $2</format>
5583 <!-- The order of the rules on 3-5 digits area code matter as fallback is used here. -->
5584 <!-- 3 digit area codes. -->
5585 <numberFormat pattern="(\d{3})(\d{3,11})">
5604 <format>$1 $2</format>
5606 <!-- 4 digit area codes. -->
5607 <numberFormat pattern="(\d{4})(\d{2,11})">
5692 <format>$1 $2</format>
5694 <!-- 5 digit area codes. -->
5695 <numberFormat pattern="(3\d{4})(\d{1,10})">
5696 <leadingDigits>3</leadingDigits>
5697 <format>$1 $2</format>
5699 <!-- Note: this is getting ridiculous! How can we format these better? -->
5700 <numberFormat pattern="(800)(\d{7,12})">
5701 <leadingDigits>800</leadingDigits>
5702 <format>$1 $2</format>
5704 <!-- Voicemail access numbers for the carrier Blau. -->
5705 <numberFormat pattern="(177)(99)(\d{7,8})">
5706 <leadingDigits>177</leadingDigits>
5707 <leadingDigits>1779</leadingDigits>
5708 <leadingDigits>17799</leadingDigits>
5709 <format>$1 $2 $3</format>
5711 <numberFormat pattern="(\d{3})(\d)(\d{4,10})">
5726 <format>$1 $2 $3</format>
5728 <numberFormat pattern="(1\d{2})(\d{5,11})">
5729 <leadingDigits>181</leadingDigits>
5730 <format>$1 $2</format>
5732 <!-- Where we have seen prefixes in use for the IVPN/User Group numbers, we format it the
5733 way it is generally written. For other prefixes, we fall back to using a three-digit
5734 prefix since we have currently no more information to allow us to format these more
5736 <numberFormat pattern="(18\d{3})(\d{6})">
5737 <leadingDigits>185</leadingDigits>
5738 <leadingDigits>1850</leadingDigits>
5739 <leadingDigits>18500</leadingDigits>
5740 <format>$1 $2</format>
5742 <numberFormat pattern="(18\d{2})(\d{7})">
5743 <leadingDigits>18[68]</leadingDigits>
5744 <format>$1 $2</format>
5746 <numberFormat pattern="(18\d)(\d{8})">
5747 <leadingDigits>18[2-579]</leadingDigits>
5748 <format>$1 $2</format>
5750 <numberFormat pattern="(700)(\d{4})(\d{4})">
5751 <leadingDigits>700</leadingDigits>
5752 <format>$1 $2 $3</format>
5754 <numberFormat pattern="(138)(\d{4})">
5755 <leadingDigits>138</leadingDigits>
5756 <format>$1 $2</format>
5760 <!-- When deciding whether to assume a leading 49 is a country code or not, the number is
5761 examined to see if it is valid with the 49 as part of the number. Due to the variable
5762 length of German numbers, this test is hard to do. The national pattern is hence
5763 stricter for numbers starting with 49, to try and remove the country code if the number
5764 begins with 49 whenever possible. -->
5765 <nationalNumberPattern>
5779 </nationalNumberPattern>
5780 <possibleNumberPattern>\d{2,15}</possibleNumberPattern>
5783 <!-- The numbering plan defines rather optimistic longest-number limits - online numbers
5784 don't seem to respect this. The max-length is hence extended. -->
5785 <nationalNumberPattern>
5812 </nationalNumberPattern>
5813 <exampleNumber>30123456</exampleNumber>
5817 http://www.bundesnetzagentur.de/SharedDocs/Downloads/DE/BNetzA/Sachgebiete/Telekommunikation/Regulierung/Nummernverwaltung/Mobilfunkdienste/NummernplanMobileDienstepdf.pdf?__blob=publicationFile
5818 numbers beginning with 162, 163 and 17 can all be 10 or 11 digits long.
5819 The ranges 15[056] have been removed from the ITU doc, but information found online
5820 indicates that they may still be working.
5822 <nationalNumberPattern>
5831 </nationalNumberPattern>
5832 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
5833 <exampleNumber>15123456789</exampleNumber>
5836 <nationalNumberPattern>
5841 </nationalNumberPattern>
5842 <possibleNumberPattern>\d{4,14}</possibleNumberPattern>
5843 <exampleNumber>16412345</exampleNumber>
5846 <nationalNumberPattern>800\d{7,12}</nationalNumberPattern>
5847 <possibleNumberPattern>\d{10,15}</possibleNumberPattern>
5848 <exampleNumber>8001234567890</exampleNumber>
5851 <!-- Includes the more expensive of the "televoting" line numbers. See the shared cost
5852 section for more information. -->
5853 <nationalNumberPattern>
5859 </nationalNumberPattern>
5860 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
5861 <exampleNumber>9001234567</exampleNumber>
5864 <!-- Includes some mass-traffic numbers, used for e.g. phone voting, raffles, since their
5865 costs when dialling from a fixed-line phone is similar.
5867 http://www.billiger-telefonieren.de/0180-0137-0900-sonderrufnummern/
5869 http://www.bundesnetzagentur.de/SharedDocs/Downloads/DE/Sachgebiete/Telekommunikation/Unternehmen_Institutionen/Nummerierung/Rufnummern/0137/0137_Nummernplan.pdf?__blob=publicationFile&v=2
5871 <nationalNumberPattern>
5879 </nationalNumberPattern>
5880 <possibleNumberPattern>\d{7,14}</possibleNumberPattern>
5881 <exampleNumber>18012345</exampleNumber>
5884 <nationalNumberPattern>700\d{8}</nationalNumberPattern>
5885 <possibleNumberPattern>\d{11}</possibleNumberPattern>
5886 <exampleNumber>70012345678</exampleNumber>
5889 <!-- Using UAN for numbers marked in the plan as being assigned to International Virtual
5890 Private Networks (0181) & User Groups (018[2-9]). These seem in practice to be assigned
5891 to companies. More information here: http://de.wikipedia.org/wiki/Vorwahl_01 -->
5892 <nationalNumberPattern>
5897 </nationalNumberPattern>
5898 <possibleNumberPattern>\d{8,14}</possibleNumberPattern>
5899 <exampleNumber>18500123456</exampleNumber>
5902 <nationalNumberPattern>17799\d{7,8}</nationalNumberPattern>
5903 <possibleNumberPattern>\d{12,13}</possibleNumberPattern>
5904 <exampleNumber>177991234567</exampleNumber>
5909 <territory id="DJ" countryCode="253" internationalPrefix="00">
5911 <sourceUrl>http://www.itu.int/oth/T020200003A/en</sourceUrl>
5914 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
5915 <format>$1 $2 $3 $4</format>
5919 <nationalNumberPattern>[27]\d{7}</nationalNumberPattern>
5920 <possibleNumberPattern>\d{8}</possibleNumberPattern>
5923 <!-- Includes "Numéro long CDMA fixe" numbers. -->
5924 <nationalNumberPattern>
5929 </nationalNumberPattern>
5930 <exampleNumber>21360003</exampleNumber>
5933 <nationalNumberPattern>77[6-8]\d{5}</nationalNumberPattern>
5934 <exampleNumber>77831001</exampleNumber>
5939 <territory id="DK" countryCode="45" internationalPrefix="00" mobileNumberPortableRegion="true">
5941 <sourceUrl>http://www.dba.erhvervsstyrelsen.dk/numbering-lists</sourceUrl>
5944 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
5945 <format>$1 $2 $3 $4</format>
5949 <nationalNumberPattern>[2-9]\d{7}</nationalNumberPattern>
5950 <possibleNumberPattern>\d{8}</possibleNumberPattern>
5952 <!-- Note that "mainly mobile" and "mainly fixed-line" are put under both number types to be
5955 <nationalNumberPattern>
5961 </nationalNumberPattern>
5962 <exampleNumber>32123456</exampleNumber>
5965 <nationalNumberPattern>
5971 </nationalNumberPattern>
5972 <exampleNumber>20123456</exampleNumber>
5975 <nationalNumberPattern>80\d{6}</nationalNumberPattern>
5976 <exampleNumber>80123456</exampleNumber>
5979 <nationalNumberPattern>90\d{6}</nationalNumberPattern>
5980 <exampleNumber>90123456</exampleNumber>
5985 <territory id="DM" countryCode="1" leadingDigits="767" nationalPrefix="1"
5986 internationalPrefix="011">
5988 <sourceUrl>http://www.itu.int/oth/T020200003B/en</sourceUrl>
5991 <!-- NANPA country - uses US formatting rules -->
5992 <nationalNumberPattern>[57-9]\d{9}</nationalNumberPattern>
5993 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
5996 <nationalNumberPattern>
6009 </nationalNumberPattern>
6010 <exampleNumber>7674201234</exampleNumber>
6013 <!-- Adding 61[237], 285 and 295 since online numbers have been found with this prefix. -->
6014 <nationalNumberPattern>
6023 </nationalNumberPattern>
6024 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6025 <exampleNumber>7672251234</exampleNumber>
6028 <nationalNumberPattern>
6037 </nationalNumberPattern>
6038 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6039 <exampleNumber>8002123456</exampleNumber>
6042 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
6043 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6044 <exampleNumber>9002123456</exampleNumber>
6047 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
6048 <nationalNumberPattern>
6056 </nationalNumberPattern>
6057 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6058 <exampleNumber>5002345678</exampleNumber>
6062 <!-- Dominican Rep. -->
6063 <territory id="DO" countryCode="1" leadingDigits="8[024]9" nationalPrefix="1"
6064 internationalPrefix="011" mobileNumberPortableRegion="true">
6066 <sourceUrl>http://www.itu.int/oth/T020200003C/en</sourceUrl>
6069 <!-- NANPA country - uses US formatting rules -->
6070 <nationalNumberPattern>[589]\d{9}</nationalNumberPattern>
6071 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
6074 <!-- The ITU data seems to be somewhat incomplete. We ensure that the fully-specified mobile
6075 prefixes in the document are classified as such by excluding them from the fixed-line
6076 ranges, but other than this have a generic rule. -->
6077 <nationalNumberPattern>
6127 </nationalNumberPattern>
6128 <exampleNumber>8092345678</exampleNumber>
6131 <nationalNumberPattern>8[024]9[2-9]\d{6}</nationalNumberPattern>
6132 <exampleNumber>8092345678</exampleNumber>
6135 <nationalNumberPattern>
6144 </nationalNumberPattern>
6145 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6146 <exampleNumber>8002123456</exampleNumber>
6149 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
6150 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6151 <exampleNumber>9002123456</exampleNumber>
6154 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
6155 <nationalNumberPattern>
6163 </nationalNumberPattern>
6164 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6165 <exampleNumber>5002345678</exampleNumber>
6170 <territory id="DZ" countryCode="213" internationalPrefix="00"
6171 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
6173 <sourceUrl>http://www.itu.int/oth/T0202000003/en</sourceUrl>
6174 <sourceUrl>http://www.arpt.dz</sourceUrl>
6177 <!-- Formatting from http://www.pagesjaunes-dz.com. -->
6178 <numberFormat pattern="([1-4]\d)(\d{2})(\d{2})(\d{2})">
6179 <leadingDigits>[1-4]</leadingDigits>
6180 <format>$1 $2 $3 $4</format>
6182 <numberFormat pattern="([5-8]\d{2})(\d{2})(\d{2})(\d{2})">
6183 <leadingDigits>[5-8]</leadingDigits>
6184 <format>$1 $2 $3 $4</format>
6186 <numberFormat pattern="(9\d)(\d{3})(\d{2})(\d{2})">
6187 <leadingDigits>9</leadingDigits>
6188 <format>$1 $2 $3 $4</format>
6192 <nationalNumberPattern>
6197 </nationalNumberPattern>
6198 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
6201 <!-- We include the VSAT lines here. -->
6202 <nationalNumberPattern>
6210 </nationalNumberPattern>
6211 <exampleNumber>12345678</exampleNumber>
6214 <!-- Adding 65 and 78 from numbers found online. Also, prefix 670 is added since the carrier
6215 Mobilis Algeria provided it, and 54 for Nedjma. Prefixes 67[1-4] were also added for
6216 Mobilis Algeria based on evidence found online. -->
6217 <nationalNumberPattern>
6226 </nationalNumberPattern>
6227 <possibleNumberPattern>\d{9}</possibleNumberPattern>
6228 <exampleNumber>551234567</exampleNumber>
6231 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
6232 <possibleNumberPattern>\d{9}</possibleNumberPattern>
6233 <exampleNumber>800123456</exampleNumber>
6236 <nationalNumberPattern>80[3-689]1\d{5}</nationalNumberPattern>
6237 <possibleNumberPattern>\d{9}</possibleNumberPattern>
6238 <exampleNumber>808123456</exampleNumber>
6240 <!-- The Algerian plan doesn't specify where the costs start to be considered "premium", so we
6241 draw an arbitrary line here and say that from 50 Da up they will be considered premium.
6244 <nationalNumberPattern>80[12]1\d{5}</nationalNumberPattern>
6245 <possibleNumberPattern>\d{9}</possibleNumberPattern>
6246 <exampleNumber>801123456</exampleNumber>
6249 <nationalNumberPattern>98[23]\d{6}</nationalNumberPattern>
6250 <possibleNumberPattern>\d{9}</possibleNumberPattern>
6251 <exampleNumber>983123456</exampleNumber>
6256 <territory id="EC" countryCode="593" internationalPrefix="00"
6257 nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)"
6258 mobileNumberPortableRegion="true">
6260 <sourceUrl>http://en.wikipedia.org/wiki/+593</sourceUrl>
6261 <sourceUrl>http://www.conatel.gob.ec/site_conatel/index.php?option=com_content&view=category&layout=blog&id=52&Itemid=153</sourceUrl>
6262 <sourceUrl>http://www.itu.int/oth/T020200003D/en</sourceUrl>
6265 <numberFormat pattern="(\d)(\d{3})(\d{4})">
6270 <format>$1 $2-$3</format>
6271 <intlFormat>$1-$2-$3</intlFormat>
6273 <!-- Formatting for the new longer mobile numbers comes from the advertisements about the
6274 change on the http://www.conatel.gob.ec site. -->
6275 <numberFormat pattern="(\d{2})(\d{3})(\d{4})" nationalPrefixFormattingRule="$NP$FG">
6276 <leadingDigits>9</leadingDigits>
6277 <format>$1 $2 $3</format>
6279 <numberFormat pattern="(1800)(\d{3})(\d{3,4})" nationalPrefixFormattingRule="$FG">
6280 <leadingDigits>1</leadingDigits>
6281 <format>$1 $2 $3</format>
6285 <nationalNumberPattern>
6289 </nationalNumberPattern>
6290 <possibleNumberPattern>\d{7,11}</possibleNumberPattern>
6293 <nationalNumberPattern>[2-7][2-7]\d{6}</nationalNumberPattern>
6294 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
6295 <exampleNumber>22123456</exampleNumber>
6298 <nationalNumberPattern>
6305 </nationalNumberPattern>
6306 <possibleNumberPattern>\d{9}</possibleNumberPattern>
6307 <exampleNumber>991234567</exampleNumber>
6310 <nationalNumberPattern>1800\d{6,7}</nationalNumberPattern>
6311 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
6312 <exampleNumber>18001234567</exampleNumber>
6315 <nationalNumberPattern>[2-7]890\d{4}</nationalNumberPattern>
6316 <possibleNumberPattern>\d{8}</possibleNumberPattern>
6317 <exampleNumber>28901234</exampleNumber>
6322 <territory id="EE" countryCode="372" internationalPrefix="00" mobileNumberPortableRegion="true">
6324 <sourceUrl>http://www.itu.int/oth/T0202000043/en</sourceUrl>
6325 <sourceUrl>http://www.tja.ee/public/Legislation_side/Numbering_/Estonian_NP_eng.htm</sourceUrl>
6328 <numberFormat pattern="([3-79]\d{2})(\d{4})">
6356 <format>$1 $2</format>
6358 <numberFormat pattern="(70)(\d{2})(\d{4})">
6359 <leadingDigits>70</leadingDigits>
6360 <format>$1 $2 $3</format>
6362 <numberFormat pattern="(8000)(\d{3})(\d{3})">
6363 <leadingDigits>800</leadingDigits>
6364 <leadingDigits>8000</leadingDigits>
6365 <format>$1 $2 $3</format>
6367 <numberFormat pattern="([458]\d{3})(\d{3,4})">
6384 <format>$1 $2</format>
6388 <nationalNumberPattern>
6392 </nationalNumberPattern>
6393 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
6395 <noInternationalDialling>
6396 <nationalNumberPattern>
6399 </nationalNumberPattern>
6400 <possibleNumberPattern>\d{4,7}</possibleNumberPattern>
6401 <exampleNumber>8002123</exampleNumber>
6402 </noInternationalDialling>
6404 <nationalNumberPattern>
6412 </nationalNumberPattern>
6413 <possibleNumberPattern>\d{7}</possibleNumberPattern>
6414 <exampleNumber>3212345</exampleNumber>
6417 <!-- 7 digit mobile numbers currently in use with special prefixes are preserved - new
6418 numbers are 8 digits. -->
6419 <nationalNumberPattern>
6434 </nationalNumberPattern>
6435 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
6436 <exampleNumber>51234567</exampleNumber>
6439 <nationalNumberPattern>
6445 </nationalNumberPattern>
6446 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
6447 <exampleNumber>80012345</exampleNumber>
6450 <!-- Supporting eFax numbers here as well. We aren't sure the exact cost, but have
6451 had user reports that they are expensive to dial. -->
6452 <nationalNumberPattern>
6457 </nationalNumberPattern>
6458 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
6459 <exampleNumber>9001234</exampleNumber>
6462 <nationalNumberPattern>70[0-2]\d{5}</nationalNumberPattern>
6463 <possibleNumberPattern>\d{8}</possibleNumberPattern>
6464 <exampleNumber>70012345</exampleNumber>
6467 <!-- All 4-5 digit numbers listed in the plan as being a "short number for a service" are
6469 <nationalNumberPattern>
6480 </nationalNumberPattern>
6481 <possibleNumberPattern>\d{4,5}</possibleNumberPattern>
6482 <exampleNumber>12123</exampleNumber>
6487 <territory id="EG" countryCode="20" internationalPrefix="00"
6488 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
6489 mobileNumberPortableRegion="true">
6491 <sourceUrl>http://www.itu.int/oth/T020200003E/en</sourceUrl>
6494 <!-- Note that no explicit formatting rule is here for 5-digit numbers starting with a 16
6495 or 19. These are formatted without national prefix, as a block, so do not need to be
6497 <numberFormat pattern="(\d)(\d{7,8})">
6498 <leadingDigits>[23]</leadingDigits>
6499 <format>$1 $2</format>
6501 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
6506 <format>$1 $2 $3</format>
6508 <numberFormat pattern="(\d{2})(\d{6,7})">
6514 <format>$1 $2</format>
6518 <nationalNumberPattern>
6523 </nationalNumberPattern>
6524 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
6527 <!-- Short numbers used for businesses (starting with 16 or 19) are covered here. Note also
6528 that the plan says numbers starting with 15 should be followed by seven digit
6529 subscriber numbers, but some numbers we have found online are in fact six digit.
6530 Subscriber numbers starting with 5 are also permitted for the area codes 040, with 5, 6
6531 and 7 for the area code 050, with 5 and 7 for 082, with 6 for 084, with 7 for 086 and
6532 092 and with 5 and 6 for 96. -->
6533 <nationalNumberPattern>
6569 </nationalNumberPattern>
6570 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
6571 <exampleNumber>234567890</exampleNumber>
6574 <!-- Adding the extra prefixes 102 and 121 from user reports that Vodafone and Mobinil have
6575 started allocating numbers beginning with these prefixes, along with 115 from numbers
6576 found online. Etisalat is using 110. -->
6577 <nationalNumberPattern>
6583 </nationalNumberPattern>
6584 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6585 <exampleNumber>1001234567</exampleNumber>
6588 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
6589 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6590 <exampleNumber>8001234567</exampleNumber>
6593 <nationalNumberPattern>900\d{7}</nationalNumberPattern>
6594 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6595 <exampleNumber>9001234567</exampleNumber>
6599 <!-- Western Sahara -->
6600 <!-- Country calling code shared with Morocco (MA). -->
6601 <!-- Two area codes are defined in the Morocco ITU document; 05288 XXXXX and 05289 XXXXX -->
6602 <territory id="EH" countryCode="212" leadingDigits="528[89]" internationalPrefix="00"
6603 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
6605 <sourceUrl>http://www.itu.int/oth/T0202000090/en</sourceUrl>
6607 <!-- Uses MA formatting rules and shares general description
6608 (non-geographical numbers for Morocco are still valid). -->
6610 <nationalNumberPattern>[5689]\d{8}</nationalNumberPattern>
6611 <!-- Closed numbering plan. -->
6612 <possibleNumberPattern>\d{9}</possibleNumberPattern>
6615 <nationalNumberPattern>528[89]\d{5}</nationalNumberPattern>
6616 <exampleNumber>528812345</exampleNumber>
6618 <!-- The following sections are copied verbatim from Morocco to allow these non-geographical
6619 numbers to be recognized as available from within Western Sahara. -->
6621 <nationalNumberPattern>
6627 </nationalNumberPattern>
6628 <exampleNumber>650123456</exampleNumber>
6631 <nationalNumberPattern>80\d{7}</nationalNumberPattern>
6632 <exampleNumber>801234567</exampleNumber>
6635 <nationalNumberPattern>89\d{7}</nationalNumberPattern>
6636 <exampleNumber>891234567</exampleNumber>
6641 <territory id="ER" countryCode="291" internationalPrefix="00"
6642 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
6644 <sourceUrl>http://www.itu.int/oth/T0202000042/en</sourceUrl>
6647 <numberFormat pattern="(\d)(\d{3})(\d{3})">
6648 <format>$1 $2 $3</format>
6652 <nationalNumberPattern>[178]\d{6}</nationalNumberPattern>
6653 <possibleNumberPattern>\d{6,7}</possibleNumberPattern>
6656 <nationalNumberPattern>
6665 </nationalNumberPattern>
6666 <exampleNumber>8370362</exampleNumber><!-- Test number from plan. -->
6669 <!-- It is unclear in the plan whether the 07 mobile prefix superseded the previous 017[1-3]
6670 numbers or was in addition to them, so we support both here. -->
6671 <nationalNumberPattern>
6674 </nationalNumberPattern>
6675 <possibleNumberPattern>\d{7}</possibleNumberPattern>
6676 <exampleNumber>7123456</exampleNumber>
6681 <territory id="ES" countryCode="34" internationalPrefix="00" mobileNumberPortableRegion="true">
6683 <sourceUrl>http://www.mityc.es/telecomunicaciones/es-ES/Servicios/Numeracion/Paginas/Plan.aspx</sourceUrl>
6686 <numberFormat pattern="([5-9]\d{2})(\d{2})(\d{2})(\d{2})">
6691 <format>$1 $2 $3 $4</format>
6695 <nationalNumberPattern>[5-9]\d{8}</nationalNumberPattern>
6696 <possibleNumberPattern>\d{9}</possibleNumberPattern>
6698 <!-- The pattern is complex because the Lleida Networks mobile ranges are inside the
6699 fixed-line ranges. -->
6701 <nationalNumberPattern>
6735 </nationalNumberPattern>
6736 <exampleNumber>810123456</exampleNumber>
6738 <!-- The ranges 969060900 to 969061099 and 973900000 to 973909999 are mobile according to
6739 information received from Lleida Networks. -->
6741 <nationalNumberPattern>
6753 </nationalNumberPattern>
6754 <exampleNumber>612345678</exampleNumber>
6757 <nationalNumberPattern>[89]00\d{6}</nationalNumberPattern>
6758 <exampleNumber>800123456</exampleNumber>
6761 <nationalNumberPattern>80[367]\d{6}</nationalNumberPattern>
6762 <exampleNumber>803123456</exampleNumber>
6765 <nationalNumberPattern>90[12]\d{6}</nationalNumberPattern>
6766 <exampleNumber>901123456</exampleNumber>
6769 <nationalNumberPattern>70\d{7}</nationalNumberPattern>
6770 <exampleNumber>701234567</exampleNumber>
6772 <!-- Modelling non-geographic nomadic numbers as UAN. -->
6774 <nationalNumberPattern>51\d{7}</nationalNumberPattern>
6775 <exampleNumber>511234567</exampleNumber>
6780 <territory id="ET" countryCode="251" internationalPrefix="00"
6781 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
6783 <sourceUrl>http://www.itu.int/oth/T0202000044/en</sourceUrl>
6786 <numberFormat pattern="([1-59]\d)(\d{3})(\d{4})">
6787 <format>$1 $2 $3</format>
6791 <nationalNumberPattern>[1-59]\d{8}</nationalNumberPattern>
6792 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
6795 <nationalNumberPattern>
6910 </nationalNumberPattern>
6911 <exampleNumber>111112345</exampleNumber>
6914 <!-- The data here is not regularly updated by the Ethiopian authorities, and many more
6915 numbers are visible online than are reported in the ITU document. This pattern is
6916 therefore somewhat more relaxed than in the ITU document. According to the ETC, the
6917 prefix 93 is assigned to Addis Ababa Mobile and 95[89] to some CDMA providers. -->
6918 <nationalNumberPattern>
6923 </nationalNumberPattern>
6924 <possibleNumberPattern>\d{9}</possibleNumberPattern>
6925 <exampleNumber>911234567</exampleNumber>
6930 <!-- Metadata shared with Ã…land (AX) -->
6931 <territory id="FI" countryCode="358" internationalPrefix="00|99[049]" nationalPrefix="0"
6932 nationalPrefixFormattingRule="$NP$FG" mainCountryForCode="true"
6933 mobileNumberPortableRegion="true">
6935 <sourceUrl>http://www.ficora.fi/en/index/palvelut/palvelutaiheittain/numerointi/numerotyypitjaalueet.html</sourceUrl>
6938 <numberFormat pattern="(\d{3})(\d{3,7})">
6945 <format>$1 $2</format>
6947 <numberFormat pattern="(\d{2})(\d{4,10})">
6954 <format>$1 $2</format>
6956 <numberFormat pattern="(\d)(\d{4,11})">
6961 <format>$1 $2</format>
6965 <nationalNumberPattern>
6968 </nationalNumberPattern>
6969 <possibleNumberPattern>\d{5,12}</possibleNumberPattern>
6971 <noInternationalDialling>
6972 <!-- According to the national numbering plan, service numbers are in general not accessible
6973 from abroad, although 600/700/800 numbers may be. -->
6974 <nationalNumberPattern>
6992 </nationalNumberPattern>
6993 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
6994 <exampleNumber>100123</exampleNumber>
6995 </noInternationalDialling>
6997 <!-- This is limited to geographic numbers - non-geographic nationwide subscriber numbers
6998 are listed under UAN. It also excludes Ã…land numbers. -->
6999 <nationalNumberPattern>
7010 </nationalNumberPattern>
7011 <exampleNumber>1312345678</exampleNumber>
7014 <nationalNumberPattern>
7017 </nationalNumberPattern>
7018 <possibleNumberPattern>\d{6,11}</possibleNumberPattern>
7019 <exampleNumber>412345678</exampleNumber>
7022 <nationalNumberPattern>800\d{4,7}</nationalNumberPattern>
7023 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
7024 <exampleNumber>8001234567</exampleNumber>
7027 <nationalNumberPattern>[67]00\d{5,6}</nationalNumberPattern>
7028 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
7029 <exampleNumber>600123456</exampleNumber>
7032 <!-- Covers nationwide non-geographic numbers, and nationwide "service numbers", typically
7033 assigned to institutions such as universities, the national post, etc, where they are
7034 not otherwise classified as toll-free or premium-rate numbers. -->
7035 <nationalNumberPattern>
7053 </nationalNumberPattern>
7054 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
7055 <exampleNumber>10112345</exampleNumber>
7060 <territory id="FJ" countryCode="679" internationalPrefix="0(?:0|52)"
7061 preferredInternationalPrefix="00" leadingZeroPossible="true">
7063 <sourceUrl>http://www.itu.int/oth/T0202000048/en</sourceUrl>
7064 <sourceUrl>http://www.tfl.com.fj</sourceUrl>
7067 <numberFormat pattern="(\d{3})(\d{4})">
7068 <leadingDigits>[36-9]</leadingDigits>
7069 <format>$1 $2</format>
7071 <numberFormat pattern="(\d{4})(\d{3})(\d{4})">
7072 <leadingDigits>0</leadingDigits>
7073 <format>$1 $2 $3</format>
7077 <nationalNumberPattern>
7080 </nationalNumberPattern>
7081 <possibleNumberPattern>\d{7}(?:\d{4})?</possibleNumberPattern>
7084 <!-- Adding the prefixes 30X, 31X and 62X, since numbers with these prefixes have been found
7085 online, including in the white pages. 35X and 85X were found in the exchanges listed on
7086 http://www.tfl.com.fj. -->
7087 <nationalNumberPattern>
7093 </nationalNumberPattern>
7094 <possibleNumberPattern>\d{7}</possibleNumberPattern>
7095 <exampleNumber>3212345</exampleNumber>
7098 <!-- Adding 7[5-8], 8[03679], and 9[034678] from numbers found online and numbers where SMSs
7099 have been received from. Adding 9[15] and 84 from Vodafone Fiji IR21. -->
7100 <nationalNumberPattern>
7106 </nationalNumberPattern>
7107 <possibleNumberPattern>\d{7}</possibleNumberPattern>
7108 <exampleNumber>7012345</exampleNumber>
7111 <!-- Information found on http://www.tfl.com.fj. It is not clear if these are
7112 internationally diallable, or if so, how. -->
7113 <nationalNumberPattern>0800\d{7}</nationalNumberPattern>
7114 <possibleNumberPattern>\d{11}</possibleNumberPattern>
7115 <exampleNumber>08001234567</exampleNumber>
7119 <!-- Falkland Islands (Malvinas) -->
7120 <territory id="FK" countryCode="500" internationalPrefix="00">
7122 <sourceUrl>http://www.itu.int/oth/T0202000046/en</sourceUrl>
7124 <!-- All numbers are formatted together, as a block. -->
7126 <nationalNumberPattern>[2-7]\d{4}</nationalNumberPattern>
7127 <possibleNumberPattern>\d{5}</possibleNumberPattern>
7130 <nationalNumberPattern>[2-47]\d{4}</nationalNumberPattern>
7131 <exampleNumber>31234</exampleNumber>
7134 <nationalNumberPattern>[56]\d{4}</nationalNumberPattern>
7135 <exampleNumber>51234</exampleNumber>
7139 <!-- Micronesia, Federated States of -->
7140 <territory id="FM" countryCode="691" internationalPrefix="00">
7142 <sourceUrl>http://www.itu.int/oth/T020200008B/en</sourceUrl>
7145 <numberFormat pattern="(\d{3})(\d{4})">
7146 <format>$1 $2</format>
7150 <nationalNumberPattern>[39]\d{6}</nationalNumberPattern>
7151 <possibleNumberPattern>\d{7}</possibleNumberPattern>
7154 <nationalNumberPattern>
7157 </nationalNumberPattern>
7158 <exampleNumber>3201234</exampleNumber>
7161 <!-- Note that most ranges are used for both fixed and mobile but numbers starting with 970
7162 are exclusively mobile. -->
7163 <nationalNumberPattern>
7166 </nationalNumberPattern>
7167 <exampleNumber>3501234</exampleNumber>
7171 <!-- Faroe Islands -->
7172 <territory id="FO" countryCode="298" internationalPrefix="00"
7173 nationalPrefixForParsing="(10(?:01|[12]0|88))"
7174 carrierCodeFormattingRule="$CC $FG">
7176 <sourceUrl>http://www.itu.int/oth/T0202000047/en</sourceUrl>
7178 <!-- All numbers are formatted together, as a block. -->
7180 <numberFormat pattern="(\d{6})">
7185 <nationalNumberPattern>[2-9]\d{5}</nationalNumberPattern>
7186 <possibleNumberPattern>\d{6}</possibleNumberPattern>
7189 <nationalNumberPattern>
7195 </nationalNumberPattern>
7196 <exampleNumber>201234</exampleNumber>
7199 <nationalNumberPattern>
7205 </nationalNumberPattern>
7206 <exampleNumber>211234</exampleNumber>
7209 <nationalNumberPattern>80[257-9]\d{3}</nationalNumberPattern>
7210 <exampleNumber>802123</exampleNumber>
7213 <nationalNumberPattern>
7219 </nationalNumberPattern>
7220 <exampleNumber>901123</exampleNumber>
7223 <nationalNumberPattern>
7228 </nationalNumberPattern>
7229 <exampleNumber>601234</exampleNumber>
7234 <territory id="FR" countryCode="33" internationalPrefix="00" nationalPrefix="0"
7235 nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
7237 <sourceUrl>http://www.itu.int/oth/T020200004A/en</sourceUrl>
7238 <sourceUrl>http://www.arcep.fr/index.php?id=8146</sourceUrl>
7239 <sourceUrl>http://en.wikipedia.org/wiki/%2B33</sourceUrl>
7241 <!-- Short numbers will be formatted as a block without a national prefix. -->
7243 <numberFormat pattern="([1-79])(\d{2})(\d{2})(\d{2})(\d{2})">
7244 <leadingDigits>[1-79]</leadingDigits>
7245 <format>$1 $2 $3 $4 $5</format>
7247 <numberFormat pattern="(1\d{2})(\d{3})" nationalPrefixFormattingRule="$FG">
7248 <leadingDigits>11</leadingDigits>
7249 <format>$1 $2</format>
7250 <intlFormat>NA</intlFormat>
7252 <numberFormat nationalPrefixFormattingRule="$NP $FG"
7253 pattern="(8\d{2})(\d{2})(\d{2})(\d{2})">
7254 <leadingDigits>8</leadingDigits>
7255 <format>$1 $2 $3 $4</format>
7259 <nationalNumberPattern>[1-9]\d{8}</nationalNumberPattern>
7260 <possibleNumberPattern>\d{9}</possibleNumberPattern>
7263 <nationalNumberPattern>[1-5]\d{8}</nationalNumberPattern>
7264 <exampleNumber>123456789</exampleNumber>
7267 <nationalNumberPattern>
7270 </nationalNumberPattern>
7271 <exampleNumber>612345678</exampleNumber>
7274 <nationalNumberPattern>80\d{7}</nationalNumberPattern>
7275 <exampleNumber>801234567</exampleNumber>
7278 <nationalNumberPattern>89[1-37-9]\d{6}</nationalNumberPattern>
7279 <exampleNumber>891123456</exampleNumber>
7282 <nationalNumberPattern>
7289 </nationalNumberPattern>
7290 <exampleNumber>810123456</exampleNumber>
7293 <!-- 087 numbers used to be used for this. -->
7294 <nationalNumberPattern>9\d{8}</nationalNumberPattern>
7295 <exampleNumber>912345678</exampleNumber>
7300 <!-- Note: We cannot set nationalPrefix="0" while fixed line numbers can start with a zero
7301 as this breaks parsing (it treats all leading zeros as national prefixes. -->
7302 <territory id="GA" countryCode="241" internationalPrefix="00" leadingZeroPossible="true" >
7304 <sourceUrl>http://www.itu.int/oth/T020200004E/en</sourceUrl>
7305 <sourceUrl>http://www.arcep.ga</sourceUrl>
7308 <!-- If no leading zero was supplied, format with the national prefix. -->
7309 <numberFormat pattern="(\d)(\d{2})(\d{2})(\d{2})" nationalPrefixFormattingRule="0$FG">
7310 <leadingDigits>[2-7]</leadingDigits>
7311 <format>$1 $2 $3 $4</format>
7313 <!-- This already has a leading zero so we format is "as is". -->
7314 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
7315 <leadingDigits>0</leadingDigits>
7316 <format>$1 $2 $3 $4</format>
7320 <nationalNumberPattern>0?\d{7}</nationalNumberPattern>
7321 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
7323 <!-- A 7-digit fixed-line plan was scheduled to be implemented on June 17, 2012 to unify fixed
7324 line and mobile numbering. However, this has only partially happened; mobile numbers can
7325 now be dialed without a leading zero, but fixed line numbers still require it. Their own
7326 website still lists fixed line numbers as "+241 01 44 68 11" and upon ringing they will
7327 not connect from outside the country without the 0. This was last tested March 2014. -->
7329 <nationalNumberPattern>01\d{6}</nationalNumberPattern>
7330 <possibleNumberPattern>\d{8}</possibleNumberPattern>
7331 <exampleNumber>01441234</exampleNumber>
7334 <!-- Mobile numbers can be 7 or 8 digits (with or without a leading zero). -->
7335 <nationalNumberPattern>0?[2-7]\d{6}</nationalNumberPattern>
7336 <exampleNumber>06031234</exampleNumber>
7340 <!-- United Kingdom -->
7341 <!-- Note that this excludes Isle of Man, Jersey and Guernsey prefixes for the purposes of
7342 validation, although the formatting rules are shared. -->
7343 <territory id="GB" countryCode="44" internationalPrefix="00"
7344 nationalPrefix="0" preferredExtnPrefix=" x" nationalPrefixFormattingRule="$NP$FG"
7345 mainCountryForCode="true" mobileNumberPortableRegion="true">
7347 <sourceUrl>http://stakeholders.ofcom.org.uk/telecoms/numbering/</sourceUrl>
7348 <sourceUrl>http://en.wikipedia.org/wiki/List_of_United_Kingdom_dialling_codes</sourceUrl>
7349 <sourceUrl>http://www.numberingplans.com/?page=dialling&sub=areacodes&ac=GB</sourceUrl>
7352 <!-- 2d, 55, 56, 70 and 76 pager numbers (excludes 7624) with 10 digits. -->
7353 <numberFormat pattern="(\d{2})(\d{4})(\d{4})">
7373 <format>$1 $2 $3</format>
7375 <!-- 11d, 1d1, 3dd, 9dd with 10 digits. -->
7376 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
7385 <format>$1 $2 $3</format>
7387 <!-- 1dddd with 9 or 10 digits.
7388 These area codes are very rare in GB, and are only available in the following places:
7389 13873(Langholm), 15242(Hornby), 15394(Hawkshead), 15395(Grange-over-Sands),
7390 15396(Sedbergh), 16973(Wigton), 16974(Raughton Head), 16977(Brampton),
7391 17683(Appleby), 17684(Pooley Bridge), 17687(Keswick), 19467(Gosforth). -->
7392 <numberFormat pattern="(\d{5})(\d{4,5})">
7426 <format>$1 $2</format>
7428 <!-- 1ddd with 9 or 10 digits. -->
7429 <numberFormat pattern="(1\d{3})(\d{5,6})">
7430 <leadingDigits>1</leadingDigits>
7431 <format>$1 $2</format>
7433 <!-- 7ddd (not 70, 76) with 10 digits. Note: DOES include 7624 when used for IM. -->
7434 <numberFormat pattern="(7\d{3})(\d{6})">
7447 <format>$1 $2</format>
7449 <!-- 800 1111 : UK ChildLine. -->
7450 <numberFormat pattern="(800)(\d{4})">
7451 <leadingDigits>800</leadingDigits>
7452 <leadingDigits>8001</leadingDigits>
7453 <leadingDigits>80011</leadingDigits>
7454 <leadingDigits>800111</leadingDigits>
7455 <leadingDigits>8001111</leadingDigits>
7456 <format>$1 $2</format>
7458 <!-- 845 46 47 : UK NHS Direct. -->
7459 <numberFormat pattern="(845)(46)(4\d)">
7460 <leadingDigits>845</leadingDigits>
7461 <leadingDigits>8454</leadingDigits>
7462 <leadingDigits>84546</leadingDigits>
7463 <leadingDigits>845464</leadingDigits>
7464 <format>$1 $2 $3</format>
7466 <!-- 84d, 87d with 10 digits. -->
7467 <numberFormat pattern="(8\d{2})(\d{3})(\d{4})">
7474 <format>$1 $2 $3</format>
7476 <!-- 80d (including 800) with 10 digits. -->
7477 <numberFormat pattern="(80\d)(\d{3})(\d{4})">
7478 <leadingDigits>80</leadingDigits>
7479 <format>$1 $2 $3</format>
7481 <!-- 500, 800 with 9 digits. -->
7482 <numberFormat pattern="([58]00)(\d{6})">
7483 <leadingDigits>[58]00</leadingDigits>
7484 <format>$1 $2</format>
7488 <nationalNumberPattern>\d{7,10}</nationalNumberPattern>
7489 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
7492 <!-- These are a subset of the fixed-line rules, with digits 2-9 as the leading digit of the
7493 subscriber number. There are patterns for 2+8, 3+7 and a combined pattern for all
7494 4+6/4+5 and 5+5/5+4 numbers. Note that numbers matching this pattern are not
7495 necessarily valid numbers. -->
7496 <nationalNumberPattern>
7503 [248][02-9]\d[2-9]\d{4,5}|
7556 </nationalNumberPattern>
7557 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
7558 <exampleNumber>1332456789</exampleNumber>
7561 <!-- http://en.wikipedia.org/wiki/List_of_United_Kingdom_dialling_codes -->
7562 <!-- Pattern matches geographic NSN=10 numbers as follows:
7563 - area code and local number first digit for 2+8,
7564 - area code and local number first digit for 3+7,
7565 - area code only for 4+6 (including areas with embedded 5+5).
7566 Pattern matches geographic NSN=9 numbers as follows:
7567 - area code and local number first two digits for 4+5,
7568 - area code and local number first three digits for 4+5 special case (01768) 88Ddd,
7569 - area code and local number first digit for 5+4 special case (016977) Dddd.
7570 All patterns exclude ranges used in GG, IM, JE. -->
7571 <nationalNumberPattern>
7802 176888[234678]\d{2}|
7804 </nationalNumberPattern>
7805 <exampleNumber>1212345678</exampleNumber>
7808 <!-- http://stakeholders.ofcom.org.uk/telecoms/numbering/telephone-no-availability/numbers-administered/
7809 7100-7599, 7700-7999 with 10 digits; excluding ranges used in GG, IM, JE. -->
7810 <nationalNumberPattern>
7835 </nationalNumberPattern>
7836 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7837 <exampleNumber>7400123456</exampleNumber>
7840 <!-- 76 with 10 digits; excluding ranges used in IM. -->
7841 <nationalNumberPattern>
7852 </nationalNumberPattern>
7853 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7854 <exampleNumber>7640123456</exampleNumber>
7856 <!-- Source for non geographic numbers:
7857 http://en.wikipedia.org/wiki/Non-geographic_telephone_numbers_in_the_United_Kingdom -->
7859 <!-- 800 1111 with 7 digits, 800 with 9 or 10 digits, 808 with 10 digits, 500 with 9 digits.
7861 <nationalNumberPattern>
7870 </nationalNumberPattern>
7871 <possibleNumberPattern>\d{7}(?:\d{2,3})?</possibleNumberPattern>
7872 <exampleNumber>8001234567</exampleNumber>
7875 <!-- 871, 872, 873 with 10 digits are now Controlled Premium Rate Services, so are listed
7876 here as well as 900-909, 910-919, 982-984, 989 with 10 digits.
7877 Note that only 908, 909, 980-989 are reserved for "adult services" while 900-907 and
7878 910-919 are reserved for standard premium rate services. -->
7879 <nationalNumberPattern>
7887 </nationalNumberPattern>
7888 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7889 <exampleNumber>9012345678</exampleNumber>
7892 <!-- Using shared cost to deal with the various revenue sharing number prefixes in the
7893 United Kingdom: 845 46 47 with 7 digits, 842-845, 870 with 10 digits. -->
7894 <nationalNumberPattern>
7902 </nationalNumberPattern>
7903 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
7904 <exampleNumber>8431234567</exampleNumber>
7907 <!-- 70 with 10 digits. -->
7908 <nationalNumberPattern>70\d{8}</nationalNumberPattern>
7909 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7910 <exampleNumber>7012345678</exampleNumber>
7913 <!-- 56 with 10 digits. -->
7914 <nationalNumberPattern>56\d{8}</nationalNumberPattern>
7915 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7916 <exampleNumber>5612345678</exampleNumber>
7919 <!-- 30d, 33d, 34d, 37d, 55 with 10 digits. -->
7920 <nationalNumberPattern>
7925 </nationalNumberPattern>
7926 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7927 <exampleNumber>5512345678</exampleNumber>
7932 <territory id="GD" countryCode="1" leadingDigits="473" nationalPrefix="1"
7933 internationalPrefix="011">
7935 <sourceUrl>http://www.itu.int/oth/T0202000057/en</sourceUrl>
7938 <!-- NANPA country - uses US formatting rules -->
7939 <nationalNumberPattern>[4589]\d{9}</nationalNumberPattern>
7940 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
7943 <nationalNumberPattern>
7970 </nationalNumberPattern>
7971 <exampleNumber>4732691234</exampleNumber>
7974 <nationalNumberPattern>
7988 </nationalNumberPattern>
7989 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7990 <exampleNumber>4734031234</exampleNumber>
7993 <nationalNumberPattern>
8002 </nationalNumberPattern>
8003 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8004 <exampleNumber>8002123456</exampleNumber>
8007 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
8008 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8009 <exampleNumber>9002123456</exampleNumber>
8012 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
8013 <nationalNumberPattern>
8021 </nationalNumberPattern>
8022 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8023 <exampleNumber>5002345678</exampleNumber>
8028 <territory id="GE" countryCode="995" internationalPrefix="00" nationalPrefix="0"
8029 mobileNumberPortableRegion="true">
8031 <sourceUrl>http://www.itu.int/oth/T0202000050/en</sourceUrl>
8032 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Georgia_(country)</sourceUrl>
8035 <!-- Format isn't very strictly defined - the yellow pages omits area code and does 2 2 2,
8036 the communications commission uses 2 3 3. Wikipedia says 3 2 3. Some use 2 6. -->
8037 <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})" nationalPrefixFormattingRule="$NP$FG">
8038 <leadingDigits>[348]</leadingDigits>
8039 <format>$1 $2 $3 $4</format>
8041 <numberFormat pattern="(\d{3})(\d{3})(\d{3})" nationalPrefixFormattingRule="$NP$FG">
8042 <leadingDigits>7</leadingDigits>
8043 <format>$1 $2 $3</format>
8045 <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})" nationalPrefixFormattingRule="$FG">
8046 <leadingDigits>5</leadingDigits>
8047 <format>$1 $2 $3 $4</format>
8050 <noInternationalDialling>
8051 <!-- Online numbers mention that this is not internationally diallable. -->
8052 <nationalNumberPattern>706\d{6}</nationalNumberPattern>
8053 <possibleNumberPattern>\d{9}</possibleNumberPattern>
8054 <exampleNumber>706123456</exampleNumber>
8055 </noInternationalDialling>
8057 <nationalNumberPattern>[34578]\d{8}</nationalNumberPattern>
8058 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
8061 <nationalNumberPattern>
8077 </nationalNumberPattern>
8078 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
8079 <exampleNumber>322123456</exampleNumber>
8082 <!-- The ITU document says 790 instead of 590, but this contradicts their press release
8083 about the change in numbers, and online numbers found. -->
8084 <nationalNumberPattern>
8092 </nationalNumberPattern>
8093 <possibleNumberPattern>\d{9}</possibleNumberPattern>
8094 <exampleNumber>555123456</exampleNumber>
8096 <!-- Information from http://www.yell.ge, examples such as Wissol Petroleum Georgia
8099 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
8100 <possibleNumberPattern>\d{9}</possibleNumberPattern>
8101 <exampleNumber>800123456</exampleNumber>
8104 <!-- http://www.mydivert.com/virtual-numbers/995-virtual-number-National.html -->
8105 <nationalNumberPattern>706\d{6}</nationalNumberPattern>
8106 <possibleNumberPattern>\d{9}</possibleNumberPattern>
8107 <exampleNumber>706123456</exampleNumber>
8109 <!-- It seems there may be special 6 digit numbers beginning with 91, but we are not sure, so
8110 these are omitted for now. -->
8113 <!-- French Guiana (French Dept. of) -->
8114 <!-- Using a national prefix here as online numbers are formatted with it. -->
8115 <territory id="GF" countryCode="594" internationalPrefix="00"
8116 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
8118 <sourceUrl>http://www.itu.int/oth/T020200004C/en</sourceUrl>
8119 <sourceUrl>http://www.arcep.fr/index.php?id=2137&bloc=0594&CMD=RESULTS_NUMEROTATION</sourceUrl>
8120 <sourceUrl>http://www.arcep.fr/uploads/tx_gsavis/11-1297.pdf</sourceUrl>
8123 <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})">
8124 <format>$1 $2 $3 $4</format>
8128 <nationalNumberPattern>[56]\d{8}</nationalNumberPattern>
8129 <possibleNumberPattern>\d{9}</possibleNumberPattern>
8132 <nationalNumberPattern>
8142 </nationalNumberPattern>
8143 <exampleNumber>594101234</exampleNumber>
8146 <nationalNumberPattern>
8153 </nationalNumberPattern>
8154 <exampleNumber>694201234</exampleNumber>
8156 <!-- The 876 prefix is mentioned in the plan, but the plan is from 2006 and in France VOIP
8157 numbers were changed from 087 to the 09 prefix in 2009. It is likely this occurred here
8162 <!-- Inherits formatting rules from the UK. -->
8163 <territory id="GG" countryCode="44" internationalPrefix="00"
8164 nationalPrefix="0" preferredExtnPrefix=" x" nationalPrefixFormattingRule="$NP$FG">
8166 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom</sourceUrl>
8169 <nationalNumberPattern>[135789]\d{6,9}</nationalNumberPattern>
8170 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
8173 <nationalNumberPattern>1481[2-9]\d{5}</nationalNumberPattern>
8174 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8175 <exampleNumber>1481250123</exampleNumber>
8177 <!-- Specific to GG. -->
8179 <!-- 1481 with 10 digits. -->
8180 <nationalNumberPattern>1481\d{6}</nationalNumberPattern>
8181 <exampleNumber>1481456789</exampleNumber>
8184 <!-- 7781, 7839, 7911 with 10 digits. -->
8185 <nationalNumberPattern>
8191 </nationalNumberPattern>
8192 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8193 <exampleNumber>7781123456</exampleNumber>
8195 <!-- Other numbers as per GB. -->
8197 <nationalNumberPattern>
8208 </nationalNumberPattern>
8209 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8210 <exampleNumber>7640123456</exampleNumber>
8213 <nationalNumberPattern>
8222 </nationalNumberPattern>
8223 <possibleNumberPattern>\d{7}(?:\d{2,3})?</possibleNumberPattern>
8224 <exampleNumber>8001234567</exampleNumber>
8227 <nationalNumberPattern>
8235 </nationalNumberPattern>
8236 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8237 <exampleNumber>9012345678</exampleNumber>
8240 <nationalNumberPattern>
8248 </nationalNumberPattern>
8249 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
8250 <exampleNumber>8431234567</exampleNumber>
8253 <nationalNumberPattern>70\d{8}</nationalNumberPattern>
8254 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8255 <exampleNumber>7012345678</exampleNumber>
8258 <nationalNumberPattern>56\d{8}</nationalNumberPattern>
8259 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8260 <exampleNumber>5612345678</exampleNumber>
8263 <nationalNumberPattern>
8268 </nationalNumberPattern>
8269 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8270 <exampleNumber>5512345678</exampleNumber>
8275 <territory id="GH" countryCode="233" internationalPrefix="00"
8276 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
8277 mobileNumberPortableRegion="true">
8279 <sourceUrl>http://www.itu.int/oth/T0202000052/en</sourceUrl>
8280 <sourceUrl>http://www.nca.org.gh/index.php?option=com_content&view=article&id=90&Itemid=65</sourceUrl>
8283 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
8284 <leadingDigits>[235]</leadingDigits>
8285 <format>$1 $2 $3</format>
8287 <numberFormat pattern="(\d{3})(\d{5})">
8288 <leadingDigits>8</leadingDigits>
8289 <format>$1 $2</format>
8293 <nationalNumberPattern>
8296 </nationalNumberPattern>
8297 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
8299 <noInternationalDialling>
8300 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
8301 <possibleNumberPattern>\d{8}</possibleNumberPattern>
8302 <exampleNumber>80012345</exampleNumber>
8303 </noInternationalDialling>
8305 <nationalNumberPattern>
8338 </nationalNumberPattern>
8339 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
8340 <exampleNumber>302345678</exampleNumber>
8343 <nationalNumberPattern>
8352 </nationalNumberPattern>
8353 <possibleNumberPattern>\d{9}</possibleNumberPattern>
8354 <exampleNumber>231234567</exampleNumber>
8357 <!-- Found online references to these numbers, although they are not in the plan since they
8358 are not internationally diallable. -->
8359 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
8360 <possibleNumberPattern>\d{8}</possibleNumberPattern>
8361 <exampleNumber>80012345</exampleNumber>
8363 <!-- No premiumRate information can be found. -->
8367 <territory id="GI" countryCode="350" internationalPrefix="00">
8369 <sourceUrl>http://www.gra.gi/index.php?topic=numbering+plan&section=legislation&site=communications</sourceUrl>
8372 <!-- Most numbers are formatted as a block -->
8373 <numberFormat pattern="(\d{3})(\d{5})">
8374 <leadingDigits>2</leadingDigits>
8375 <format>$1 $2</format>
8379 <nationalNumberPattern>[2568]\d{7}</nationalNumberPattern>
8380 <possibleNumberPattern>\d{8}</possibleNumberPattern>
8383 <nationalNumberPattern>
8395 </nationalNumberPattern>
8396 <exampleNumber>20012345</exampleNumber>
8399 <nationalNumberPattern>
8404 </nationalNumberPattern>
8405 <exampleNumber>57123456</exampleNumber>
8408 <nationalNumberPattern>80\d{6}</nationalNumberPattern>
8409 <exampleNumber>80123456</exampleNumber>
8412 <nationalNumberPattern>8[1-689]\d{6}</nationalNumberPattern>
8413 <exampleNumber>88123456</exampleNumber>
8416 <nationalNumberPattern>87\d{6}</nationalNumberPattern>
8417 <exampleNumber>87123456</exampleNumber>
8422 <territory id="GL" countryCode="299" internationalPrefix="00">
8424 <sourceUrl>http://www.itu.int/oth/T0202000056/en</sourceUrl>
8427 <numberFormat pattern="(\d{2})(\d{2})(\d{2})">
8428 <format>$1 $2 $3</format>
8432 <nationalNumberPattern>[1-689]\d{5}</nationalNumberPattern>
8433 <possibleNumberPattern>\d{6}</possibleNumberPattern>
8436 <!-- Including VSAT numbers here. -->
8437 <nationalNumberPattern>
8445 </nationalNumberPattern>
8446 <exampleNumber>321000</exampleNumber>
8449 <nationalNumberPattern>[245][2-9]\d{4}</nationalNumberPattern>
8450 <exampleNumber>221234</exampleNumber>
8453 <nationalNumberPattern>80\d{4}</nationalNumberPattern>
8454 <exampleNumber>801234</exampleNumber>
8457 <nationalNumberPattern>3[89]\d{4}</nationalNumberPattern>
8458 <exampleNumber>381234</exampleNumber>
8463 <territory id="GM" countryCode="220" internationalPrefix="00">
8465 <sourceUrl>http://www.itu.int/oth/T020200004F/en</sourceUrl>
8468 <numberFormat pattern="(\d{3})(\d{4})">
8469 <format>$1 $2</format>
8473 <nationalNumberPattern>[2-9]\d{6}</nationalNumberPattern>
8474 <possibleNumberPattern>\d{7}</possibleNumberPattern>
8477 <nationalNumberPattern>
8500 </nationalNumberPattern>
8501 <exampleNumber>5661234</exampleNumber>
8504 <nationalNumberPattern>
8509 </nationalNumberPattern>
8510 <exampleNumber>3012345</exampleNumber>
8515 <territory id="GN" countryCode="224" internationalPrefix="00">
8517 <sourceUrl>http://www.itu.int/oth/T020200005B/en</sourceUrl>
8520 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
8521 <leadingDigits>3</leadingDigits>
8522 <format>$1 $2 $3 $4</format>
8524 <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})">
8525 <leadingDigits>[67]</leadingDigits>
8526 <format>$1 $2 $3 $4</format>
8530 <nationalNumberPattern>[367]\d{7,8}</nationalNumberPattern>
8531 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
8534 <nationalNumberPattern>
8544 </nationalNumberPattern>
8545 <possibleNumberPattern>\d{8}</possibleNumberPattern>
8546 <exampleNumber>30241234</exampleNumber>
8549 <!-- Prefixes here match those assigned to carriers, as per the ITU communication Jan 23rd
8551 <nationalNumberPattern>6[02356]\d{7}</nationalNumberPattern>
8552 <possibleNumberPattern>\d{9}</possibleNumberPattern>
8553 <exampleNumber>601123456</exampleNumber>
8556 <!-- Gamma concept network is being listed as VoIP as per
8557 http://www.gammaconcept.com/internet%20sat.html -->
8558 <nationalNumberPattern>722\d{6}</nationalNumberPattern>
8559 <possibleNumberPattern>\d{9}</possibleNumberPattern>
8560 <exampleNumber>722123456</exampleNumber>
8565 <territory id="GP" countryCode="590" internationalPrefix="00"
8566 mainCountryForCode="true" nationalPrefix="0"
8567 nationalPrefixFormattingRule="$NP$FG">
8569 <sourceUrl>http://www.itu.int/oth/T0202000058/en</sourceUrl>
8570 <!-- Linked from http://www.arcep.fr/index.php?id=interactivenumeros -->
8571 <sourceUrl>http://www.arcep.fr/fileadmin/reprise/dossiers/numero/ZABPQ-ZNE.xls</sourceUrl>
8574 <numberFormat pattern="([56]90)(\d{2})(\d{4})">
8575 <format>$1 $2-$3</format>
8579 <nationalNumberPattern>[56]\d{8}</nationalNumberPattern>
8580 <possibleNumberPattern>\d{9}</possibleNumberPattern>
8583 <nationalNumberPattern>
8596 </nationalNumberPattern>
8597 <exampleNumber>590201234</exampleNumber>
8600 <!-- Any ranges assigned from
8601 http://www.arcep.fr/index.php?id=interactivenumeros have been listed as belonging to
8602 Guadeloupe, St Martin and St Barthélemy, since we can't reliably distinguish between
8604 <nationalNumberPattern>
8609 </nationalNumberPattern>
8610 <exampleNumber>690301234</exampleNumber>
8614 <!-- Equatorial Guinea -->
8615 <territory id="GQ" countryCode="240" internationalPrefix="00">
8617 <sourceUrl>http://www.itu.int/oth/T0202000041/en</sourceUrl>
8620 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
8621 <leadingDigits>[235]</leadingDigits>
8622 <format>$1 $2 $3</format>
8624 <numberFormat pattern="(\d{3})(\d{6})">
8625 <leadingDigits>[89]</leadingDigits>
8626 <format>$1 $2</format>
8630 <nationalNumberPattern>[23589]\d{8}</nationalNumberPattern>
8631 <possibleNumberPattern>\d{9}</possibleNumberPattern>
8634 <nationalNumberPattern>
8642 </nationalNumberPattern>
8643 <exampleNumber>333091234</exampleNumber>
8646 <nationalNumberPattern>
8651 </nationalNumberPattern>
8652 <exampleNumber>222123456</exampleNumber>
8654 <!-- Note that personal and sharedCost numbers are said to go under here too - hopefully when
8655 they start allocating them there will be a differentiation of prefixes, but this is not
8658 <nationalNumberPattern>80\d[1-9]\d{5}</nationalNumberPattern>
8659 <exampleNumber>800123456</exampleNumber>
8662 <nationalNumberPattern>90\d[1-9]\d{5}</nationalNumberPattern>
8663 <exampleNumber>900123456</exampleNumber>
8668 <territory id="GR" countryCode="30" internationalPrefix="00" mobileNumberPortableRegion="true">
8670 <sourceUrl>http://www.itu.int/oth/T0202000055/en</sourceUrl>
8671 <sourceUrl>http://en.wikipedia.org/wiki/%2B30</sourceUrl>
8674 <numberFormat pattern="([27]\d)(\d{4})(\d{4})">
8679 <format>$1 $2 $3</format>
8681 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
8686 <format>$1 $2 $3</format>
8688 <numberFormat pattern="(2\d{3})(\d{6})">
8689 <leadingDigits>2[2-9][02-9]</leadingDigits>
8690 <format>$1 $2</format>
8694 <nationalNumberPattern>[26-9]\d{9}</nationalNumberPattern>
8695 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8698 <nationalNumberPattern>
8759 </nationalNumberPattern>
8760 <exampleNumber>2123456789</exampleNumber>
8763 <nationalNumberPattern>69\d{8}</nationalNumberPattern>
8764 <exampleNumber>6912345678</exampleNumber>
8767 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
8768 <exampleNumber>8001234567</exampleNumber>
8771 <nationalNumberPattern>90[19]\d{7}</nationalNumberPattern>
8772 <exampleNumber>9091234567</exampleNumber>
8774 <!-- Including calls with maximum charge of 0,25 EUR/minute here instead of under premium
8777 <nationalNumberPattern>
8783 </nationalNumberPattern>
8784 <exampleNumber>8011234567</exampleNumber>
8787 <nationalNumberPattern>70\d{8}</nationalNumberPattern>
8788 <exampleNumber>7012345678</exampleNumber>
8793 <territory id="GT" countryCode="502" internationalPrefix="00">
8795 <sourceUrl>http://www.itu.int/oth/T020200005A/en</sourceUrl>
8796 <sourceUrl>http://www.sit.gob.gt/index.php?page=plan-de-numeracion</sourceUrl>
8797 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Guatemala</sourceUrl>
8800 <numberFormat pattern="(\d{4})(\d{4})">
8801 <leadingDigits>[2-7]</leadingDigits>
8802 <format>$1 $2</format>
8804 <numberFormat pattern="(\d{4})(\d{3})(\d{4})">
8805 <leadingDigits>1</leadingDigits>
8806 <format>$1 $2 $3</format>
8810 <nationalNumberPattern>
8813 </nationalNumberPattern>
8814 <possibleNumberPattern>\d{8}(?:\d{3})?</possibleNumberPattern>
8817 <nationalNumberPattern>[267][2-9]\d{6}</nationalNumberPattern>
8818 <possibleNumberPattern>\d{8}</possibleNumberPattern>
8819 <exampleNumber>22456789</exampleNumber>
8822 <!-- Wikipedia claims numbers with 3 are also mobile although in ITU document it says that
8823 they are just reserved. -->
8824 <nationalNumberPattern>[345]\d{7}</nationalNumberPattern>
8825 <possibleNumberPattern>\d{8}</possibleNumberPattern>
8826 <exampleNumber>51234567</exampleNumber>
8829 <nationalNumberPattern>18[01]\d{8}</nationalNumberPattern>
8830 <possibleNumberPattern>\d{11}</possibleNumberPattern>
8831 <exampleNumber>18001112222</exampleNumber>
8834 <nationalNumberPattern>19\d{9}</nationalNumberPattern>
8835 <possibleNumberPattern>\d{11}</possibleNumberPattern>
8836 <exampleNumber>19001112222</exampleNumber>
8841 <territory id="GU" countryCode="1" leadingDigits="671" nationalPrefix="1"
8842 internationalPrefix="011">
8844 <sourceUrl>http://www.nationalnanpa.com/nas/public/assigned_code_query_step1.do?method=resetCodeQueryModel</sourceUrl>
8847 <!-- NANPA country - uses US formatting rules -->
8848 <nationalNumberPattern>[5689]\d{9}</nationalNumberPattern>
8849 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
8852 <!-- Added 671 489/555/720/721 based on information from
8853 http://www.area-codes.com/area-code/area-code-671.asp -->
8854 <nationalNumberPattern>
8898 </nationalNumberPattern>
8899 <exampleNumber>6713001234</exampleNumber>
8901 <!-- We assume mobile phone numbers to be the same as fixed-line - further info unavailable
8904 <nationalNumberPattern>
8948 </nationalNumberPattern>
8949 <exampleNumber>6713001234</exampleNumber>
8952 <nationalNumberPattern>
8961 </nationalNumberPattern>
8962 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8963 <exampleNumber>8002123456</exampleNumber>
8966 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
8967 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8968 <exampleNumber>9002123456</exampleNumber>
8971 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
8972 <nationalNumberPattern>
8980 </nationalNumberPattern>
8981 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8982 <exampleNumber>5002345678</exampleNumber>
8986 <!-- Guinea-Bissau -->
8987 <territory id="GW" countryCode="245" internationalPrefix="00">
8989 <sourceUrl>http://www.itu.int/oth/T020200005C/en</sourceUrl>
8992 <numberFormat pattern="(\d{3})(\d{4})">
8993 <format>$1 $2</format>
8997 <nationalNumberPattern>[3-79]\d{6}</nationalNumberPattern>
8998 <possibleNumberPattern>\d{7}</possibleNumberPattern>
9001 <nationalNumberPattern>
9010 </nationalNumberPattern>
9011 <exampleNumber>3201234</exampleNumber>
9014 <nationalNumberPattern>
9019 </nationalNumberPattern>
9020 <exampleNumber>5012345</exampleNumber>
9023 <nationalNumberPattern>40\d{5}</nationalNumberPattern>
9024 <exampleNumber>4012345</exampleNumber>
9029 <territory id="GY" countryCode="592" internationalPrefix="001">
9031 <sourceUrl>http://www.itu.int/oth/T020200005D/en</sourceUrl>
9034 <numberFormat pattern="(\d{3})(\d{4})">
9035 <format>$1 $2</format>
9039 <nationalNumberPattern>[2-4679]\d{6}</nationalNumberPattern>
9040 <possibleNumberPattern>\d{7}</possibleNumberPattern>
9043 <nationalNumberPattern>
9063 </nationalNumberPattern>
9064 <exampleNumber>2201234</exampleNumber>
9067 <!-- The ITU document only describes a few ranges for mobile numbers but there is evidence
9068 that SMS messages have been succesfully sent to numbers in the entire range prefixed
9070 <nationalNumberPattern>6\d{6}</nationalNumberPattern>
9071 <exampleNumber>6091234</exampleNumber>
9074 <nationalNumberPattern>
9079 </nationalNumberPattern>
9080 <exampleNumber>2891234</exampleNumber>
9083 <nationalNumberPattern>9008\d{3}</nationalNumberPattern>
9084 <exampleNumber>9008123</exampleNumber>
9089 <territory id="HK" countryCode="852" internationalPrefix="00" mobileNumberPortableRegion="true">
9091 <sourceUrl>http://www.ofca.gov.hk/en/industry_focus/telecommunications/portability/index.html</sourceUrl>
9094 <numberFormat pattern="(\d{4})(\d{4})">
9102 <format>$1 $2</format>
9104 <numberFormat pattern="(800)(\d{3})(\d{3})">
9105 <leadingDigits>800</leadingDigits>
9106 <format>$1 $2 $3</format>
9108 <numberFormat pattern="(900)(\d{2})(\d{3})(\d{3})">
9109 <leadingDigits>900</leadingDigits>
9110 <format>$1 $2 $3 $4</format>
9112 <numberFormat pattern="(900)(\d{2,5})">
9113 <leadingDigits>900</leadingDigits>
9114 <format>$1 $2</format>
9118 <!-- Slightly more complex pattern to allow the country code to be stripped off if
9120 <nationalNumberPattern>
9124 </nationalNumberPattern>
9125 <possibleNumberPattern>\d{5,11}</possibleNumberPattern>
9128 <nationalNumberPattern>
9133 </nationalNumberPattern>
9134 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9135 <exampleNumber>21234567</exampleNumber>
9138 <nationalNumberPattern>
9147 </nationalNumberPattern>
9148 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9149 <exampleNumber>51234567</exampleNumber>
9152 <nationalNumberPattern>7\d{7}</nationalNumberPattern>
9153 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9154 <exampleNumber>71234567</exampleNumber>
9157 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
9158 <possibleNumberPattern>\d{9}</possibleNumberPattern>
9159 <exampleNumber>800123456</exampleNumber>
9162 <nationalNumberPattern>
9167 </nationalNumberPattern>
9168 <possibleNumberPattern>\d{5,11}</possibleNumberPattern>
9169 <exampleNumber>90012345678</exampleNumber>
9172 <nationalNumberPattern>8[1-3]\d{6}</nationalNumberPattern>
9173 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9174 <exampleNumber>81123456</exampleNumber>
9179 <!-- It seems there is no longer a trunk prefix in use, based on websites like
9180 http://www.howtocallabroad.com/codes.html and on seeing how locals write their numbers in
9181 national format. -->
9182 <territory id="HN" countryCode="504" internationalPrefix="00" >
9184 <sourceUrl>http://www.itu.int/oth/T020200005F/en</sourceUrl>
9187 <numberFormat pattern="(\d{4})(\d{4})">
9188 <format>$1-$2</format>
9192 <nationalNumberPattern>[237-9]\d{7}</nationalNumberPattern>
9193 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9196 <!-- Extra prefixes 227[01389], 228X, 2292 & 260X were added from numbers found online. -->
9197 <nationalNumberPattern>
9238 </nationalNumberPattern>
9239 <exampleNumber>22123456</exampleNumber>
9242 <nationalNumberPattern>[37-9]\d{7}</nationalNumberPattern>
9243 <exampleNumber>91234567</exampleNumber>
9248 <territory id="HR" countryCode="385" internationalPrefix="00"
9249 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
9250 mobileNumberPortableRegion="true">
9252 <sourceUrl>http://www.itu.int/oth/T0202000032/en</sourceUrl>
9253 <sourceUrl>http://en.wikipedia.org/wiki/%2B385</sourceUrl>
9256 <!-- The plan says 1 XXX XXXX but the government and local telecom websites are formatted 1
9257 XXXX XXX, so we prefer that formatting here. These same sources prefer XXX XXX to XX
9259 <numberFormat pattern="(1)(\d{4})(\d{3})">
9260 <leadingDigits>1</leadingDigits>
9261 <format>$1 $2 $3</format>
9263 <numberFormat pattern="(6[09])(\d{4})(\d{3})">
9264 <leadingDigits>6[09]</leadingDigits>
9265 <format>$1 $2 $3</format>
9267 <numberFormat pattern="(62)(\d{3})(\d{3,4})">
9268 <leadingDigits>62</leadingDigits>
9269 <format>$1 $2 $3</format>
9271 <numberFormat pattern="([2-5]\d)(\d{3})(\d{3})">
9272 <leadingDigits>[2-5]</leadingDigits>
9273 <format>$1 $2 $3</format>
9275 <numberFormat pattern="(9\d)(\d{3})(\d{3,4})">
9276 <leadingDigits>9</leadingDigits>
9277 <format>$1 $2 $3</format>
9279 <numberFormat pattern="(9\d)(\d{4})(\d{4})">
9280 <leadingDigits>9</leadingDigits>
9281 <format>$1 $2 $3</format>
9283 <numberFormat pattern="(9\d)(\d{3,4})(\d{3})(\d{3})">
9284 <leadingDigits>9</leadingDigits>
9285 <format>$1 $2 $3 $4</format>
9287 <numberFormat pattern="(\d{2})(\d{2})(\d{2,3})">
9292 <format>$1 $2 $3</format>
9294 <numberFormat pattern="(\d{2})(\d{3,4})(\d{3})">
9299 <format>$1 $2 $3</format>
9301 <numberFormat pattern="(80[01])(\d{2})(\d{2,3})">
9302 <leadingDigits>8</leadingDigits>
9303 <format>$1 $2 $3</format>
9305 <numberFormat pattern="(80[01])(\d{3,4})(\d{3})">
9306 <leadingDigits>8</leadingDigits>
9307 <format>$1 $2 $3</format>
9311 <nationalNumberPattern>
9314 </nationalNumberPattern>
9315 <possibleNumberPattern>\d{6,12}</possibleNumberPattern>
9318 <nationalNumberPattern>
9326 </nationalNumberPattern>
9327 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
9328 <exampleNumber>12345678</exampleNumber>
9331 <!-- ITU numbering plan doesn't specify the length of the numbers with prefix 62, but there
9332 are numbers on the internet with 6 or 7 digits after the prefix. -->
9333 <nationalNumberPattern>62\d{6,7}</nationalNumberPattern>
9334 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
9335 <exampleNumber>62123456</exampleNumber>
9338 <nationalNumberPattern>9[1257-9]\d{6,10}</nationalNumberPattern>
9339 <possibleNumberPattern>\d{8,12}</possibleNumberPattern>
9340 <exampleNumber>912345678</exampleNumber>
9343 <nationalNumberPattern>80[01]\d{4,7}</nationalNumberPattern>
9344 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
9345 <exampleNumber>8001234567</exampleNumber>
9348 <!-- The prefixes 060, 061, 064, 065 and 069 are named as premium rate numbers by
9349 http://www.vipnet.hr/en/poslovni-korisnici/telefon-internet/vip-adsl-usluga#panel_4.
9351 <nationalNumberPattern>
9356 </nationalNumberPattern>
9357 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
9358 <exampleNumber>611234</exampleNumber>
9361 <nationalNumberPattern>7[45]\d{4,7}</nationalNumberPattern>
9362 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
9363 <exampleNumber>741234567</exampleNumber>
9368 <territory id="HT" countryCode="509" internationalPrefix="00">
9370 <sourceUrl>http://www.itu.int/oth/T020200005E/en</sourceUrl>
9371 <sourceUrl>http://www.numberingplans.com/</sourceUrl>
9374 <numberFormat pattern="(\d{2})(\d{2})(\d{4})">
9375 <format>$1 $2 $3</format>
9379 <nationalNumberPattern>[2-489]\d{7}</nationalNumberPattern>
9380 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9383 <!-- The prefix 24 seems to be also used, based on online searches. -->
9384 <nationalNumberPattern>
9390 </nationalNumberPattern>
9391 <exampleNumber>22453300</exampleNumber>
9394 <!-- The prefix 31 seems to be also used, based on online searches. -->
9395 <nationalNumberPattern>
9400 </nationalNumberPattern>
9401 <exampleNumber>34101234</exampleNumber>
9404 <!-- ITU document says numbers with prefix 8 are "value-added services and free numbers
9405 without making any further distinction. However, http://www.numberingplans.com/ seems
9406 to suggest they are free. -->
9407 <nationalNumberPattern>8\d{7}</nationalNumberPattern>
9408 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9409 <exampleNumber>80012345</exampleNumber>
9412 <!-- ITU document suggests 98\d{6}, but http://www.numberingplans.com/ restricts it to
9414 <nationalNumberPattern>98[89]\d{5}</nationalNumberPattern>
9415 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9416 <exampleNumber>98901234</exampleNumber>
9421 <territory id="HU" countryCode="36" internationalPrefix="00"
9422 nationalPrefix="06" nationalPrefixFormattingRule="($FG)"
9423 mobileNumberPortableRegion="true">
9425 <sourceUrl>http://www.itu.int/oth/T0202000061/en</sourceUrl>
9427 <!-- Although the national prefix is necessary for dialling, the preferred format (confirmed
9428 by a Hungarian person and following the yellow pages) is to omit this when formatting.
9429 Yellow pages: http://www.aranyoldalak.hu -->
9431 <numberFormat pattern="(1)(\d{3})(\d{4})">
9432 <leadingDigits>1</leadingDigits>
9433 <format>$1 $2 $3</format>
9435 <numberFormat pattern="(\d{2})(\d{3})(\d{3,4})">
9436 <leadingDigits>[2-9]</leadingDigits>
9437 <format>$1 $2 $3</format>
9441 <nationalNumberPattern>[1-9]\d{7,8}</nationalNumberPattern>
9442 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
9444 <noInternationalDialling>
9445 <nationalNumberPattern>[48]0\d{6}</nationalNumberPattern>
9446 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9447 <exampleNumber>80123456</exampleNumber>
9448 </noInternationalDialling>
9450 <!-- Includes numbers for corporate networks. -->
9451 <nationalNumberPattern>
9469 </nationalNumberPattern>
9470 <exampleNumber>12345678</exampleNumber>
9473 <nationalNumberPattern>
9478 </nationalNumberPattern>
9479 <possibleNumberPattern>\d{9}</possibleNumberPattern>
9480 <exampleNumber>201234567</exampleNumber>
9483 <nationalNumberPattern>80\d{6}</nationalNumberPattern>
9484 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9485 <exampleNumber>80123456</exampleNumber>
9488 <nationalNumberPattern>9[01]\d{6}</nationalNumberPattern>
9489 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9490 <exampleNumber>90123456</exampleNumber>
9493 <nationalNumberPattern>40\d{6}</nationalNumberPattern>
9494 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9495 <exampleNumber>40123456</exampleNumber>
9500 <territory id="ID" countryCode="62" internationalPrefix="0(?:0[1789]|10(?:00|1[67]))"
9501 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
9503 <!-- From 2001, very out of date. -->
9504 <sourceUrl>http://www.itu.int/oth/T0202000064/en</sourceUrl>
9505 <sourceUrl>http://en.wikipedia.org/wiki/%2B62</sourceUrl>
9508 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
9509 pattern="(\d{2})(\d{5,8})">
9514 <format>$1 $2</format>
9516 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
9517 pattern="(\d{3})(\d{5,8})">
9523 <format>$1 $2</format>
9525 <numberFormat pattern="(8\d{2})(\d{3,4})(\d{3,4})">
9526 <leadingDigits>8[1-35-9]</leadingDigits>
9527 <format>$1-$2-$3</format>
9529 <numberFormat pattern="(177)(\d{6,8})">
9530 <leadingDigits>1</leadingDigits>
9531 <format>$1 $2</format>
9533 <!-- http://en.wikipedia.org/wiki/Toll-free_telephone_number, and examples on the web show
9534 that sometimes they are followed by less digits. -->
9535 <numberFormat pattern="(800)(\d{5,7})">
9536 <leadingDigits>800</leadingDigits>
9537 <format>$1 $2</format>
9539 <numberFormat pattern="(80\d)(\d)(\d{3})(\d{3})">
9540 <leadingDigits>80[79]</leadingDigits>
9541 <format>$1 $2 $3 $4</format>
9545 <nationalNumberPattern>[1-9]\d{6,10}</nationalNumberPattern>
9546 <possibleNumberPattern>\d{5,11}</possibleNumberPattern>
9549 <!-- Area codes taken from wikipedia, with missing ones added from
9550 http://www.telkom.co.id/customer-services/area-and-country-code/?type=area.
9551 We also added 0770 after user feedback because it seems to be used on Bintan island.
9552 Where known, fixed mobile prefixes have been represented as Mobile. -->
9553 <!-- Very short (5/6 digit) local numbers in Jakarta seem to be special cases for various
9554 well known companies (Mc Donalds, KFC etc...). Some of these are listed in:
9555 http://cms.binus.edu/datapage/file/io/Spring2014SE/International_Student_Handbook_BINUS.pdf
9556 There seem to be numbers of this length for area code 22 as well based on numbers found
9558 <nationalNumberPattern>
9629 </nationalNumberPattern>
9630 <possibleNumberPattern>\d{5,11}</possibleNumberPattern>
9631 <exampleNumber>612345678</exampleNumber>
9634 <!-- It is unclear exactly which prefixes could be mobile phones, based on the information
9635 on the wikipedia page. However, Bakrie have provided a list of their prefixes, which
9636 are captured below. The pattern covers the area code plus the first one-two digits of
9637 the subscriber number. -->
9638 <nationalNumberPattern>
9714 </nationalNumberPattern>
9715 <possibleNumberPattern>\d{9,11}</possibleNumberPattern>
9716 <exampleNumber>812345678</exampleNumber>
9719 <nationalNumberPattern>
9722 </nationalNumberPattern>
9723 <possibleNumberPattern>\d{8,11}</possibleNumberPattern>
9724 <exampleNumber>8001234567</exampleNumber>
9727 <nationalNumberPattern>8071\d{6}</nationalNumberPattern>
9728 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9729 <exampleNumber>8071123456</exampleNumber>
9731 <noInternationalDialling>
9732 <nationalNumberPattern>8071\d{6}</nationalNumberPattern>
9733 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9734 <exampleNumber>8071123456</exampleNumber>
9735 </noInternationalDialling>
9736 <!-- The information below is provided by an Indonesian -->
9738 <nationalNumberPattern>809\d{7}</nationalNumberPattern>
9739 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9740 <exampleNumber>8091234567</exampleNumber>
9745 <territory id="IE" countryCode="353" internationalPrefix="00"
9746 nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)"
9747 mobileNumberPortableRegion="true">
9749 <sourceUrl>http://www.comreg.ie/licensing_and_services/numbering_plan_for_ireland.552.440.html</sourceUrl>
9750 <sourceUrl>http://www.comreg.ie/_fileupload/publications/ComReg1119.pdf</sourceUrl>
9753 <numberFormat pattern="(1)(\d{3,4})(\d{4})">
9754 <leadingDigits>1</leadingDigits>
9755 <format>$1 $2 $3</format>
9757 <numberFormat pattern="(\d{2})(\d{5})">
9765 <format>$1 $2</format>
9767 <numberFormat pattern="(\d{3})(\d{5})">
9772 <format>$1 $2</format>
9774 <numberFormat pattern="(48)(\d{4})(\d{4})">
9775 <leadingDigits>48</leadingDigits>
9776 <format>$1 $2 $3</format>
9778 <numberFormat pattern="(818)(\d{3})(\d{3})">
9779 <leadingDigits>81</leadingDigits>
9780 <format>$1 $2 $3</format>
9782 <numberFormat pattern="(\d{2})(\d{3})(\d{3,4})">
9787 <format>$1 $2 $3</format>
9789 <numberFormat nationalPrefixFormattingRule="$NP$FG"
9790 pattern="([78]\d)(\d{3,4})(\d{4})">
9795 <format>$1 $2 $3</format>
9797 <numberFormat nationalPrefixFormattingRule="$NP$FG"
9798 pattern="(700)(\d{3})(\d{3})">
9799 <leadingDigits>70</leadingDigits>
9800 <format>$1 $2 $3</format>
9802 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{3})(\d{3})">
9815 <format>$1 $2 $3</format>
9819 <nationalNumberPattern>[124-9]\d{6,9}</nationalNumberPattern>
9820 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
9822 <noInternationalDialling>
9823 <nationalNumberPattern>18[59]0\d{6}</nationalNumberPattern>
9824 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9825 <exampleNumber>1850123456</exampleNumber>
9826 </noInternationalDialling>
9828 <!-- We allow 6-7 digit subscriber numbers for the 021 area code since that seems to be
9829 reflected by the numbers in the Yellow Pages. Another peculiarity is that 048 actually
9830 replaces 00 44 28 when Irish people dial, allowing them to easily dial Northern
9831 Ireland. We support these numbers here, although technically they are numbers for the
9833 <nationalNumberPattern>
9864 </nationalNumberPattern>
9865 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
9866 <exampleNumber>2212345</exampleNumber>
9869 <nationalNumberPattern>
9874 </nationalNumberPattern>
9875 <possibleNumberPattern>\d{9}</possibleNumberPattern>
9876 <exampleNumber>850123456</exampleNumber>
9879 <nationalNumberPattern>1800\d{6}</nationalNumberPattern>
9880 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9881 <exampleNumber>1800123456</exampleNumber>
9884 <nationalNumberPattern>
9890 </nationalNumberPattern>
9891 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9892 <exampleNumber>1520123456</exampleNumber>
9895 <nationalNumberPattern>18[59]0\d{6}</nationalNumberPattern>
9896 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9897 <exampleNumber>1850123456</exampleNumber>
9900 <nationalNumberPattern>700\d{6}</nationalNumberPattern>
9901 <possibleNumberPattern>\d{9}</possibleNumberPattern>
9902 <exampleNumber>700123456</exampleNumber>
9905 <nationalNumberPattern>76\d{7}</nationalNumberPattern>
9906 <possibleNumberPattern>\d{9}</possibleNumberPattern>
9907 <exampleNumber>761234567</exampleNumber>
9910 <nationalNumberPattern>818\d{6}</nationalNumberPattern>
9911 <possibleNumberPattern>\d{9}</possibleNumberPattern>
9912 <exampleNumber>818123456</exampleNumber>
9915 <nationalNumberPattern>8[35-9]\d{8}</nationalNumberPattern>
9916 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9917 <exampleNumber>8501234567</exampleNumber>
9922 <!-- Formatting practice following wikipedia, and government sites. -->
9923 <territory id="IL" countryCode="972" internationalPrefix="0(?:0|1[2-9])"
9924 nationalPrefix="0" nationalPrefixFormattingRule="$FG"
9925 mobileNumberPortableRegion="true">
9927 <sourceUrl>http://www.itu.int/oth/T020200006A/en</sourceUrl>
9928 <sourceUrl>http://en.wikipedia.org/wiki/%2B972</sourceUrl>
9930 <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>
9933 <numberFormat nationalPrefixFormattingRule="$NP$FG"
9934 pattern="([2-489])(\d{3})(\d{4})">
9935 <leadingDigits>[2-489]</leadingDigits>
9936 <format>$1-$2-$3</format>
9938 <numberFormat nationalPrefixFormattingRule="$NP$FG"
9939 pattern="([57]\d)(\d{3})(\d{4})">
9940 <leadingDigits>[57]</leadingDigits>
9941 <format>$1-$2-$3</format>
9943 <numberFormat pattern="(1)([7-9]\d{2})(\d{3})(\d{3})">
9944 <leadingDigits>1[7-9]</leadingDigits>
9945 <format>$1-$2-$3-$4</format>
9947 <!-- The following number is for hospitals. -->
9948 <numberFormat pattern="(1255)(\d{3})">
9949 <leadingDigits>125</leadingDigits>
9950 <format>$1-$2</format>
9952 <numberFormat pattern="(1200)(\d{3})(\d{3})">
9953 <leadingDigits>120</leadingDigits>
9954 <format>$1-$2-$3</format>
9956 <numberFormat pattern="(1212)(\d{2})(\d{2})">
9957 <leadingDigits>121</leadingDigits>
9958 <format>$1-$2-$3</format>
9960 <!-- The following is for voicemail access. -->
9961 <numberFormat pattern="(1599)(\d{6})">
9962 <leadingDigits>15</leadingDigits>
9963 <format>$1-$2</format>
9965 <!-- These are 4-digit star numbers which are only accessible within Israel and must be
9966 dialed with a star in front of the number. -->
9967 <numberFormat pattern="(\d{4})">
9968 <leadingDigits>[2-689]</leadingDigits>
9969 <format>*$1</format>
9973 <nationalNumberPattern>
9975 [2-589]\d{3}(?:\d{3,6})?|
9977 </nationalNumberPattern>
9978 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
9980 <noInternationalDialling>
9981 <nationalNumberPattern>
9984 </nationalNumberPattern>
9985 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
9986 <exampleNumber>1700123456</exampleNumber>
9987 </noInternationalDialling>
9989 <nationalNumberPattern>[2-489]\d{7}</nationalNumberPattern>
9990 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
9991 <exampleNumber>21234567</exampleNumber>
9994 <!-- The ITU document has only some of these prefixes - wikipedia lists more. We are fairly
9995 sure wikipedia is accurate based on news coverage of the launch of these numbers. -->
9996 <nationalNumberPattern>
10012 </nationalNumberPattern>
10013 <possibleNumberPattern>\d{9}</possibleNumberPattern>
10014 <exampleNumber>501234567</exampleNumber>
10017 <!-- Online 1-809 numbers now classify themselves as "toll-free". -->
10018 <nationalNumberPattern>
10023 </nationalNumberPattern>
10024 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
10025 <exampleNumber>1800123456</exampleNumber>
10028 <!-- Peculiarly, one source states that 1956 and 1957 are the new premium rate prefixes.
10029 However, no online numbers starting with these prefixes can be found, and this data
10030 is not found in any other source. -->
10031 <!-- 1200 and 1212 numbers are for televoting. -->
10032 <nationalNumberPattern>
10043 </nationalNumberPattern>
10044 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
10045 <exampleNumber>1919123456</exampleNumber>
10048 <nationalNumberPattern>1700\d{6}</nationalNumberPattern>
10049 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10050 <exampleNumber>1700123456</exampleNumber>
10053 <!-- These rules are a union of the wikipedia and ITU document prefixes. They are mostly
10054 marked as VoIP on wikipedia, but it seems they may indeed be DID (Direct Inward
10055 Dialing) numbers, that most people forward to VoIP numbers. -->
10056 <nationalNumberPattern>
10073 </nationalNumberPattern>
10074 <possibleNumberPattern>\d{9}</possibleNumberPattern>
10075 <exampleNumber>771234567</exampleNumber>
10078 <!-- 4-digit star numbers and 1-599 numbers. The latter are actually labelled "interactive
10079 voicemail" in the ITU document, but according to reports from businesses in Israel and
10080 the Hebrew version of the wikipedia page, these are actually a router for business
10081 calls, and incur a normal call cost on account of the caller. -->
10082 <nationalNumberPattern>
10085 </nationalNumberPattern>
10086 <possibleNumberPattern>\d{4}(?:\d{6})?</possibleNumberPattern>
10087 <exampleNumber>1599123456</exampleNumber>
10091 <!-- Isle of Man -->
10092 <!-- Inherits formatting rules from the UK. -->
10093 <territory id="IM" countryCode="44" internationalPrefix="00"
10094 nationalPrefix="0" preferredExtnPrefix=" x" nationalPrefixFormattingRule="$NP$FG">
10096 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom</sourceUrl>
10099 <nationalNumberPattern>[135789]\d{6,9}</nationalNumberPattern>
10100 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
10103 <nationalNumberPattern>1624[2-9]\d{5}</nationalNumberPattern>
10104 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10105 <exampleNumber>1624250123</exampleNumber>
10106 </areaCodeOptional>
10107 <!-- Specific to IM. -->
10109 <!-- 1624 with 10 digits. -->
10110 <nationalNumberPattern>1624\d{6}</nationalNumberPattern>
10111 <exampleNumber>1624456789</exampleNumber>
10114 <!-- 7524, 7624, 7924 with 10 digits. -->
10115 <nationalNumberPattern>7[569]24\d{6}</nationalNumberPattern>
10116 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10117 <exampleNumber>7924123456</exampleNumber>
10120 <!-- 808 162 with 10 digits. -->
10121 <nationalNumberPattern>808162\d{4}</nationalNumberPattern>
10122 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10123 <exampleNumber>8081624567</exampleNumber>
10126 <!-- 872 299, 900 624, 901 624, 906 624, 907 624 with 10 digits. -->
10127 <nationalNumberPattern>
10132 </nationalNumberPattern>
10133 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10134 <exampleNumber>9016247890</exampleNumber>
10137 <!-- 844 040 6, 844 090 6, 845 624, 870 624 with 10 digits. -->
10138 <nationalNumberPattern>
10146 </nationalNumberPattern>
10147 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10148 <exampleNumber>8456247890</exampleNumber>
10150 <!-- Other numbers as per GB. -->
10152 <nationalNumberPattern>70\d{8}</nationalNumberPattern>
10153 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10154 <exampleNumber>7012345678</exampleNumber>
10157 <nationalNumberPattern>56\d{8}</nationalNumberPattern>
10158 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10159 <exampleNumber>5612345678</exampleNumber>
10162 <!-- 308 162, 33d, 344 040 6, 344 090 6, 345 624, 370 624, 372 299, 55 with 10 digits. -->
10163 <nationalNumberPattern>
10177 </nationalNumberPattern>
10178 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10179 <exampleNumber>5512345678</exampleNumber>
10184 <!-- Note that several changes in area codes have occurred since the numbering plan was released
10185 - fixed line changes are notified on the http://www.bsnl.co.in website. Area codes can be
10186 verified here at http://dq.ndc.bsnl.co.in/bsnl-web/stdSearch.seam. -->
10187 <territory id="IN" countryCode="91" internationalPrefix="00" nationalPrefix="0"
10188 nationalPrefixFormattingRule="$NP$FG" nationalPrefixOptionalWhenFormatting="true"
10189 mobileNumberPortableRegion="true">
10191 <sourceUrl>http://www.itu.int/oth/T0202000063/en</sourceUrl>
10192 <sourceUrl>http://en.wikipedia.org/wiki/%2B91</sourceUrl>
10193 <sourceUrl>http://www.coai.in/msccodes.php</sourceUrl>
10196 <!-- Mobile numbers. -->
10197 <numberFormat pattern="(\d{5})(\d{5})">
10305 <format>$1 $2</format>
10307 <!-- 2 digits area code -->
10308 <numberFormat pattern="(\d{2})(\d{4})(\d{4})">
10317 <format>$1 $2 $3</format>
10319 <!-- 3 digit area codes that don't clash with mobile patterns. -->
10320 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
10376 <format>$1 $2 $3</format>
10378 <!-- Three-digit area codes that potentially overlap with mobile. -->
10379 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
10405 <format>$1 $2 $3</format>
10407 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
10419 <format>$1 $2 $3</format>
10421 <!-- 4 digits area code -->
10422 <!-- Fallback for fixed-line numbers. -->
10423 <numberFormat pattern="(\d{4})(\d{3})(\d{3})">
10431 <format>$1 $2 $3</format>
10433 <numberFormat nationalPrefixFormattingRule="$FG"
10434 pattern="(1600)(\d{2})(\d{4})">
10435 <leadingDigits>160</leadingDigits>
10436 <leadingDigits>1600</leadingDigits>
10437 <format>$1 $2 $3</format>
10439 <numberFormat nationalPrefixFormattingRule="$FG"
10440 pattern="(1800)(\d{4,5})">
10441 <leadingDigits>180</leadingDigits>
10442 <leadingDigits>1800</leadingDigits>
10443 <format>$1 $2</format>
10445 <numberFormat nationalPrefixFormattingRule="$FG"
10446 pattern="(18[06]0)(\d{2,4})(\d{4})">
10447 <leadingDigits>18[06]</leadingDigits>
10448 <leadingDigits>18[06]0</leadingDigits>
10449 <format>$1 $2 $3</format>
10451 <numberFormat nationalPrefixFormattingRule="$FG"
10452 pattern="(140)(\d{3})(\d{4})">
10453 <leadingDigits>140</leadingDigits>
10454 <format>$1 $2 $3</format>
10456 <!-- Televoting numbers. Formatting information is from
10457 http://www.bsnl.co.in/service/telev.htm -->
10458 <numberFormat nationalPrefixFormattingRule="$FG"
10459 pattern="(\d{4})(\d{3})(\d{4})(\d{2})">
10460 <leadingDigits>18[06]</leadingDigits>
10467 <format>$1 $2 $3 $4</format>
10469 </availableFormats>
10471 <nationalNumberPattern>
10474 </nationalNumberPattern>
10475 <possibleNumberPattern>\d{6,13}</possibleNumberPattern>
10477 <noInternationalDialling>
10478 <nationalNumberPattern>
10492 </nationalNumberPattern>
10493 <possibleNumberPattern>\d{8,13}</possibleNumberPattern>
10494 <exampleNumber>1800123456</exampleNumber>
10495 </noInternationalDialling>
10497 <!-- This is a list of the 2 and 3 digit area codes and the first 3 digits of 4 digit area
10498 codes, so we can check the following digit belongs to one of the operator-codes (2-7).
10499 Operator codes are from wikipedia, with the addition of 5 (HFCL Infotel in some areas).
10500 Not all operator codes are available in all areas, but we don't maintain that
10502 Area codes starting with a 7 are listed separately, since the prefixes need to be more
10503 detailed so they clash less with mobile phone prefixes. -->
10504 <nationalNumberPattern>
10674 </nationalNumberPattern>
10675 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
10676 <exampleNumber>1123456789</exampleNumber>
10678 <!-- http://en.wikipedia.org/wiki/Mobile_telephone_numbering_in_India -->
10679 <!-- The document titled "List of MSC codes" linked off
10680 http://www.dot.gov.in/access-services/national-numbering-plan-2003 was helpful but last
10681 updated 2012 - more updates at http://www.dot.gov.in/access-services/allotment-msc-codes. -->
10683 <!-- A couple of additional prefixes found neither on the wikipedia page nor in the MSC
10684 codes list, are added because SMS messages have been successfully sent to these
10685 numbers. It seems almost impossible to know for some of these numbers whether they are
10686 land-line or mobile, since the ranges overlap. Extra prefixes added: 7601, 768[567],
10687 7695, 8299, 8309. New prefixes were also added based on the document provided from
10688 mobile carriers: https://github.com/googlei18n/libphonenumber/issues/260 -->
10689 <nationalNumberPattern>
10774 </nationalNumberPattern>
10775 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10776 <exampleNumber>9123456789</exampleNumber>
10779 <!-- Information gathered from sites such as
10780 http://www.surfindia.com/india-facts/toll-free-no.html and
10781 http://indmusings.blogspot.com/2008/09/free-help-line-numbersindia.html
10782 http://www.bsnl.co.in/service/telev.htm -->
10783 <nationalNumberPattern>
10791 </nationalNumberPattern>
10792 <possibleNumberPattern>\d{8,13}</possibleNumberPattern>
10793 <exampleNumber>1800123456</exampleNumber>
10796 <!-- Only televoting numbers are covered here for now. The 900 numbers are not covered
10797 because they overlap with mobile, and we haven't found any real numbers online. -->
10798 <nationalNumberPattern>186[12]\d{9}</nationalNumberPattern>
10799 <possibleNumberPattern>\d{13}</possibleNumberPattern>
10800 <exampleNumber>1861123456789</exampleNumber>
10803 <!-- While described as "universal numbers" in the numbering plan, evidence suggests
10804 that 1860 number are best described as shared cost. See "Call Local Service" in:
10805 http://www.tatadocomo.com/corporates/toll-free.aspx -->
10806 <nationalNumberPattern>1860\d{7}</nationalNumberPattern>
10807 <possibleNumberPattern>\d{11}</possibleNumberPattern>
10808 <exampleNumber>18603451234</exampleNumber>
10811 <!-- Telemarketing numbers: http://en.wikipedia.org/wiki/Telephone_numbers_in_India -->
10812 <nationalNumberPattern>140\d{7}</nationalNumberPattern>
10813 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10814 <exampleNumber>1409305260</exampleNumber>
10818 <!-- British Indian Ocean Territory / Diego Garcia -->
10819 <territory id="IO" countryCode="246" internationalPrefix="00">
10821 <sourceUrl>http://www.itu.int/oth/T0202000039/en</sourceUrl>
10824 <numberFormat pattern="(\d{3})(\d{4})">
10825 <format>$1 $2</format>
10827 </availableFormats>
10829 <nationalNumberPattern>3\d{6}</nationalNumberPattern>
10830 <possibleNumberPattern>\d{7}</possibleNumberPattern>
10833 <nationalNumberPattern>37\d{5}</nationalNumberPattern>
10834 <exampleNumber>3709100</exampleNumber>
10837 <nationalNumberPattern>38\d{5}</nationalNumberPattern>
10838 <exampleNumber>3801234</exampleNumber>
10843 <territory id="IQ" countryCode="964" internationalPrefix="00"
10844 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
10846 <sourceUrl>http://en.wikipedia.org/wiki/%2B964</sourceUrl>
10847 <sourceUrl>http://wtng.info/wtng-964-ik.html</sourceUrl>
10850 <numberFormat pattern="(1)(\d{3})(\d{4})">
10851 <leadingDigits>1</leadingDigits>
10852 <format>$1 $2 $3</format>
10854 <numberFormat pattern="([2-6]\d)(\d{3})(\d{3,4})">
10855 <leadingDigits>[2-6]</leadingDigits>
10856 <format>$1 $2 $3</format>
10858 <numberFormat pattern="(7\d{2})(\d{3})(\d{4})">
10859 <leadingDigits>7</leadingDigits>
10860 <format>$1 $2 $3</format>
10862 </availableFormats>
10864 <nationalNumberPattern>[1-7]\d{7,9}</nationalNumberPattern>
10865 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
10868 <nationalNumberPattern>
10877 </nationalNumberPattern>
10878 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
10879 <exampleNumber>12345678</exampleNumber>
10882 <nationalNumberPattern>7[3-9]\d{8}</nationalNumberPattern>
10883 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10884 <exampleNumber>7912345678</exampleNumber>
10886 <!-- No tollFree or premiumRate information can be found. -->
10889 <!-- Iran, Islamic Republic of -->
10890 <territory id="IR" countryCode="98" internationalPrefix="00"
10891 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
10893 <sourceUrl>http://en.wikipedia.org/wiki/%2B98</sourceUrl>
10894 <sourceUrl>http://www.itu.int/oth/T0202000066/en</sourceUrl>
10895 <sourceUrl>http://www.tct.ir/?siteid=1&pageid=195</sourceUrl>
10896 <sourceUrl>http://118.tct.ir/citycode.htm</sourceUrl>
10899 <!-- Formatting follows wikipedia. -->
10900 <numberFormat pattern="(21)(\d{3,5})">
10901 <leadingDigits>21</leadingDigits>
10902 <format>$1 $2</format>
10904 <numberFormat pattern="(\d{2})(\d{4})(\d{4})">
10905 <leadingDigits>[1-8]</leadingDigits>
10906 <format>$1 $2 $3</format>
10908 <numberFormat pattern="(\d{3})(\d{3})(\d{3,4})">
10909 <leadingDigits>9</leadingDigits>
10910 <format>$1 $2 $3</format>
10912 <numberFormat pattern="(\d{3})(\d{2})(\d{2,3})">
10913 <leadingDigits>9</leadingDigits>
10914 <format>$1 $2 $3</format>
10916 <numberFormat pattern="(\d{3})(\d{3})">
10917 <leadingDigits>9</leadingDigits>
10918 <format>$1 $2</format>
10920 </availableFormats>
10922 <nationalNumberPattern>
10928 </nationalNumberPattern>
10929 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
10932 <!-- In Summer 2014 Iran unified all fixed phone numbers in the following way:
10933 Each province is assigned a two digit prefix (except for North Khorasan which has 3).
10934 Within each province, all numbers are exactly eight digits. The expression below is
10935 organized by province. For each province we accept all eight-digit combinations.
10949 38 Chahar Mahaal and Bakhtiari
10954 54 Sistan and Baluchestan
10956 57 North Khorasan (Extras)
10959 64 North Khorasan (Extras)
10962 74 Kohgiluyeh and Boyer-Ahmad
10971 <nationalNumberPattern>
10982 </nationalNumberPattern>
10983 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10984 <exampleNumber>2123456789</exampleNumber>
10987 <nationalNumberPattern>
10992 </nationalNumberPattern>
10993 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10994 <exampleNumber>9123456789</exampleNumber>
10997 <nationalNumberPattern>943\d{7}</nationalNumberPattern>
10998 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10999 <exampleNumber>9432123456</exampleNumber>
11001 <!-- No tollFree or premiumRate information can be found. -->
11003 <!-- Includes VSAT and Boomehen Satellite numbers. -->
11004 <nationalNumberPattern>
11009 </nationalNumberPattern>
11010 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11011 <exampleNumber>9932123456</exampleNumber>
11014 <!-- MCI Public Relations numbers -->
11015 <nationalNumberPattern>9990\d{0,6}</nationalNumberPattern>
11016 <exampleNumber>9990123456</exampleNumber>
11021 <territory id="IS" countryCode="354" internationalPrefix="00" mobileNumberPortableRegion="true">
11023 <sourceUrl>http://www.pta.is/default.aspx?cat_id=85</sourceUrl>
11024 <sourceUrl>http://www.pfs.is/default.aspx?cat_id=14&module_id=210&element_id=4</sourceUrl>
11027 <numberFormat pattern="(\d{3})(\d{4})">
11028 <leadingDigits>[4-9]</leadingDigits>
11029 <format>$1 $2</format>
11031 <numberFormat pattern="(3\d{2})(\d{3})(\d{3})">
11032 <leadingDigits>3</leadingDigits>
11033 <format>$1 $2 $3</format>
11035 </availableFormats>
11037 <nationalNumberPattern>
11040 </nationalNumberPattern>
11041 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
11044 <!-- Including 87[23] XXXX here as it is listed as a fax number. -->
11045 <nationalNumberPattern>
11068 </nationalNumberPattern>
11069 <possibleNumberPattern>\d{7}</possibleNumberPattern>
11070 <exampleNumber>4101234</exampleNumber>
11073 <!-- TETRA = TErrestrial Trunked RAdio is included under mobile. -->
11074 <nationalNumberPattern>
11097 </nationalNumberPattern>
11098 <exampleNumber>6111234</exampleNumber>
11101 <!-- The UIFN numbers mentioned in the Excel document are not yet included since no real
11102 numbers can be found online, and it is not clear what these are; the standard
11103 definition would have them under the +800 country code instead of Iceland. -->
11104 <nationalNumberPattern>800\d{4}</nationalNumberPattern>
11105 <possibleNumberPattern>\d{7}</possibleNumberPattern>
11106 <exampleNumber>8001234</exampleNumber>
11109 <nationalNumberPattern>90\d{5}</nationalNumberPattern>
11110 <possibleNumberPattern>\d{7}</possibleNumberPattern>
11111 <exampleNumber>9011234</exampleNumber>
11114 <nationalNumberPattern>49\d{5}</nationalNumberPattern>
11115 <possibleNumberPattern>\d{7}</possibleNumberPattern>
11116 <exampleNumber>4921234</exampleNumber>
11119 <nationalNumberPattern>
11129 </nationalNumberPattern>
11130 <possibleNumberPattern>\d{7}</possibleNumberPattern>
11131 <exampleNumber>6201234</exampleNumber>
11136 <territory id="IT" countryCode="39" internationalPrefix="00" leadingZeroPossible="true"
11137 mobileNumberPortableRegion="true">
11139 <sourceUrl>http://en.wikipedia.org/wiki/%2B39</sourceUrl>
11142 <!-- The leading zero for fixed numbers will be prepended before the matching of these
11143 regular expressions. -->
11144 <numberFormat pattern="(\d{2})(\d{3,4})(\d{4})">
11149 <format>$1 $2 $3</format>
11151 <numberFormat pattern="(0[26])(\d{4})(\d{5})">
11152 <leadingDigits>0[26]</leadingDigits>
11153 <format>$1 $2 $3</format>
11155 <numberFormat pattern="(0[26])(\d{4,6})">
11156 <leadingDigits>0[26]</leadingDigits>
11157 <format>$1 $2</format>
11159 <numberFormat pattern="(0\d{2})(\d{3,4})(\d{4})">
11160 <leadingDigits>0[13-57-9][0159]</leadingDigits>
11161 <format>$1 $2 $3</format>
11163 <numberFormat pattern="(\d{3})(\d{3,6})">
11183 <format>$1 $2</format>
11185 <numberFormat pattern="(0\d{3})(\d{3})(\d{4})">
11186 <leadingDigits>0[13-57-9][2-46-8]</leadingDigits>
11187 <format>$1 $2 $3</format>
11189 <numberFormat pattern="(0\d{3})(\d{2,6})">
11190 <leadingDigits>0[13-57-9][2-46-8]</leadingDigits>
11191 <format>$1 $2</format>
11193 <numberFormat pattern="(\d{3})(\d{3})(\d{3,4})">
11213 <format>$1 $2 $3</format>
11215 <numberFormat pattern="(\d{4})(\d{4})">
11216 <leadingDigits>894</leadingDigits>
11217 <leadingDigits>894[5-9]</leadingDigits>
11218 <format>$1 $2</format>
11220 <numberFormat pattern="(\d{3})(\d{4})(\d{4})">
11221 <leadingDigits>3</leadingDigits>
11222 <format>$1 $2 $3</format>
11224 </availableFormats>
11226 <nationalNumberPattern>
11232 </nationalNumberPattern>
11233 <possibleNumberPattern>\d{6,11}</possibleNumberPattern>
11235 <noInternationalDialling>
11236 <nationalNumberPattern>848\d{6}</nationalNumberPattern>
11237 <possibleNumberPattern>\d{9}</possibleNumberPattern>
11238 <exampleNumber>848123456</exampleNumber>
11239 </noInternationalDialling>
11241 <!-- Maximum lengths in the ITU document are 10, but it states above that for numbers
11242 starting with 01, the maximum length is in fact 11. In fact, online, numbers can be
11243 found with other prefixes that are 11 digits long as well, so we allow it for all the
11244 three and four digit area codes. -->
11245 <nationalNumberPattern>
11306 </nationalNumberPattern>
11307 <possibleNumberPattern>\d{6,11}</possibleNumberPattern>
11308 <exampleNumber>0212345678</exampleNumber>
11311 <!-- According to wikipedia, TIM mobile numbers can be 9 digits long, but all others are 10
11312 digits long. However, a user reported the existence of new 11 digit long numbers for
11313 TIM with the prefix 33X, so this is supported also. -->
11314 <nationalNumberPattern>
11320 </nationalNumberPattern>
11321 <possibleNumberPattern>\d{9,11}</possibleNumberPattern>
11322 <exampleNumber>3123456789</exampleNumber>
11325 <nationalNumberPattern>
11330 </nationalNumberPattern>
11331 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
11332 <exampleNumber>800123456</exampleNumber>
11335 <!-- Adding 0878 numbers, as per
11336 http://www.aduc.it/notizia/polizia+mette+allerta+sul+numero+0878_73136.php. Other
11337 premium prefixes are mentioned here:
11338 http://www.dirittodellinformatica.it/news/telefonia/agcom-blocco-permanente-prefissi-144-166-892-899-20080520241.html -->
11339 <nationalNumberPattern>
11357 </nationalNumberPattern>
11358 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
11359 <exampleNumber>899123456</exampleNumber>
11362 <nationalNumberPattern>
11367 </nationalNumberPattern>
11368 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
11369 <exampleNumber>848123456</exampleNumber>
11372 <nationalNumberPattern>
11377 </nationalNumberPattern>
11378 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
11379 <exampleNumber>1781234567</exampleNumber>
11382 <nationalNumberPattern>55\d{8}</nationalNumberPattern>
11383 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11384 <exampleNumber>5512345678</exampleNumber>
11389 <!-- Inherits formatting rules from the UK. -->
11390 <territory id="JE" countryCode="44" internationalPrefix="00"
11391 nationalPrefix="0" preferredExtnPrefix=" x" nationalPrefixFormattingRule="$NP$FG">
11393 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom</sourceUrl>
11394 <sourceUrl>http://www.jcra.je/cms3/v2/public/cmsChild.asp?pageID=1024&childID=1036</sourceUrl>
11397 <nationalNumberPattern>[135789]\d{6,9}</nationalNumberPattern>
11398 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
11401 <nationalNumberPattern>1534[2-9]\d{5}</nationalNumberPattern>
11402 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11403 <exampleNumber>1534250123</exampleNumber>
11404 </areaCodeOptional>
11405 <!-- Specific to JE. -->
11407 <!-- 1534 with 10 digits. -->
11408 <nationalNumberPattern>1534\d{6}</nationalNumberPattern>
11409 <exampleNumber>1534456789</exampleNumber>
11412 <!-- 7509, 7700, 7797, 7829, 7937 with 10 digits. -->
11413 <nationalNumberPattern>
11423 </nationalNumberPattern>
11424 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11425 <exampleNumber>7797123456</exampleNumber>
11428 <!-- Pager numbers as per GB. -->
11429 <nationalNumberPattern>
11440 </nationalNumberPattern>
11441 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11442 <exampleNumber>7640123456</exampleNumber>
11444 <!-- Specific to JE. -->
11446 <!-- 800 735, 800 781, 808 901 with 10 digits. -->
11447 <nationalNumberPattern>
11455 </nationalNumberPattern>
11456 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11457 <exampleNumber>8007354567</exampleNumber>
11460 <!-- 871 206, 900 665, 900 669, 901 810, 907 107, 907 155 with 10 digits. -->
11461 <nationalNumberPattern>
11473 </nationalNumberPattern>
11474 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11475 <exampleNumber>9018105678</exampleNumber>
11478 <!-- 844 405, 844 442, 844 469, 844 703, 845 041, 845 800, 870 002 with 10 digits. -->
11479 <nationalNumberPattern>
11497 </nationalNumberPattern>
11498 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11499 <exampleNumber>8447034567</exampleNumber>
11502 <!-- 70 1511 with 10 digits. -->
11503 <nationalNumberPattern>701511\d{4}</nationalNumberPattern>
11504 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11505 <exampleNumber>7015115678</exampleNumber>
11508 <!-- VoIP numbers as per GB. -->
11509 <nationalNumberPattern>56\d{8}</nationalNumberPattern>
11510 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11511 <exampleNumber>5612345678</exampleNumber>
11514 <!-- 300 735, 300 781, 308 901, 33d, 344 405, 344 442, 344 469, 344 703, 345 041, 345 800,
11515 370 002, 371 206, 55 with 10 digits. -->
11516 <nationalNumberPattern>
11546 </nationalNumberPattern>
11547 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11548 <exampleNumber>5512345678</exampleNumber>
11553 <territory id="JM" countryCode="1" leadingDigits="876" nationalPrefix="1"
11554 internationalPrefix="011">
11556 <sourceUrl>http://www.itu.int/oth/T020200006C/en</sourceUrl>
11559 <!-- NANPA country - uses US formatting rules -->
11560 <nationalNumberPattern>[589]\d{9}</nationalNumberPattern>
11561 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
11564 <!-- Numbers have been found online for ranges 62x,63x, 656, 66[2-589]. -->
11565 <nationalNumberPattern>
11597 </nationalNumberPattern>
11598 <exampleNumber>8765123456</exampleNumber>
11601 <!-- Adding 27, 28, 299, 31, 508, 527 and 566 as extra prefixes, as they have been found to
11602 be valid by sending SMSs and looking at online number lookup sites. Also added 50[3-79]
11603 as we have found information online that the 50[3-9] range has been assigned to Digicel.
11605 Numbers have been found online for the following ranges 29x, 53x, 54x, 55x, 56x.
11606 Most have mobile numbers online so we have put them under mobile but is possible
11607 they are a mixture of fixed line and mobile. -->
11608 <nationalNumberPattern>
11629 </nationalNumberPattern>
11630 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11631 <exampleNumber>8762101234</exampleNumber>
11634 <nationalNumberPattern>
11643 </nationalNumberPattern>
11644 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11645 <exampleNumber>8002123456</exampleNumber>
11648 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
11649 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11650 <exampleNumber>9002123456</exampleNumber>
11653 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
11654 <nationalNumberPattern>
11662 </nationalNumberPattern>
11663 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11664 <exampleNumber>5002345678</exampleNumber>
11669 <territory id="JO" countryCode="962" internationalPrefix="00"
11670 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
11671 mobileNumberPortableRegion="true">
11673 <sourceUrl>http://www.trc.gov.jo/images/stories/pdf/NNP_ver200[1].pdf?lang=english</sourceUrl>
11674 <sourceUrl>http://www.itu.int/oth/T020200006E/en</sourceUrl>
11675 <sourceUrl>http://en.wikipedia.org/wiki/%2B962</sourceUrl>
11678 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
11679 pattern="(\d)(\d{3})(\d{4})">
11684 <format>$1 $2 $3</format>
11686 <numberFormat pattern="(7)(\d{4})(\d{4})">
11687 <leadingDigits>7[457-9]</leadingDigits>
11688 <format>$1 $2 $3</format>
11690 <numberFormat pattern="(\d{3})(\d{5,6})">
11696 <format>$1 $2</format>
11698 </availableFormats>
11700 <nationalNumberPattern>[235-9]\d{7,8}</nationalNumberPattern>
11701 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
11704 <nationalNumberPattern>
11775 </nationalNumberPattern>
11776 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
11777 <exampleNumber>62001234</exampleNumber>
11780 <nationalNumberPattern>
11787 </nationalNumberPattern>
11788 <possibleNumberPattern>\d{9}</possibleNumberPattern>
11789 <exampleNumber>790123456</exampleNumber>
11792 <nationalNumberPattern>
11797 </nationalNumberPattern>
11798 <possibleNumberPattern>\d{9}</possibleNumberPattern>
11799 <exampleNumber>746612345</exampleNumber>
11802 <nationalNumberPattern>80\d{6}</nationalNumberPattern>
11803 <possibleNumberPattern>\d{8}</possibleNumberPattern>
11804 <exampleNumber>80012345</exampleNumber>
11807 <nationalNumberPattern>900\d{5}</nationalNumberPattern>
11808 <possibleNumberPattern>\d{8}</possibleNumberPattern>
11809 <exampleNumber>90012345</exampleNumber>
11812 <nationalNumberPattern>85\d{6}</nationalNumberPattern>
11813 <possibleNumberPattern>\d{8}</possibleNumberPattern>
11814 <exampleNumber>85012345</exampleNumber>
11817 <nationalNumberPattern>70\d{7}</nationalNumberPattern>
11818 <possibleNumberPattern>\d{9}</possibleNumberPattern>
11819 <exampleNumber>700123456</exampleNumber>
11822 <!-- These numbers are Location Independent Services / Fixed cost according to
11823 http://www.trc.gov.jo -->
11824 <nationalNumberPattern>
11829 </nationalNumberPattern>
11830 <possibleNumberPattern>\d{8}</possibleNumberPattern>
11831 <exampleNumber>88101234</exampleNumber>
11836 <territory id="JP" countryCode="81" internationalPrefix="010" nationalPrefix="0"
11837 nationalPrefixFormattingRule="$NP$FG" leadingZeroPossible="true"
11838 mobileNumberPortableRegion="true">
11840 <sourceUrl>http://www.soumu.go.jp/main_sosiki/joho_tsusin/top/tel_number/number_shitei.html</sourceUrl>
11841 <sourceUrl>http://www.numberingplans.com/?page=dialling&sub=areacodes&ac=JP</sourceUrl>
11844 <!-- Toll-free, premium-rate and UAN numbers -->
11845 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
11853 <format>$1-$2-$3</format>
11855 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
11856 <leadingDigits>800</leadingDigits>
11857 <format>$1-$2-$3</format>
11859 <!-- National-only toll-free numbers (0037, 0066, 0077 and 0088). -->
11860 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{4})">
11861 <leadingDigits>0077</leadingDigits>
11862 <format>$1-$2</format>
11863 <intlFormat>NA</intlFormat>
11865 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{2})(\d{3,4})">
11866 <leadingDigits>0077</leadingDigits>
11867 <format>$1-$2-$3</format>
11868 <intlFormat>NA</intlFormat>
11870 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{2})(\d{4})">
11871 <leadingDigits>0088</leadingDigits>
11872 <format>$1-$2-$3</format>
11873 <intlFormat>NA</intlFormat>
11875 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{3})(\d{3,4})">
11882 <format>$1-$2-$3</format>
11883 <intlFormat>NA</intlFormat>
11885 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{4})(\d{4,5})">
11892 <format>$1-$2-$3</format>
11893 <intlFormat>NA</intlFormat>
11895 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{5})(\d{5,6})">
11902 <format>$1-$2-$3</format>
11903 <intlFormat>NA</intlFormat>
11905 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{6})(\d{6,7})">
11912 <format>$1-$2-$3</format>
11913 <intlFormat>NA</intlFormat>
11915 <!-- Some leading digits are explicitly reserved for a particular purpose.
11916 We handle them first in this rule, and let the following rules ignore those exceptions.
11917 Note: The rule here is not in the files we rely on when creating the other rules.
11918 We would need to manually modify it if the Japanese goverment
11919 decided to change the rule.
11924 "70": PHS (Personal Handy-phone System, which has been used in Japan
11925 with Non-3G, Japanese-specific protocol).
11926 See also http://ja.wikipedia.org/wiki/PHS (Japanese)
11927 "80" and "90": Mobile phone
11929 <numberFormat pattern="(\d{2})(\d{4})(\d{4})">
11934 <format>$1-$2-$3</format>
11936 <!-- The order of the reg-exps are important.
11937 Examples (not all):
11938 - "15": 15420 -> 154-20, 15472 -> 1547-2, 15410 -> 15-410,
11939 - "22": 22200 -> 22-200, 22300 -> 22-300, 22320 -> 223-20, 22350 -> 22-350
11940 - "42": 42000 -> 4-2000, 42901 -> 4-2901, 42910 -> 42-910
11941 - "82": 82200 -> 82-200, 82020 -> 820-20, 82400 -> 82-400
11942 - "99": 99400 -> 99-400, 99430 -> 994-30, 99692 -> 9969-2, 99750 -> 997-50
11943 - "993": 99330 -> 993-30, 99331 -> 99-331, 99332 -> 993-32
11945 <numberFormat pattern="(\d{4})(\d)(\d{4})">
12066 <format>$1-$2-$3</format>
12068 <numberFormat pattern="(\d{3})(\d{2})(\d{4})">
12533 <format>$1-$2-$3</format>
12535 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
12648 <format>$1-$2-$3</format>
12650 <numberFormat pattern="(\d{3})(\d{2})(\d{4})">
12661 <format>$1-$2-$3</format>
12663 <numberFormat pattern="(\d)(\d{4})(\d{4})">
12672 <format>$1-$2-$3</format>
12674 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
12675 <leadingDigits>[2479][1-9]</leadingDigits>
12676 <format>$1-$2-$3</format>
12678 </availableFormats>
12680 <nationalNumberPattern>
12687 </nationalNumberPattern>
12688 <possibleNumberPattern>\d{8,17}</possibleNumberPattern>
12690 <noInternationalDialling>
12691 <!-- Toll-free numbers with a leading "00" cannot be dialled internationally. -->
12692 <nationalNumberPattern>
12703 </nationalNumberPattern>
12704 <exampleNumber>00777012</exampleNumber>
12705 </noInternationalDialling>
12707 <nationalNumberPattern>
12748 </nationalNumberPattern>
12749 <possibleNumberPattern>\d{9}</possibleNumberPattern>
12750 <exampleNumber>312345678</exampleNumber>
12753 <nationalNumberPattern>[7-9]0[1-9]\d{7}</nationalNumberPattern>
12754 <possibleNumberPattern>\d{10}</possibleNumberPattern>
12755 <exampleNumber>7012345678</exampleNumber>
12758 <nationalNumberPattern>20\d{8}</nationalNumberPattern>
12759 <possibleNumberPattern>\d{10}</possibleNumberPattern>
12760 <exampleNumber>2012345678</exampleNumber>
12763 <!-- http://www.kddi.com/english/business/free_call_dx/number.html and
12764 http://tm.softbank.jp/english/business/phone_service/freecall_sp/index.html
12765 http://eonet.jp/home/denwa/service/access.html
12766 http://ci.fusioncom.co.jp/feature/
12767 http://www.auhikari.jp/service/tel/connection/index.html -->
12768 <!-- Note that in fact, the number length for 0037 and 0066 numbers should extend to 21
12769 digits, confirmed with Yahoo JP. However, this extends well beyond the maximum number
12770 length allowed by ITU and hence our library, so we only allow numbers up to 17 digits
12771 for now (including both leading 00s). -->
12772 <nationalNumberPattern>
12785 </nationalNumberPattern>
12786 <exampleNumber>120123456</exampleNumber>
12789 <nationalNumberPattern>990\d{6}</nationalNumberPattern>
12790 <possibleNumberPattern>\d{9}</possibleNumberPattern>
12791 <exampleNumber>990123456</exampleNumber>
12794 <nationalNumberPattern>60\d{7}</nationalNumberPattern>
12795 <possibleNumberPattern>\d{9}</possibleNumberPattern>
12796 <exampleNumber>601234567</exampleNumber>
12799 <nationalNumberPattern>50[1-9]\d{7}</nationalNumberPattern>
12800 <possibleNumberPattern>\d{10}</possibleNumberPattern>
12801 <exampleNumber>5012345678</exampleNumber>
12803 <!-- Storing "unified number service" as UAN. -->
12805 <nationalNumberPattern>570\d{6}</nationalNumberPattern>
12806 <possibleNumberPattern>\d{9}</possibleNumberPattern>
12807 <exampleNumber>570123456</exampleNumber>
12812 <territory id="KE" countryCode="254" internationalPrefix="000"
12813 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
12814 mobileNumberPortableRegion="true">
12816 <sourceUrl>http://www.cck.go.ke/licensing/numbering/plan.html</sourceUrl>
12817 <sourceUrl>http://en.wikipedia.org/wiki/+254</sourceUrl>
12820 <numberFormat pattern="(\d{2})(\d{5,7})">
12821 <leadingDigits>[24-6]</leadingDigits>
12822 <format>$1 $2</format>
12824 <numberFormat pattern="(\d{3})(\d{6,7})">
12825 <leadingDigits>7</leadingDigits>
12826 <format>$1 $2</format>
12828 <numberFormat pattern="(\d{3})(\d{3})(\d{3,4})">
12829 <leadingDigits>[89]</leadingDigits>
12830 <format>$1 $2 $3</format>
12832 </availableFormats>
12834 <nationalNumberPattern>
12837 </nationalNumberPattern>
12838 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
12841 <!-- The prefixes 046, 050, 058, and 066 may appear online in less than 9 digits but
12842 calling them has confirmed these are outdated. However a 7-digit 068 number was
12843 dialed successfully so we consider these valid despite the plan. -->
12844 <nationalNumberPattern>
12858 </nationalNumberPattern>
12859 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
12860 <exampleNumber>202012345</exampleNumber>
12863 <nationalNumberPattern>
12870 </nationalNumberPattern>
12871 <possibleNumberPattern>\d{9}</possibleNumberPattern>
12872 <exampleNumber>712123456</exampleNumber>
12875 <!-- Longer numbers have been found than the plan suggests, so we support them here too. -->
12876 <!-- The plan suggests 0844 and 0845 may belong here, but these are short numbers rather
12878 http://www.telkomkenya.8k.com/Products/v/2.html
12879 http://www.kenya-advisor.com/phone-calls-kenya.html
12880 http://www.telkom.co.ke/index.php?option=com_content&view=article&id=64&Itemid=98 -->
12881 <nationalNumberPattern>800[24-8]\d{5,6}</nationalNumberPattern>
12882 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
12883 <exampleNumber>800223456</exampleNumber>
12886 <nationalNumberPattern>900[02-9]\d{5}</nationalNumberPattern>
12887 <possibleNumberPattern>\d{9}</possibleNumberPattern>
12888 <exampleNumber>900223456</exampleNumber>
12892 <!-- Kyrgyzstan -->
12893 <territory id="KG" countryCode="996" internationalPrefix="00"
12894 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
12896 <sourceUrl>http://www.itu.int/oth/T0202000074/en</sourceUrl>
12899 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
12904 <format>$1 $2 $3</format>
12906 <numberFormat pattern="(\d{4})(\d{5})">
12913 <format>$1 $2</format>
12915 <numberFormat pattern="(\d{3})(\d{3})(\d)(\d{3})">
12916 <leadingDigits>8</leadingDigits>
12917 <format>$1 $2 $3 $4</format>
12919 </availableFormats>
12921 <nationalNumberPattern>[235-8]\d{8,9}</nationalNumberPattern>
12922 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
12925 <!-- Extra area codes found on Web Search: 3147. -->
12926 <nationalNumberPattern>
12974 </nationalNumberPattern>
12975 <exampleNumber>312123456</exampleNumber>
12978 <nationalNumberPattern>
12984 </nationalNumberPattern>
12985 <possibleNumberPattern>\d{9}</possibleNumberPattern>
12986 <exampleNumber>700123456</exampleNumber>
12989 <!-- Add an extra digit to the number pattern since the only toll-free number found on Web
12990 Search contains 10 digits instead of the 9 digits specified in the ITU document. -->
12991 <nationalNumberPattern>800\d{6,7}</nationalNumberPattern>
12992 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
12993 <exampleNumber>800123456</exampleNumber>
12995 <!-- No premiumRate information can be found. -->
12996 <!-- http://www.iru-nelti.org/index/info-app/id.216 -->
13000 <territory id="KH" countryCode="855" internationalPrefix="00[14-9]"
13001 nationalPrefix="0">
13003 <sourceUrl>http://www.itu.int/oth/T0202000023/en</sourceUrl>
13004 <sourceUrl>http://en.wikipedia.org/wiki/+855</sourceUrl>
13007 <numberFormat pattern="(\d{2})(\d{3})(\d{3,4})" nationalPrefixFormattingRule="$NP$FG">
13012 <format>$1 $2 $3</format>
13014 <numberFormat pattern="(1[89]00)(\d{3})(\d{3})">
13015 <leadingDigits>1[89]0</leadingDigits>
13016 <format>$1 $2 $3</format>
13018 </availableFormats>
13020 <nationalNumberPattern>[1-9]\d{7,9}</nationalNumberPattern>
13021 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
13024 <!-- Allowing subscriber numbers beginning with 5 since Mobitel have informed us they have
13025 started issuing fixed-line numbers like this. Apparently, mobile-company-issued
13026 fixed-line numbers are one digit longer than government-issued numbers. Moreover, the
13027 range beginning with 6 seems to include some numbers that are one digit longer as well.
13028 Allowing 238\d{6} and 234[234]\d{4} based on information from Cambodia Yellow Pages.
13029 Note that numbers beginning with 234 are split across two patterns. -->
13030 <nationalNumberPattern>
13046 </nationalNumberPattern>
13047 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
13048 <exampleNumber>23756789</exampleNumber>
13051 <!-- SMART uses prefixes 01[056], 070, 08[167] and 09[368].
13053 Mobitel uses 01[1247].
13054 Cellcard uses 0857 and 061.
13055 Extra prefixes found online: 088, 097.
13056 Allowing 9-digit 12, 31, 38 and 76 numbers based on information from Cambodia Yellow
13057 Pages and online search. -->
13058 <nationalNumberPattern>
13080 </nationalNumberPattern>
13081 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
13082 <exampleNumber>91234567</exampleNumber>
13085 <!-- Adding extra prefix 180021 used by tollfreetc.com.kh. -->
13086 <nationalNumberPattern>
13091 </nationalNumberPattern>
13092 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13093 <exampleNumber>1800123456</exampleNumber>
13096 <nationalNumberPattern>
13101 </nationalNumberPattern>
13102 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13103 <exampleNumber>1900123456</exampleNumber>
13108 <!-- We include the national prefix for parsing here just in case numbers can be dialled with a
13109 leading 0 - no numbers online have been found formatted this way, but the ITU document
13110 lists it as a national dialling prefix. -->
13111 <territory id="KI" countryCode="686" internationalPrefix="00"
13112 nationalPrefixForParsing="0">
13114 <sourceUrl>http://www.itu.int/oth/T0202000071/en</sourceUrl>
13116 <!-- Numbers should be formatted as a block." -->
13118 <nationalNumberPattern>
13122 </nationalNumberPattern>
13123 <possibleNumberPattern>\d{5,8}</possibleNumberPattern>
13126 <nationalNumberPattern>
13133 </nationalNumberPattern>
13134 <possibleNumberPattern>\d{5}</possibleNumberPattern>
13135 <exampleNumber>31234</exampleNumber>
13138 <!-- North Tarawa is listed as 720XXXXX-729XXXXX but considering that this deviates from the
13139 pattern followed by every other place, we are assuming 731XXXXX-732XXXXX for now. -->
13140 <nationalNumberPattern>
13146 </nationalNumberPattern>
13147 <possibleNumberPattern>\d{8}</possibleNumberPattern>
13148 <exampleNumber>72012345</exampleNumber>
13151 <!-- ITU refers to these as "Telemedia and audiotext". -->
13152 <nationalNumberPattern>3001\d{4}</nationalNumberPattern>
13153 <exampleNumber>30010000</exampleNumber>
13158 <territory id="KM" countryCode="269" internationalPrefix="00">
13160 <sourceUrl>http://www.itu.int/oth/T020200002D/en</sourceUrl>
13163 <numberFormat pattern="(\d{3})(\d{2})(\d{2})">
13164 <format>$1 $2 $3</format>
13166 </availableFormats>
13168 <nationalNumberPattern>[379]\d{6}</nationalNumberPattern>
13169 <possibleNumberPattern>\d{7}</possibleNumberPattern>
13172 <!-- CDMA phones are included here, as they are considered as an extension of fixed line:
13173 http://www.comorestelecom.km/presentationcdma.php -->
13174 <nationalNumberPattern>
13179 </nationalNumberPattern>
13180 <exampleNumber>7712345</exampleNumber>
13183 <nationalNumberPattern>3[234]\d{5}</nationalNumberPattern>
13184 <exampleNumber>3212345</exampleNumber>
13187 <!-- These are referred to as value-added services in the plan and no further information
13189 <nationalNumberPattern>
13194 </nationalNumberPattern>
13195 <exampleNumber>9001234</exampleNumber>
13199 <!-- Saint Kitts and Nevis -->
13200 <territory id="KN" countryCode="1" leadingDigits="869" nationalPrefix="1"
13201 internationalPrefix="011">
13203 <sourceUrl>http://www.itu.int/oth/T02020000B0/en</sourceUrl>
13206 <!-- NANPA country - uses US formatting rules -->
13207 <nationalNumberPattern>[589]\d{9}</nationalNumberPattern>
13208 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
13211 <!-- Adding the 869 302 prefix as it is used by Marriott Hotels, even though no other record
13212 of it can be found. -->
13213 <nationalNumberPattern>
13225 </nationalNumberPattern>
13226 <exampleNumber>8692361234</exampleNumber>
13229 <!-- Added some more prefixes in the 66 and 76 range from online numbers. -->
13230 <nationalNumberPattern>
13239 </nationalNumberPattern>
13240 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13241 <!-- Example number from the ITU document. -->
13242 <exampleNumber>8697652917</exampleNumber>
13245 <nationalNumberPattern>
13254 </nationalNumberPattern>
13255 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13256 <exampleNumber>8002123456</exampleNumber>
13259 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
13260 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13261 <exampleNumber>9002123456</exampleNumber>
13264 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
13265 <nationalNumberPattern>
13273 </nationalNumberPattern>
13274 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13275 <exampleNumber>5002345678</exampleNumber>
13279 <!-- Korea, Dem. People's Rep. of -->
13280 <territory id="KP" countryCode="850" internationalPrefix="00|99"
13281 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
13283 <sourceUrl>http://en.wikipedia.org/wiki/%2B850</sourceUrl>
13286 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
13287 <leadingDigits>1</leadingDigits>
13288 <format>$1 $2 $3</format>
13290 <numberFormat pattern="(\d)(\d{3})(\d{4})">
13291 <leadingDigits>2</leadingDigits>
13292 <format>$1 $2 $3</format>
13294 <numberFormat pattern="(\d{2})(\d{3})(\d{3})">
13295 <leadingDigits>8</leadingDigits>
13296 <format>$1 $2 $3</format>
13298 </availableFormats>
13300 <nationalNumberPattern>
13303 </nationalNumberPattern>
13304 <possibleNumberPattern>
13307 </possibleNumberPattern>
13309 <noInternationalDialling>
13310 <!-- For numbers starting with 2, only the 2381 range can be dialed internationally. -->
13311 <nationalNumberPattern>
13319 </nationalNumberPattern>
13320 <possibleNumberPattern>\d{8}</possibleNumberPattern>
13321 <exampleNumber>23821234</exampleNumber>
13322 </noInternationalDialling>
13324 <!-- Covers only numbers from Pyongyang and Rason Economic Special Zone. According to
13325 wikipedia, other ranges of phone numbers are top secret, unpublished, and not dialable
13326 from overseas. Also, there is conflicting information about the length of fixed-line
13327 numbers, so here we are following Wikipedia. -->
13328 <nationalNumberPattern>
13331 </nationalNumberPattern>
13332 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
13333 <exampleNumber>21234567</exampleNumber>
13336 <nationalNumberPattern>19[123]\d{7}</nationalNumberPattern>
13337 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13338 <exampleNumber>1921234567</exampleNumber>
13342 <!-- Korea (Rep. of) -->
13344 internationalPrefix
13345 0031, 0033, 0071, 0073 - Special services of KT and DACOM, ignorable
13347 1[4-6]XX-YYYY - Country-wide common number services, display as it is without hyphens -->
13348 <territory id="KR" countryCode="82" internationalPrefix="00(?:[124-68]|[37]\d{2})"
13349 nationalPrefix="0" nationalPrefixForParsing="0(8[1-46-8]|85\d{2})?"
13350 nationalPrefixFormattingRule="$NP$FG" carrierCodeFormattingRule="$NP$CC-$FG"
13351 mobileNumberPortableRegion="true">
13353 <sourceUrl>http://www.itu.int/oth/T0202000072/en</sourceUrl>
13354 <sourceUrl>http://en.wikipedia.org/wiki/%2B82</sourceUrl>
13355 <sourceUrl>http://www.kcc.go.kr/user.do?mode=view&page=P02030300&dc=K02030300&boardId=1074&boardSeq=2349</sourceUrl>
13356 <sourceUrl>http://www.kcc.go.kr/user.do?mode=view&page=P02030300&dc=K02030300&boardId=1074&boardSeq=2240</sourceUrl>
13357 <sourceUrl>http://www.telecentro.co.kr/sub/index.php?job=detail&ebcf_id=faq&page=1&mid=0503&eb_seq=36</sourceUrl>
13360 <numberFormat pattern="(\d{2})(\d{4})(\d{4})">
13383 <format>$1-$2-$3</format>
13385 <numberFormat pattern="(\d{2})(\d{3,4})(\d{4})">
13407 <format>$1-$2-$3</format>
13409 <numberFormat pattern="(\d{3})(\d)(\d{4})">
13410 <leadingDigits>131</leadingDigits>
13411 <leadingDigits>1312</leadingDigits>
13412 <format>$1-$2-$3</format>
13414 <numberFormat pattern="(\d{3})(\d{2})(\d{4})">
13415 <leadingDigits>131</leadingDigits>
13416 <leadingDigits>131[13-9]</leadingDigits>
13417 <format>$1-$2-$3</format>
13419 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
13420 <leadingDigits>13[2-9]</leadingDigits>
13421 <format>$1-$2-$3</format>
13423 <!-- 030 numbers are used for Unified Messaging Services, according to the plan. There is a
13424 limit of what digits may follow the 030, but we ignore that here. These numbers are
13425 actually not supported for validation purposes by the library at the moment as no
13426 online examples can be found, but we leave theme here so formatting continues to work
13427 if they are entered. -->
13428 <numberFormat pattern="(\d{2})(\d{2})(\d{3})(\d{4})">
13429 <leadingDigits>30</leadingDigits>
13430 <format>$1-$2-$3-$4</format>
13432 <numberFormat pattern="(\d)(\d{3,4})(\d{4})">
13433 <leadingDigits>2[1-9]</leadingDigits>
13434 <format>$1-$2-$3</format>
13436 <numberFormat pattern="(\d)(\d{3,4})">
13437 <leadingDigits>21[0-46-9]</leadingDigits>
13438 <format>$1-$2</format>
13440 <numberFormat pattern="(\d{2})(\d{3,4})">
13441 <leadingDigits>[3-6][1-9]1</leadingDigits>
13447 <format>$1-$2</format>
13449 <!-- Company numbers. -->
13450 <numberFormat pattern="(\d{4})(\d{4})"
13451 nationalPrefixFormattingRule="$FG">
13483 <format>$1-$2</format>
13485 </availableFormats>
13487 <nationalNumberPattern>
13490 </nationalNumberPattern>
13491 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
13494 <!-- We omit 049, supposedly for Kaesong Industrial Region, since real numbers can't be
13495 found, and it is in North Korea anyway. We support 7-8 digits long subscriber numbers
13496 starting with 1 based on evidence of real numbers found online. -->
13497 <nationalNumberPattern>
13507 </nationalNumberPattern>
13508 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
13509 <exampleNumber>22123456</exampleNumber>
13512 <nationalNumberPattern>1[0-26-9]\d{7,8}</nationalNumberPattern>
13513 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
13514 <exampleNumber>1000000000</exampleNumber>
13517 <nationalNumberPattern>15\d{7,8}</nationalNumberPattern>
13518 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
13519 <exampleNumber>1523456789</exampleNumber>
13522 <nationalNumberPattern>80\d{7}</nationalNumberPattern>
13523 <possibleNumberPattern>\d{9}</possibleNumberPattern>
13524 <exampleNumber>801234567</exampleNumber>
13526 <!-- The information below is provided by a Korean person. -->
13528 <nationalNumberPattern>60[2-9]\d{6}</nationalNumberPattern>
13529 <possibleNumberPattern>\d{9}</possibleNumberPattern>
13530 <exampleNumber>602345678</exampleNumber>
13533 <nationalNumberPattern>50\d{8}</nationalNumberPattern>
13534 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13535 <exampleNumber>5012345678</exampleNumber>
13538 <nationalNumberPattern>70\d{8}</nationalNumberPattern>
13539 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13540 <exampleNumber>7012345678</exampleNumber>
13543 <!-- Prefix 18 added from numbers found online. -->
13544 <nationalNumberPattern>
13567 </nationalNumberPattern>
13568 <possibleNumberPattern>\d{8}</possibleNumberPattern>
13569 <exampleNumber>15441234</exampleNumber>
13574 <territory id="KW" countryCode="965" internationalPrefix="00" mobileNumberPortableRegion="true">
13576 <sourceUrl>http://www.itu.int/oth/T0202000073/en</sourceUrl>
13579 <!-- Format is from ITU. -->
13580 <numberFormat pattern="(\d{4})(\d{3,4})">
13581 <leadingDigits>[1269]</leadingDigits>
13582 <format>$1 $2</format>
13584 <numberFormat pattern="(5[015]\d)(\d{5})">
13585 <leadingDigits>5</leadingDigits>
13586 <format>$1 $2</format>
13588 </availableFormats>
13590 <nationalNumberPattern>[12569]\d{6,7}</nationalNumberPattern>
13591 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
13594 <nationalNumberPattern>
13611 </nationalNumberPattern>
13612 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
13613 <exampleNumber>22345678</exampleNumber>
13616 <nationalNumberPattern>
13638 </nationalNumberPattern>
13639 <possibleNumberPattern>\d{8}</possibleNumberPattern>
13640 <exampleNumber>50012345</exampleNumber>
13642 <!-- No tollFree or premiumRate information can be found. -->
13645 <!-- Cayman Islands -->
13646 <territory id="KY" countryCode="1" leadingDigits="345" nationalPrefix="1"
13647 internationalPrefix="011">
13649 <sourceUrl>http://www.itu.int/oth/T0202000027/en</sourceUrl>
13652 <!-- NANPA country - uses US formatting rules -->
13653 <nationalNumberPattern>[3589]\d{9}</nationalNumberPattern>
13654 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
13656 <!-- The 800 NXX code is listed as being "national only", but we successfully reached numbers
13657 from Switzerland with this prefix so do not list it as noInternationalDialling. -->
13659 <!-- The Westtel numbers in the plan seem now to be live and assigned to fixed-line phones,
13660 as per numbers found online and their website http://www.logic.ky. -->
13661 <nationalNumberPattern>
13689 </nationalNumberPattern>
13690 <exampleNumber>3452221234</exampleNumber>
13693 <!-- Adding central office codes 321, 322, 328, 576, 923 & 936 from numbers found online.
13694 Most central office codes that were surrendered have not been included, with the
13695 exception of 546 where numbers have been found. -->
13696 <nationalNumberPattern>
13711 </nationalNumberPattern>
13712 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13713 <exampleNumber>3453231234</exampleNumber>
13716 <nationalNumberPattern>345849\d{4}</nationalNumberPattern>
13717 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13718 <exampleNumber>3458491234</exampleNumber>
13721 <nationalNumberPattern>
13730 </nationalNumberPattern>
13731 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13732 <exampleNumber>8002345678</exampleNumber>
13735 <nationalNumberPattern>
13738 </nationalNumberPattern>
13739 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13740 <exampleNumber>9002345678</exampleNumber>
13743 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
13744 <nationalNumberPattern>
13752 </nationalNumberPattern>
13753 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13754 <exampleNumber>5002345678</exampleNumber>
13758 <!-- Kazakhstan -->
13759 <territory id="KZ" countryCode="7" preferredInternationalPrefix="8~10"
13760 internationalPrefix="810" nationalPrefix="8">
13762 <sourceUrl>http://www.itu.int/oth/T020200006F/en</sourceUrl>
13764 <!-- Formatting rules obtained from Russia. -->
13766 <!-- We make this as specific as possible to overlap as little as possible with Russia, so
13767 determining the country is faster. -->
13768 <nationalNumberPattern>
13774 </nationalNumberPattern>
13775 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13777 <noInternationalDialling>
13778 <nationalNumberPattern>751\d{7}</nationalNumberPattern>
13779 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13780 <exampleNumber>7511234567</exampleNumber>
13781 </noInternationalDialling>
13783 <!-- VSAT numbers are also included here. We also include the area code for Baikonur (336
13784 22), which is within Kazakhstan but in fact rented and administered by Russia at the
13786 <nationalNumberPattern>
13885 </nationalNumberPattern>
13886 <exampleNumber>7123456789</exampleNumber>
13889 <!-- Added 708 for Altel, 776 for Beeline, 747 for Tele2. -->
13890 <nationalNumberPattern>
13898 </nationalNumberPattern>
13899 <exampleNumber>7710009998</exampleNumber>
13902 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
13903 <exampleNumber>8001234567</exampleNumber>
13906 <nationalNumberPattern>809\d{7}</nationalNumberPattern>
13907 <exampleNumber>8091234567</exampleNumber>
13910 <nationalNumberPattern>751\d{7}</nationalNumberPattern>
13911 <exampleNumber>7511234567</exampleNumber>
13915 <!-- Lao People's Dem. Rep. -->
13916 <territory id="LA" countryCode="856" internationalPrefix="00"
13917 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
13919 <!-- Seems incomplete -->
13920 <sourceUrl>http://www.itu.int/oth/T0202000075/en</sourceUrl>
13921 <sourceUrl>http://en.wikipedia.org/wiki/+856</sourceUrl>
13924 <numberFormat pattern="(20)(\d{2})(\d{3})(\d{3})">
13925 <leadingDigits>20</leadingDigits>
13926 <format>$1 $2 $3 $4</format>
13928 <numberFormat pattern="([2-8]\d)(\d{3})(\d{3})">
13934 <format>$1 $2 $3</format>
13936 <numberFormat pattern="(30)(\d{2})(\d{2})(\d{3})">
13937 <leadingDigits>30</leadingDigits>
13938 <format>$1 $2 $3 $4</format>
13940 </availableFormats>
13942 <nationalNumberPattern>[2-8]\d{7,9}</nationalNumberPattern>
13943 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
13946 <!-- The Lonely Planet says that newer WIN phones (fixed phones without a physical landline)
13947 start with 030 (and are longer). There are plenty of examples online. -->
13948 <nationalNumberPattern>
13959 </nationalNumberPattern>
13960 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
13961 <exampleNumber>21212862</exampleNumber>
13964 <!-- Adding 202[89], 205[89], 207[68] and 209[15-7] from numbers found online. -->
13965 <nationalNumberPattern>
13972 </nationalNumberPattern>
13973 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13974 <exampleNumber>2023123456</exampleNumber>
13976 <!-- No information on other types of phone numbers for Lao P.D.R. has been found. -->
13980 <territory id="LB" countryCode="961" internationalPrefix="00" nationalPrefix="0">
13982 <sourceUrl>http://www.itu.int/oth/T0202000077/en</sourceUrl>
13983 <sourceUrl>http://en.wikipedia.org/wiki/%2B961</sourceUrl>
13986 <numberFormat pattern="(\d)(\d{3})(\d{3})" nationalPrefixFormattingRule="$NP$FG">
13996 <format>$1 $2 $3</format>
13998 <numberFormat pattern="([7-9]\d)(\d{3})(\d{3})">
14007 <format>$1 $2 $3</format>
14009 </availableFormats>
14011 <nationalNumberPattern>[13-9]\d{6,7}</nationalNumberPattern>
14012 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
14015 <!-- The ITU document from October 2012 seems to have accidentally dropped the 79 prefix for
14016 fixed-line numbers, which had been in the version from July 2012. We consider these
14017 valid since we successfully dialed such a number in July 2014. -->
14018 <nationalNumberPattern>
14028 </nationalNumberPattern>
14029 <possibleNumberPattern>\d{7}</possibleNumberPattern>
14030 <exampleNumber>1123456</exampleNumber>
14033 <!-- We only validate the first three digits here, since the ranges are growing rapidly.
14034 The 79[02-9] prefixes were added from bug reports and numbers found online. -->
14035 <nationalNumberPattern>
14044 </nationalNumberPattern>
14045 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
14046 <exampleNumber>71123456</exampleNumber>
14049 <nationalNumberPattern>9[01]\d{6}</nationalNumberPattern>
14050 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14051 <exampleNumber>90123456</exampleNumber>
14054 <nationalNumberPattern>8[01]\d{6}</nationalNumberPattern>
14055 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14056 <exampleNumber>80123456</exampleNumber>
14060 <!-- Saint Lucia -->
14061 <territory id="LC" countryCode="1" leadingDigits="758" nationalPrefix="1"
14062 internationalPrefix="011">
14064 <sourceUrl>http://www.itu.int/oth/T02020000B1/en</sourceUrl>
14067 <!-- NANPA country - uses US formatting rules -->
14068 <nationalNumberPattern>[5789]\d{9}</nationalNumberPattern>
14069 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
14072 <!-- Adding 430 since numbers have been found with these prefixes online. -->
14073 <nationalNumberPattern>
14084 </nationalNumberPattern>
14085 <exampleNumber>7584305678</exampleNumber>
14088 <nationalNumberPattern>
14106 </nationalNumberPattern>
14107 <possibleNumberPattern>\d{10}</possibleNumberPattern>
14108 <exampleNumber>7582845678</exampleNumber>
14111 <nationalNumberPattern>
14120 </nationalNumberPattern>
14121 <possibleNumberPattern>\d{10}</possibleNumberPattern>
14122 <exampleNumber>8002123456</exampleNumber>
14125 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
14126 <possibleNumberPattern>\d{10}</possibleNumberPattern>
14127 <exampleNumber>9002123456</exampleNumber>
14130 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
14131 <nationalNumberPattern>
14139 </nationalNumberPattern>
14140 <possibleNumberPattern>\d{10}</possibleNumberPattern>
14141 <exampleNumber>5002345678</exampleNumber>
14145 <!-- Liechtenstein -->
14146 <!-- The national prefix of "0" is only used for 0800 and 0900 numbers. -->
14147 <territory id="LI" countryCode="423" internationalPrefix="00" nationalPrefix="0">
14149 <sourceUrl>http://www.llv.li/amtsstellen/llv-ak-nummerierung.htm</sourceUrl>
14152 <!-- Some different patterns for tollfree and shared cost numbers may be found by searching
14153 for "Mehrwertnummer" at http://www.telecom.li. -->
14154 <numberFormat pattern="(\d{3})(\d{2})(\d{2})">
14160 <format>$1 $2 $3</format>
14162 <numberFormat pattern="(6\d)(\d{3})(\d{3})">
14163 <leadingDigits>6</leadingDigits>
14164 <format>$1 $2 $3</format>
14166 <numberFormat pattern="(6[567]\d)(\d{3})(\d{3})">
14167 <leadingDigits>6[567]</leadingDigits>
14168 <format>$1 $2 $3</format>
14170 <numberFormat pattern="(69)(7\d{2})(\d{4})">
14171 <leadingDigits>697</leadingDigits>
14172 <format>$1 $2 $3</format>
14174 <numberFormat pattern="([7-9]0\d)(\d{2})(\d{2})">
14175 <leadingDigits>[7-9]0</leadingDigits>
14176 <format>$1 $2 $3</format>
14178 <!-- Numbers of the form [89]00\d{6} are Swiss numbers callable from Liechtenstein. -->
14179 <numberFormat pattern="([89]0\d)(\d{2})(\d{2})(\d{2})"
14180 nationalPrefixFormattingRule="$NP$FG">
14181 <leadingDigits>[89]0</leadingDigits>
14182 <format>$1 $2 $3 $4</format>
14184 </availableFormats>
14186 <nationalNumberPattern>
14189 </nationalNumberPattern>
14190 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
14193 <nationalNumberPattern>
14208 </nationalNumberPattern>
14209 <possibleNumberPattern>\d{7}</possibleNumberPattern>
14210 <exampleNumber>2345678</exampleNumber>
14213 <nationalNumberPattern>
14229 </nationalNumberPattern>
14230 <exampleNumber>661234567</exampleNumber>
14232 <!-- The prefix 809 seems to be used for AT&T and Verizon access lines from Liechtenstein,
14233 even though it doesn't appear in the plan. -->
14235 <nationalNumberPattern>
14243 </nationalNumberPattern>
14244 <possibleNumberPattern>\d{7}</possibleNumberPattern>
14245 <exampleNumber>8002222</exampleNumber>
14248 <nationalNumberPattern>
14263 </nationalNumberPattern>
14264 <possibleNumberPattern>\d{7}</possibleNumberPattern>
14265 <exampleNumber>9002222</exampleNumber>
14268 <nationalNumberPattern>
14273 </nationalNumberPattern>
14274 <possibleNumberPattern>\d{7}</possibleNumberPattern>
14275 <exampleNumber>8770123</exampleNumber>
14278 <nationalNumberPattern>
14284 </nationalNumberPattern>
14285 <possibleNumberPattern>\d{9}</possibleNumberPattern>
14286 <exampleNumber>697361234</exampleNumber>
14289 <nationalNumberPattern>701\d{4}</nationalNumberPattern>
14290 <possibleNumberPattern>\d{7}</possibleNumberPattern>
14291 <exampleNumber>7011234</exampleNumber>
14296 <territory id="LK" countryCode="94" internationalPrefix="00"
14297 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
14299 <sourceUrl>http://en.wikipedia.org/wiki/%2B94</sourceUrl>
14300 <sourceUrl>http://www.itu.int/oth/T02020000C3/en</sourceUrl>
14303 <numberFormat pattern="(\d{2})(\d{1})(\d{6})">
14304 <leadingDigits>[1-689]</leadingDigits>
14305 <format>$1 $2 $3</format>
14307 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
14308 <leadingDigits>7</leadingDigits>
14309 <format>$1 $2 $3</format>
14311 </availableFormats>
14313 <nationalNumberPattern>[1-9]\d{8}</nationalNumberPattern>
14314 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
14317 <nationalNumberPattern>
14326 </nationalNumberPattern>
14327 <exampleNumber>112345678</exampleNumber>
14330 <!-- Adding the prefix 76 for Dialog, based on information from open-source users. -->
14331 <nationalNumberPattern>7[125-8]\d{7}</nationalNumberPattern>
14332 <possibleNumberPattern>\d{9}</possibleNumberPattern>
14333 <exampleNumber>712345678</exampleNumber>
14338 <territory id="LR" countryCode="231" internationalPrefix="00"
14339 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
14341 <sourceUrl>http://www.itu.int/oth/T0202000079/en</sourceUrl>
14344 <!-- Formatting from Ministry of Agriculture,
14345 http://www.moa.gov.lr/content.php?sub=Email&?related=Contacts -->
14346 <numberFormat pattern="(2\d)(\d{3})(\d{3})">
14347 <leadingDigits>2</leadingDigits>
14348 <format>$1 $2 $3</format>
14350 <numberFormat pattern="([79]\d{2})(\d{3})(\d{3})">
14351 <leadingDigits>[79]</leadingDigits>
14352 <format>$1 $2 $3</format>
14354 <numberFormat pattern="([4-6])(\d{3})(\d{3})">
14355 <leadingDigits>[4-6]</leadingDigits>
14356 <format>$1 $2 $3</format>
14358 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
14359 <leadingDigits>[38]</leadingDigits>
14360 <format>$1 $2 $3</format>
14362 </availableFormats>
14364 <nationalNumberPattern>
14368 </nationalNumberPattern>
14369 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
14372 <nationalNumberPattern>2\d{7}</nationalNumberPattern>
14373 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14374 <exampleNumber>21234567</exampleNumber>
14377 <!-- West Africa Telecom seems to be a mobile company from their website. Adding Atlantic
14378 Wireless from the document, even though from online news reports it is not clear they
14379 are still operating. -->
14380 <nationalNumberPattern>
14389 </nationalNumberPattern>
14390 <exampleNumber>770123456</exampleNumber>
14393 <!-- Telelinks and Interactive media service are listed under premium rate. -->
14394 <nationalNumberPattern>90[03]\d{6}</nationalNumberPattern>
14395 <possibleNumberPattern>\d{9}</possibleNumberPattern>
14396 <exampleNumber>900123456</exampleNumber>
14399 <!-- The plan lists the following range as being assigned to TEMAS. On their homepage they
14400 say they are involved in the VoIP sector. Adding WASSCOM and Atlantic Realty &
14401 Investment Corporation here as well; no numbers can be found online, nor company
14403 <nationalNumberPattern>
14408 </nationalNumberPattern>
14409 <possibleNumberPattern>\d{9}</possibleNumberPattern>
14410 <exampleNumber>332001234</exampleNumber>
14415 <territory id="LS" countryCode="266" internationalPrefix="00">
14417 <sourceUrl>http://www.itu.int/oth/T0202000078/en</sourceUrl>
14420 <!-- Formatting following yellow pages: http://www.yellowpages.co.ls -->
14421 <numberFormat pattern="(\d{4})(\d{4})">
14422 <format>$1 $2</format>
14424 </availableFormats>
14426 <nationalNumberPattern>[2568]\d{7}</nationalNumberPattern>
14427 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14430 <nationalNumberPattern>2\d{7}</nationalNumberPattern>
14431 <exampleNumber>22123456</exampleNumber>
14434 <nationalNumberPattern>[56]\d{7}</nationalNumberPattern>
14435 <exampleNumber>50123456</exampleNumber>
14438 <nationalNumberPattern>800[256]\d{4}</nationalNumberPattern>
14439 <exampleNumber>80021234</exampleNumber>
14444 <!-- Note that Lithuania is switching to a national prefix of 0. We support
14445 both 0 and 8 when parsing until this switch is complete. -->
14446 <territory id="LT" countryCode="370" internationalPrefix="00"
14447 nationalPrefix="8" nationalPrefixForParsing="[08]"
14448 nationalPrefixFormattingRule="($NP-$FG)"
14449 nationalPrefixOptionalWhenFormatting="true" mobileNumberPortableRegion="true">
14451 <sourceUrl>http://www.itu.int/oth/T020200007C/en</sourceUrl>
14453 <!-- National Prefix formatting rule from http://www.yellowpages.lt -->
14455 <!-- Two-digit area codes -->
14456 <numberFormat pattern="([34]\d)(\d{6})">
14465 <format>$1 $2</format>
14467 <!-- Three-digit area codes -->
14468 <numberFormat pattern="([3-6]\d{2})(\d{5})">
14478 <format>$1 $2</format>
14480 <numberFormat pattern="([7-9]\d{2})(\d{2})(\d{3})"
14481 nationalPrefixFormattingRule="$NP $FG">
14482 <leadingDigits>[7-9]</leadingDigits>
14483 <format>$1 $2 $3</format>
14485 <numberFormat pattern="(5)(2\d{2})(\d{4})">
14486 <leadingDigits>52[0-79]</leadingDigits>
14487 <format>$1 $2 $3</format>
14489 </availableFormats>
14491 <nationalNumberPattern>[3-9]\d{7}</nationalNumberPattern>
14492 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14495 <nationalNumberPattern>
14501 </nationalNumberPattern>
14502 <exampleNumber>31234567</exampleNumber>
14505 <nationalNumberPattern>6\d{7}</nationalNumberPattern>
14506 <exampleNumber>61234567</exampleNumber>
14509 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
14510 <exampleNumber>80012345</exampleNumber>
14513 <nationalNumberPattern>
14518 </nationalNumberPattern>
14519 <exampleNumber>90012345</exampleNumber>
14522 <nationalNumberPattern>700\d{5}</nationalNumberPattern>
14523 <exampleNumber>70012345</exampleNumber>
14526 <nationalNumberPattern>808\d{5}</nationalNumberPattern>
14527 <exampleNumber>80812345</exampleNumber>
14530 <!-- Including government service numbers here too. -->
14531 <nationalNumberPattern>70[67]\d{5}</nationalNumberPattern>
14532 <exampleNumber>70712345</exampleNumber>
14536 <!-- Luxembourg -->
14537 <territory id="LU" countryCode="352" internationalPrefix="00"
14538 nationalPrefixForParsing="(15(?:0[06]|1[12]|35|4[04]|55|6[26]|77|88|99)\d)"
14539 carrierCodeFormattingRule="$CC $FG" mobileNumberPortableRegion="true">
14541 <sourceUrl>http://www.ilr.public.lu/communications_electroniques/numerotation/index.html</sourceUrl>
14544 <!-- Patterns overlap because of variable number length. -->
14545 <numberFormat pattern="(\d{2})(\d{3})">
14554 <format>$1 $2</format>
14556 <numberFormat pattern="(\d{2})(\d{2})(\d{2})">
14565 <format>$1 $2 $3</format>
14567 <numberFormat pattern="(\d{2})(\d{2})(\d{3})">
14568 <leadingDigits>20</leadingDigits>
14569 <format>$1 $2 $3</format>
14571 <!-- The pattern for 7-digit numbers starting with 20 here will never be reached - but since
14572 we want this pattern to apply for 8-digit numbers with a 20 prefix, we include 20 in
14573 the leading digits. This is also done for 9-10 digit numbers starting with 20 below.
14575 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{1,2})">
14582 <format>$1 $2 $3 $4</format>
14584 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{3})">
14585 <leadingDigits>20</leadingDigits>
14586 <format>$1 $2 $3 $4</format>
14588 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})(\d{1,2})">
14595 <format>$1 $2 $3 $4 $5</format>
14597 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{1,4})">
14610 <format>$1 $2 $3 $4</format>
14612 <numberFormat pattern="(\d{3})(\d{2})(\d{3})">
14617 <format>$1 $2 $3</format>
14619 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
14620 <leadingDigits>6</leadingDigits>
14621 <format>$1 $2 $3</format>
14623 </availableFormats>
14625 <!-- The country-code is an impossible number prefix, so has been excluded here. This is
14626 necessary since the numbers have a variable number length. -->
14627 <nationalNumberPattern>
14633 </nationalNumberPattern>
14634 <possibleNumberPattern>\d{4,11}</possibleNumberPattern>
14637 <!-- Even though 20 is listed in the fixed-line plan, other documentation clarify that it is
14638 for VOIP. Furthermore, even though the plan says that numbers beginning with 2[346-8]
14639 must be exactly 8 digits, from information found online it seems that they can actually
14640 be 6 or 7 digits long. -->
14641 <nationalNumberPattern>
14659 </nationalNumberPattern>
14660 <exampleNumber>27123456</exampleNumber>
14663 <nationalNumberPattern>6[2679][18]\d{6}</nationalNumberPattern>
14664 <possibleNumberPattern>\d{9}</possibleNumberPattern>
14665 <exampleNumber>628123456</exampleNumber>
14668 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
14669 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14670 <exampleNumber>80012345</exampleNumber>
14673 <nationalNumberPattern>90[01]\d{5}</nationalNumberPattern>
14674 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14675 <exampleNumber>90012345</exampleNumber>
14678 <nationalNumberPattern>801\d{5}</nationalNumberPattern>
14679 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14680 <exampleNumber>80112345</exampleNumber>
14683 <nationalNumberPattern>70\d{6}</nationalNumberPattern>
14684 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14685 <exampleNumber>70123456</exampleNumber>
14688 <!-- The document says the normal length will be 8 digits, but many numbers found online
14689 deviate from that. The prefixes from the following document have been added:
14690 http://www.ilr.public.lu/communications_electroniques/numerotation/plan_nat_num/numeros_geographiques_geo.pdf
14691 201 has also been added since a diallable number was found online, and it says in
14692 http://www.ilr.public.lu/communications_electroniques/decisions/2004/0479.pdf that no
14693 numbers will be issued that begin with 200, numbers beginning with 201 will be issued
14694 one at a time, and 202-209 in blocks. -->
14695 <nationalNumberPattern>
14700 </nationalNumberPattern>
14701 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
14702 <exampleNumber>20201234</exampleNumber>
14707 <territory id="LV" countryCode="371" internationalPrefix="00" mobileNumberPortableRegion="true">
14709 <sourceUrl>http://www.itu.int/oth/T0202000076/en</sourceUrl>
14710 <sourceUrl>http://en.wikipedia.org/wiki/+371</sourceUrl>
14713 <numberFormat pattern="([2689]\d)(\d{3})(\d{3})">
14714 <format>$1 $2 $3</format>
14716 </availableFormats>
14718 <nationalNumberPattern>[2689]\d{7}</nationalNumberPattern>
14719 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14722 <nationalNumberPattern>6[3-8]\d{6}</nationalNumberPattern>
14723 <exampleNumber>63123456</exampleNumber>
14726 <nationalNumberPattern>2\d{7}</nationalNumberPattern>
14727 <exampleNumber>21234567</exampleNumber>
14730 <nationalNumberPattern>80\d{6}</nationalNumberPattern>
14731 <exampleNumber>80123456</exampleNumber>
14734 <nationalNumberPattern>90\d{6}</nationalNumberPattern>
14735 <exampleNumber>90123456</exampleNumber>
14738 <nationalNumberPattern>81\d{6}</nationalNumberPattern>
14739 <exampleNumber>81123456</exampleNumber>
14743 <!-- Libya (Soc. People’s Libyan Arab Jamahiriya) -->
14744 <!-- Status as of 21 Jan 2011: a lot of outdated information on the web including on wikipedia
14745 and itu.int. The new area codes are on the Arabic website of the main telecommunication
14746 operator (Hatef Libya). A new mobile operator Aljeel Aljadeed for Technology will start
14747 using 096 (they are allowing customers to register numbers currently), so their code has
14748 also been added. -->
14749 <territory id="LY" countryCode="218" internationalPrefix="00"
14750 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
14752 <sourceUrl>http://hlc.ly/price.php</sourceUrl>
14755 <numberFormat pattern="([25679]\d)(\d{7})">
14756 <format>$1-$2</format>
14758 </availableFormats>
14760 <nationalNumberPattern>[25679]\d{8}</nationalNumberPattern>
14761 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
14764 <nationalNumberPattern>
14771 </nationalNumberPattern>
14772 <exampleNumber>212345678</exampleNumber>
14775 <!-- The prefix 094 has been added on the strength of numbers found online, and numbers
14776 where SMS messages have been apparently successfully received. -->
14777 <nationalNumberPattern>9[1-6]\d{7}</nationalNumberPattern>
14778 <possibleNumberPattern>\d{9}</possibleNumberPattern>
14779 <exampleNumber>912345678</exampleNumber>
14784 <!-- Shares formatting and some metadata with Western Sahara. -->
14785 <territory id="MA" countryCode="212" internationalPrefix="00" nationalPrefix="0"
14786 nationalPrefixFormattingRule="$NP$FG" mainCountryForCode="true"
14787 mobileNumberPortableRegion="true">
14789 <sourceUrl>http://www.itu.int/oth/T0202000090/en</sourceUrl>
14790 <sourceUrl>http://en.wikipedia.org/wiki/+212</sourceUrl>
14793 <numberFormat pattern="([56]\d{2})(\d{6})">
14801 <format>$1-$2</format>
14803 <numberFormat pattern="([58]\d{3})(\d{5})">
14824 <format>$1-$2</format>
14826 <numberFormat pattern="(5\d{4})(\d{4})">
14839 <format>$1-$2</format>
14841 <numberFormat pattern="(8[09])(\d{7})">
14848 <format>$1-$2</format>
14850 </availableFormats>
14852 <nationalNumberPattern>[5689]\d{8}</nationalNumberPattern>
14853 <!-- Closed numbering plan. -->
14854 <possibleNumberPattern>\d{9}</possibleNumberPattern>
14857 <nationalNumberPattern>
14885 </nationalNumberPattern>
14886 <exampleNumber>520123456</exampleNumber>
14888 <!-- Also duplicated in Western Sahara, please ensure you update both. -->
14890 <!-- http://www.anrt.ma/sites/default/files/Blocs_de_numeros_par_operateur.pdf
14891 Prefixes 69[0136] added based on numbers found online. -->
14892 <nationalNumberPattern>
14898 </nationalNumberPattern>
14899 <exampleNumber>650123456</exampleNumber>
14902 <nationalNumberPattern>80\d{7}</nationalNumberPattern>
14903 <exampleNumber>801234567</exampleNumber>
14906 <nationalNumberPattern>89\d{7}</nationalNumberPattern>
14907 <exampleNumber>891234567</exampleNumber>
14912 <!-- We support Kosovo mobile numbers (044, 045) with a Monaco country-code here, as we do not
14913 support Kosovo at the moment. Kosovo seems to use a variety of country codes currently. It
14914 also seems that the national prefix is only used for mobile numbers, not fixed-line. -->
14915 <territory id="MC" countryCode="377" internationalPrefix="00"
14916 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
14918 <sourceUrl>http://www.itu.int/oth/T020200008D/en</sourceUrl>
14921 <!-- Following formatting found online rather than in the ITU document example. -->
14922 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})" nationalPrefixFormattingRule="$FG">
14923 <leadingDigits>9</leadingDigits>
14924 <format>$1 $2 $3 $4</format>
14926 <numberFormat pattern="(\d{2})(\d{3})(\d{3})">
14927 <leadingDigits>4</leadingDigits>
14928 <format>$1 $2 $3</format>
14930 <numberFormat pattern="(6)(\d{2})(\d{2})(\d{2})(\d{2})">
14931 <leadingDigits>6</leadingDigits>
14932 <format>$1 $2 $3 $4 $5</format>
14934 <numberFormat pattern="(\d{3})(\d{3})(\d{2})" nationalPrefixFormattingRule="$FG">
14935 <leadingDigits>8</leadingDigits>
14936 <format>$1 $2 $3</format>
14938 </availableFormats>
14940 <nationalNumberPattern>[4689]\d{7,8}</nationalNumberPattern>
14941 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
14943 <noInternationalDialling>
14944 <nationalNumberPattern>8\d{7}</nationalNumberPattern>
14945 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14946 </noInternationalDialling>
14948 <!-- Restricted to this as no numbers with the prefix of 91, 95 or 96 have been found. -->
14949 <nationalNumberPattern>
14952 </nationalNumberPattern>
14953 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14954 <exampleNumber>99123456</exampleNumber>
14957 <!-- 4X mobile numbers are actually used by Kosovo. -->
14958 <nationalNumberPattern>
14964 </nationalNumberPattern>
14965 <exampleNumber>612345678</exampleNumber>
14968 <nationalNumberPattern>90\d{6}</nationalNumberPattern>
14969 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14970 <exampleNumber>90123456</exampleNumber>
14974 <!-- Moldova, Rep. of -->
14975 <territory id="MD" countryCode="373" internationalPrefix="00"
14976 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
14977 mobileNumberPortableRegion="true">
14979 <sourceUrl>http://www.itu.int/oth/T020200008C/en</sourceUrl>
14980 <!-- Announcements -->
14981 <sourceUrl>http://anrceti.md/fileupload/58</sourceUrl>
14982 <!-- Mobile ranges -->
14983 <sourceUrl>http://en.anrceti.md/resurse_numerotare_tel_mobila</sourceUrl>
14986 <numberFormat pattern="(\d{2})(\d{3})(\d{3})">
14991 <format>$1 $2 $3</format>
14993 <numberFormat pattern="([25-7]\d{2})(\d{2})(\d{3})">
14998 <format>$1 $2 $3</format>
15000 <numberFormat pattern="([89]\d{2})(\d{5})">
15001 <leadingDigits>[89]</leadingDigits>
15002 <format>$1 $2</format>
15004 </availableFormats>
15006 <nationalNumberPattern>[235-9]\d{7}</nationalNumberPattern>
15007 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15010 <nationalNumberPattern>
15027 </nationalNumberPattern>
15028 <exampleNumber>22212345</exampleNumber>
15031 <!-- Includes prefixes for Interdnestrcom, http://www.idknet.com/. -->
15032 <nationalNumberPattern>
15051 </nationalNumberPattern>
15052 <exampleNumber>65012345</exampleNumber>
15055 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
15056 <exampleNumber>80012345</exampleNumber>
15059 <nationalNumberPattern>90[056]\d{5}</nationalNumberPattern>
15060 <exampleNumber>90012345</exampleNumber>
15062 <!-- Information came from en.anrceti.md/node/81 -->
15064 <nationalNumberPattern>808\d{5}</nationalNumberPattern>
15065 <exampleNumber>80812345</exampleNumber>
15068 <!-- Includes numbers used for access to different transport directory services of general
15069 interest, since these are charged at the same rate as fixed-line numbers. -->
15070 <nationalNumberPattern>
15075 </nationalNumberPattern>
15076 <exampleNumber>80312345</exampleNumber>
15079 <!-- Used for "nomadic numbers". -->
15080 <nationalNumberPattern>3[08]\d{6}</nationalNumberPattern>
15081 <exampleNumber>30123456</exampleNumber>
15085 <!-- Montenegro -->
15086 <!-- According to EKIP, the detailed phone number assignments are published on their
15087 website (regulation:
15088 http://www.ekip.me/download/Law%20on%20Electronic%20Communications%20(updated)%204.9.2013%20(1)nova%20verzija.pdf
15089 ). Thus ITU updates always need to be combined with the information at the below ekip.me source URL. -->
15090 <territory id="ME" countryCode="382" internationalPrefix="00" nationalPrefix="0"
15091 nationalPrefixFormattingRule="$NP$FG">
15093 <sourceUrl>http://www.itu.int/oth/T02020000DA/en</sourceUrl>
15094 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Montenegro</sourceUrl>
15095 <sourceUrl>http://www.ekip.me/numeracija/dodijeljena.php</sourceUrl>
15098 <numberFormat pattern="(\d{2})(\d{3})(\d{3})">
15099 <leadingDigits>[2-57-9]|6[036-9]</leadingDigits>
15110 <format>$1 $2 $3</format>
15112 <numberFormat pattern="(67)(9)(\d{3})(\d{3})">
15113 <leadingDigits>679</leadingDigits>
15114 <leadingDigits>679[0-2]</leadingDigits>
15115 <format>$1 $2 $3 $4</format>
15117 </availableFormats>
15119 <nationalNumberPattern>[2-9]\d{7,8}</nationalNumberPattern>
15120 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
15123 <!-- Fixed line numbers have prefix 20,30,31,32,33,40,41,50,51,52 followed by 6 digits.
15124 The valid options for the third digit were from
15125 http://www.ekip.me/numeracija/dodijeljena.php -->
15126 <nationalNumberPattern>
15144 </nationalNumberPattern>
15145 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
15146 <exampleNumber>30234567</exampleNumber>
15149 <!-- Mobile numbers start with 600, 632, 661, 67, 68 or 69. -->
15150 <nationalNumberPattern>
15164 </nationalNumberPattern>
15165 <!-- According to ITU it is possible for the numbers to be between length 4-12
15166 (http://www.itu.int/oth/T02020000DA/en). However, in reality they seem to be 8 or 9
15167 digits long, based on the Montenegro document. -->
15168 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
15169 <exampleNumber>67622901</exampleNumber>
15172 <!-- All toll free numbers have prefix 80. -->
15173 <nationalNumberPattern>80\d{6}</nationalNumberPattern>
15174 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15175 <exampleNumber>80080002</exampleNumber>
15178 <!-- Numbers with prefix 94 or 95 are services with additional charges. -->
15179 <nationalNumberPattern>
15186 </nationalNumberPattern>
15187 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15188 <exampleNumber>94515151</exampleNumber>
15191 <!-- VOIP are prefixed with 78. -->
15192 <nationalNumberPattern>78[1-9]\d{5}</nationalNumberPattern>
15193 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15194 <exampleNumber>78108780</exampleNumber>
15197 <!-- Corporate Telephony are prefixed with 77. -->
15198 <nationalNumberPattern>77\d{6}</nationalNumberPattern>
15199 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15200 <exampleNumber>77273012</exampleNumber>
15204 <!-- Saint-Martin, French Antilles -->
15205 <territory id="MF" countryCode="590" internationalPrefix="00" nationalPrefix="0">
15207 <sourceUrl>http://www.itu.int/oth/T0202000058/en</sourceUrl>
15208 <!-- Linked from http://www.arcep.fr/index.php?id=interactivenumeros -->
15209 <sourceUrl>http://www.arcep.fr/fileadmin/reprise/dossiers/numero/ZABPQ-ZNE.xls</sourceUrl>
15211 <!-- Formatting rules borrowed from Guadeloupe. -->
15213 <nationalNumberPattern>[56]\d{8}</nationalNumberPattern>
15214 <possibleNumberPattern>\d{9}</possibleNumberPattern>
15217 <nationalNumberPattern>
15224 </nationalNumberPattern>
15225 <exampleNumber>590271234</exampleNumber>
15228 <!-- Any ranges assigned from
15229 http://www.arcep.fr/index.php?id=interactivenumeros have been listed as belonging to
15230 Guadeloupe, St Martin and St Barthélemy, since we can't reliably distinguish between
15232 <nationalNumberPattern>
15237 </nationalNumberPattern>
15238 <exampleNumber>690301234</exampleNumber>
15242 <!-- Madagascar -->
15243 <territory id="MG" countryCode="261" internationalPrefix="00"
15244 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
15246 <sourceUrl>http://www.itu.int/oth/T020200007F/en</sourceUrl>
15249 <numberFormat pattern="([23]\d)(\d{2})(\d{3})(\d{2})">
15250 <format>$1 $2 $3 $4</format>
15252 </availableFormats>
15254 <nationalNumberPattern>[23]\d{8}</nationalNumberPattern>
15255 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
15258 <!-- Added the prefixes 20 44 and 20 47 as they seem popular on the internet - the plan says
15259 20 4 is for the rest of the province of Antanarivo, but then fails to mention any area
15260 codes beginning with 4. -->
15261 <nationalNumberPattern>
15274 </nationalNumberPattern>
15275 <exampleNumber>202123456</exampleNumber>
15278 <!-- The numbering plan suggests the third digit, Z, should be 24-9, but this is not borne
15279 out by reality. -->
15280 <nationalNumberPattern>3[2-49]\d{7}</nationalNumberPattern>
15281 <possibleNumberPattern>\d{9}</possibleNumberPattern>
15282 <exampleNumber>321234567</exampleNumber>
15284 <!-- Putting VSAT numbers here. -->
15286 <nationalNumberPattern>22\d{7}</nationalNumberPattern>
15287 <possibleNumberPattern>\d{9}</possibleNumberPattern>
15288 <exampleNumber>221234567</exampleNumber>
15292 <!-- Marshall Islands -->
15293 <territory id="MH" countryCode="692" internationalPrefix="011" nationalPrefix="1">
15295 <sourceUrl>http://www.itu.int/oth/T0202000085/en</sourceUrl>
15298 <numberFormat pattern="(\d{3})(\d{4})">
15299 <format>$1-$2</format>
15301 </availableFormats>
15303 <nationalNumberPattern>[2-6]\d{6}</nationalNumberPattern>
15304 <possibleNumberPattern>\d{7}</possibleNumberPattern>
15307 <nationalNumberPattern>
15313 </nationalNumberPattern>
15314 <exampleNumber>2471234</exampleNumber>
15317 <nationalNumberPattern>
15324 </nationalNumberPattern>
15325 <exampleNumber>2351234</exampleNumber>
15328 <!-- VSAT prefixes are here. -->
15329 <nationalNumberPattern>635\d{4}</nationalNumberPattern>
15330 <exampleNumber>6351234</exampleNumber>
15334 <!-- Macedonia, Former Yugoslav Rep. of -->
15335 <territory id="MK" countryCode="389" internationalPrefix="00"
15336 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
15337 mobileNumberPortableRegion="true">
15339 <sourceUrl>http://www.itu.int/oth/T02020000CE/en</sourceUrl>
15342 <!-- Formats follow wikipedia. -->
15343 <numberFormat pattern="(2)(\d{3})(\d{4})">
15344 <leadingDigits>2</leadingDigits>
15345 <format>$1 $2 $3</format>
15347 <numberFormat pattern="([347]\d)(\d{3})(\d{3})">
15348 <leadingDigits>[347]</leadingDigits>
15349 <format>$1 $2 $3</format>
15351 <numberFormat pattern="([58]\d{2})(\d)(\d{2})(\d{2})">
15352 <leadingDigits>[58]</leadingDigits>
15353 <format>$1 $2 $3 $4</format>
15355 </availableFormats>
15357 <nationalNumberPattern>[2-578]\d{7}</nationalNumberPattern>
15358 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15361 <nationalNumberPattern>
15382 </nationalNumberPattern>
15383 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
15384 <exampleNumber>22212345</exampleNumber>
15387 <nationalNumberPattern>
15393 </nationalNumberPattern>
15394 <exampleNumber>72345678</exampleNumber>
15397 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
15398 <exampleNumber>80012345</exampleNumber>
15401 <nationalNumberPattern>5[02-9]\d{6}</nationalNumberPattern>
15402 <exampleNumber>50012345</exampleNumber>
15405 <nationalNumberPattern>
15410 </nationalNumberPattern>
15411 <exampleNumber>80123456</exampleNumber>
15416 <territory id="ML" countryCode="223" internationalPrefix="00">
15418 <sourceUrl>http://www.itu.int/oth/T0202000083/en</sourceUrl>
15419 <sourceUrl>http://crt-mali.org/pdf/plan_num</sourceUrl>
15422 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
15423 <leadingDigits>[246-9]</leadingDigits>
15424 <format>$1 $2 $3 $4</format>
15426 <!-- Formatting some short numbers as a block. -->
15427 <numberFormat pattern="(\d{4})">
15432 <intlFormat>NA</intlFormat>
15433 <format>$1</format>
15435 </availableFormats>
15437 <nationalNumberPattern>[246-9]\d{7}</nationalNumberPattern>
15438 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15441 <!-- Patterns from ITU with extra ranges 20 25, 20 7[13-9] and 217 provided by Sotelma and
15442 confirmed by searches online. -->
15443 <nationalNumberPattern>
15458 </nationalNumberPattern>
15459 <exampleNumber>20212345</exampleNumber>
15462 <!-- Orange Mali have updated their numbering plan, though this is not reflected in the ITU
15463 document (which is very stale). All mobile numbers starting with 7 are now Orange.
15464 Includes 6x from Malitel IR21. Numbers beginning with 9 have been found online and
15465 reported by open-source users, although the exact possible second digits are uncertain.
15467 <nationalNumberPattern>
15470 </nationalNumberPattern>
15471 <exampleNumber>65012345</exampleNumber>
15474 <!-- Online examples have not been found, but this seems to follow the prescriptions in the
15476 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
15477 <exampleNumber>80012345</exampleNumber>
15482 <territory id="MM" countryCode="95" internationalPrefix="00" nationalPrefix="0"
15483 nationalPrefixFormattingRule="$NP$FG">
15485 <sourceUrl>http://www.itu.int/oth/T0202000092/en</sourceUrl>
15488 <numberFormat pattern="(\d)(\d{3})(\d{3,4})">
15493 <format>$1 $2 $3</format>
15495 <numberFormat pattern="(2)(\d{4})(\d{4})">
15496 <leadingDigits>251</leadingDigits>
15497 <format>$1 $2 $3</format>
15499 <numberFormat pattern="(\d)(\d{2})(\d{3})">
15504 <format>$1 $2 $3</format>
15506 <numberFormat pattern="(\d{2})(\d{3})(\d{3,4})">
15511 <format>$1 $2 $3</format>
15513 <numberFormat pattern="(\d{2})(\d{2})(\d{3,4})">
15514 <leadingDigits>[4-8]</leadingDigits>
15515 <format>$1 $2 $3</format>
15517 <numberFormat pattern="(9)(\d{3})(\d{4,6})">
15525 <format>$1 $2 $3</format>
15527 <numberFormat pattern="(9)(4\d{4})(\d{4})">
15528 <leadingDigits>94[0245]</leadingDigits>
15529 <format>$1 $2 $3</format>
15531 <!-- Following majority of numbers found online. -->
15532 <numberFormat pattern="(9)(\d{3})(\d{3})(\d{3})">
15533 <leadingDigits>925</leadingDigits>
15534 <format>$1 $2 $3 $4</format>
15536 </availableFormats>
15538 <nationalNumberPattern>
15549 </nationalNumberPattern>
15550 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
15553 <nationalNumberPattern>
15625 </nationalNumberPattern>
15626 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
15627 <exampleNumber>1234567</exampleNumber>
15630 <!-- Added 99[089] (8 digits), 961 (9 digits), and 979 & 997 (10 digits) from bug
15631 reports/numbers found online. -->
15632 <nationalNumberPattern>
15660 </nationalNumberPattern>
15661 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
15662 <exampleNumber>92123456</exampleNumber>
15665 <nationalNumberPattern>1333\d{4}</nationalNumberPattern>
15666 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15667 <exampleNumber>13331234</exampleNumber>
15669 <!-- No information on other types of phone numbers for Myanmar has been found. -->
15673 <territory id="MN" countryCode="976" internationalPrefix="001"
15674 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
15676 <sourceUrl>http://www.itu.int/oth/T020200008E/en</sourceUrl>
15679 <numberFormat pattern="([12]\d)(\d{2})(\d{4})">
15680 <leadingDigits>[12]1</leadingDigits>
15681 <format>$1 $2 $3</format>
15683 <numberFormat pattern="([12]2\d)(\d{5,6})">
15684 <leadingDigits>[12]2[1-3]</leadingDigits>
15685 <format>$1 $2</format>
15687 <numberFormat pattern="([12]\d{3})(\d{5})">
15700 <format>$1 $2</format>
15702 <!-- It seems from online formatting that the national prefix is not written (or perhaps
15703 needed?) for numbers in these ranges. -->
15704 <numberFormat pattern="(\d{4})(\d{4})"
15705 nationalPrefixFormattingRule="$FG">
15706 <leadingDigits>[57-9]</leadingDigits>
15707 <format>$1 $2</format>
15709 <numberFormat pattern="([12]\d{4})(\d{4,5})">
15722 <format>$1 $2</format>
15724 </availableFormats>
15726 <nationalNumberPattern>
15729 </nationalNumberPattern>
15730 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
15733 <!-- Note the leading digit is the access code: 1 is used by Mongolia Telecom subscribers
15734 and 2 is used by Mongolian Railway subscribers. The area code then follows the access
15735 code, and could be 1 to 4 digits long. We also cover wireless local loop numbers here
15736 as well, even though we are not certain whether they are in fact fixed or mobile in
15737 this country. 5-digit subscriber numbers for 4-digit area codes have been added due to
15738 online numbers being found. -->
15739 <nationalNumberPattern>
15751 </nationalNumberPattern>
15752 <exampleNumber>50123456</exampleNumber>
15755 <nationalNumberPattern>
15760 </nationalNumberPattern>
15761 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15762 <exampleNumber>88123456</exampleNumber>
15764 <!-- No tollFree or premiumRate information can be found. -->
15766 <!-- According to the document this could be stricter, but there are counter examples
15768 <nationalNumberPattern>7[05-8]\d{6}</nationalNumberPattern>
15769 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15770 <exampleNumber>75123456</exampleNumber>
15774 <!-- Macao, China -->
15775 <territory id="MO" countryCode="853" internationalPrefix="00">
15777 <sourceUrl>http://www.itu.int/oth/T020200007E/en</sourceUrl>
15780 <numberFormat pattern="([268]\d{3})(\d{4})">
15781 <format>$1 $2</format>
15783 </availableFormats>
15785 <nationalNumberPattern>[268]\d{7}</nationalNumberPattern>
15786 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15789 <nationalNumberPattern>
15794 </nationalNumberPattern>
15795 <exampleNumber>28212345</exampleNumber>
15798 <!-- The 6[23] prefixes are added as SMS messages have been successfully delivered to these
15799 numbers, and they are also widely present on the Internet. -->
15800 <nationalNumberPattern>6[236]\d{6}</nationalNumberPattern>
15801 <exampleNumber>66123456</exampleNumber>
15803 <!-- No tollFree or premiumRate information can be found. -->
15806 <!-- Northern Mariana Islands -->
15807 <territory id="MP" countryCode="1" leadingDigits="670" nationalPrefix="1"
15808 internationalPrefix="011">
15810 <sourceUrl>http://www.itu.int/oth/T02020000EE/en</sourceUrl>
15811 <sourceUrl>http://www.cnmiphonebook.com/</sourceUrl>
15814 <!-- NANPA country - uses US formatting rules -->
15815 <nationalNumberPattern>[5689]\d{9}</nationalNumberPattern>
15816 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
15819 <!-- Extra exchange codes 232, 289, 355, 472, 633, 637, 646, 647, 649, 653, 687, 734 and 828
15820 were seen in the white and yellow pages, but no numbers with these exchange codes have
15821 proved to be diallable so we exclude them for now.. -->
15822 <nationalNumberPattern>
15848 </nationalNumberPattern>
15849 <exampleNumber>6702345678</exampleNumber>
15852 <nationalNumberPattern>
15878 </nationalNumberPattern>
15879 <exampleNumber>6702345678</exampleNumber>
15882 <nationalNumberPattern>
15891 </nationalNumberPattern>
15892 <possibleNumberPattern>\d{10}</possibleNumberPattern>
15893 <exampleNumber>8002123456</exampleNumber>
15896 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
15897 <possibleNumberPattern>\d{10}</possibleNumberPattern>
15898 <exampleNumber>9002123456</exampleNumber>
15901 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
15902 <nationalNumberPattern>
15910 </nationalNumberPattern>
15911 <possibleNumberPattern>\d{10}</possibleNumberPattern>
15912 <exampleNumber>5002345678</exampleNumber>
15916 <!-- Martinique (French Dept. of) -->
15917 <territory id="MQ" countryCode="596" internationalPrefix="00"
15918 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
15920 <sourceUrl>http://www.itu.int/oth/T0202000086/en</sourceUrl>
15921 <sourceUrl>http://www.arcep.fr/index.php?id=2137&bloc=0596&CMD=RESULTS_NUMEROTATION</sourceUrl>
15924 <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})">
15925 <format>$1 $2 $3 $4</format>
15927 </availableFormats>
15929 <nationalNumberPattern>[56]\d{8}</nationalNumberPattern>
15930 <possibleNumberPattern>\d{9}</possibleNumberPattern>
15933 <nationalNumberPattern>
15943 </nationalNumberPattern>
15944 <exampleNumber>596301234</exampleNumber>
15947 <nationalNumberPattern>
15953 </nationalNumberPattern>
15954 <exampleNumber>696201234</exampleNumber>
15956 <!-- The 876 prefix is mentioned in the plan, but the plan is from 2006 and in France VOIP
15957 numbers were changed from 087 to the 09 prefix in 2009. It is likely this occurred here
15961 <!-- Mauritania -->
15962 <territory id="MR" countryCode="222" internationalPrefix="00" >
15964 <sourceUrl>http://www.itu.int/oth/T0202000087/en</sourceUrl>
15965 <sourceUrl>http://are.mr/pdfs/pnn2010.pdf</sourceUrl>
15968 <numberFormat pattern="([2-48]\d)(\d{2})(\d{2})(\d{2})">
15969 <format>$1 $2 $3 $4</format>
15971 </availableFormats>
15973 <nationalNumberPattern>[2-48]\d{7}</nationalNumberPattern>
15974 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15977 <nationalNumberPattern>
15981 </nationalNumberPattern>
15982 <exampleNumber>35123456</exampleNumber>
15984 <!-- Added "49\d" in response to https://github.com/googlei18n/libphonenumber/issues/529
15985 which might be overly permissive, but we don't have an official documentation for this
15986 and only a small number of numbers were found online. At least 492 and 495 are valid.
15989 <nationalNumberPattern>
16007 </nationalNumberPattern>
16008 <exampleNumber>22123456</exampleNumber>
16011 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
16012 <exampleNumber>80012345</exampleNumber>
16016 <!-- Montserrat -->
16017 <territory id="MS" countryCode="1" leadingDigits="664" nationalPrefix="1"
16018 internationalPrefix="011">
16020 <sourceUrl>http://www.itu.int/oth/T020200008F/en</sourceUrl>
16023 <!-- NANPA country - uses US formatting rules -->
16024 <nationalNumberPattern>[5689]\d{9}</nationalNumberPattern>
16025 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
16028 <nationalNumberPattern>664491\d{4}</nationalNumberPattern>
16029 <exampleNumber>6644912345</exampleNumber>
16032 <nationalNumberPattern>66449[2-6]\d{4}</nationalNumberPattern>
16033 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16034 <exampleNumber>6644923456</exampleNumber>
16037 <nationalNumberPattern>
16046 </nationalNumberPattern>
16047 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16048 <exampleNumber>8002123456</exampleNumber>
16051 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
16052 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16053 <exampleNumber>9002123456</exampleNumber>
16056 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
16057 <nationalNumberPattern>
16065 </nationalNumberPattern>
16066 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16067 <exampleNumber>5002345678</exampleNumber>
16072 <territory id="MT" countryCode="356" internationalPrefix="00" mobileNumberPortableRegion="true">
16074 <sourceUrl>http://www.itu.int/oth/T0202000084/en</sourceUrl>
16075 <!-- Numbering link in the LHS menu - has more up-to-date allocations -->
16076 <sourceUrl>http://www.mca.org.mt</sourceUrl>
16079 <numberFormat pattern="(\d{4})(\d{4})">
16080 <format>$1 $2</format>
16082 </availableFormats>
16084 <nationalNumberPattern>[2357-9]\d{7}</nationalNumberPattern>
16085 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16088 <nationalNumberPattern>
16097 </nationalNumberPattern>
16098 <exampleNumber>21001234</exampleNumber>
16101 <!-- 7210 and 92XX come from the allocations listed on http://www.mca.org.mt, but they are
16102 not listed in the latest ITU document. -->
16103 <nationalNumberPattern>
16123 </nationalNumberPattern>
16124 <exampleNumber>96961234</exampleNumber>
16127 <nationalNumberPattern>7117\d{4}</nationalNumberPattern>
16128 <exampleNumber>71171234</exampleNumber>
16131 <nationalNumberPattern>800[3467]\d{4}</nationalNumberPattern>
16132 <exampleNumber>80071234</exampleNumber>
16135 <nationalNumberPattern>
16148 </nationalNumberPattern>
16149 <exampleNumber>50037123</exampleNumber>
16152 <!-- In the plan as Non-PATS ECS. -->
16153 <nationalNumberPattern>3550\d{4}</nationalNumberPattern>
16154 <exampleNumber>35501234</exampleNumber>
16157 <!-- Using this for governmental numbers. -->
16158 <nationalNumberPattern>501\d{5}</nationalNumberPattern>
16159 <exampleNumber>50112345</exampleNumber>
16164 <!-- Preferred international prefix is expected to standardize on just '00' -->
16165 <territory id="MU" countryCode="230" internationalPrefix="0(?:0|[2-7]0|33)"
16166 preferredInternationalPrefix="020">
16168 <sourceUrl>http://www.icta.mu/telecommunications/numbering.htm</sourceUrl>
16171 <numberFormat pattern="([2-46-9]\d{2})(\d{4})">
16172 <leadingDigits>[2-46-9]</leadingDigits>
16173 <format>$1 $2</format>
16175 <numberFormat pattern="(5\d{3})(\d{4})">
16176 <leadingDigits>5</leadingDigits>
16177 <format>$1 $2</format>
16179 </availableFormats>
16181 <nationalNumberPattern>[2-9]\d{6,7}</nationalNumberPattern>
16182 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
16185 <!-- See also: http://www.wtng.info/wtng-230-mu.html for additional detail. -->
16186 <nationalNumberPattern>
16207 </nationalNumberPattern>
16208 <exampleNumber>2012345</exampleNumber>
16211 <nationalNumberPattern>
16227 </nationalNumberPattern>
16228 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16229 <exampleNumber>52512345</exampleNumber>
16232 <nationalNumberPattern>80[012]\d{4}</nationalNumberPattern>
16233 <possibleNumberPattern>\d{7}</possibleNumberPattern>
16234 <exampleNumber>8001234</exampleNumber>
16237 <nationalNumberPattern>30\d{5}</nationalNumberPattern>
16238 <possibleNumberPattern>\d{7}</possibleNumberPattern>
16239 <exampleNumber>3012345</exampleNumber>
16242 <nationalNumberPattern>
16247 </nationalNumberPattern>
16248 <possibleNumberPattern>\d{7}</possibleNumberPattern>
16249 <exampleNumber>3201234</exampleNumber>
16254 <territory id="MV" countryCode="960" internationalPrefix="0(?:0|19)"
16255 preferredInternationalPrefix="00">
16257 <sourceUrl>http://www.itu.int/oth/T0202000082/en</sourceUrl>
16258 <sourceUrl>http://www.dhiraagu.com.mv</sourceUrl>
16261 <numberFormat pattern="(\d{3})(\d{4})">
16269 <format>$1-$2</format>
16271 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
16272 <leadingDigits>900</leadingDigits>
16273 <format>$1 $2 $3</format>
16275 </availableFormats>
16277 <nationalNumberPattern>
16283 </nationalNumberPattern>
16284 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
16287 <!-- 300 has been added as prefixes from online searches, since the numbers seemed to be
16289 <nationalNumberPattern>
16301 </nationalNumberPattern>
16302 <possibleNumberPattern>\d{7}</possibleNumberPattern>
16303 <exampleNumber>6701234</exampleNumber>
16306 <!-- 7[45] has been added as many numbers online have been found with this prefix. 46[46]
16307 are new prefixes for Dhiraagu and Wataniya, used currently for SMS-based services.
16308 91 was added based on information from Wataniya Telecom. -->
16309 <nationalNumberPattern>
16315 </nationalNumberPattern>
16316 <possibleNumberPattern>\d{7}</possibleNumberPattern>
16317 <exampleNumber>7712345</exampleNumber>
16320 <nationalNumberPattern>781\d{4}</nationalNumberPattern>
16321 <possibleNumberPattern>\d{7}</possibleNumberPattern>
16322 <exampleNumber>7812345</exampleNumber>
16325 <nationalNumberPattern>900\d{7}</nationalNumberPattern>
16326 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16327 <exampleNumber>9001234567</exampleNumber>
16332 <!-- The plan doesn't state that a national prefix exists, but numbers found on the internet are
16333 consistent in having one. -->
16334 <territory id="MW" countryCode="265" internationalPrefix="00"
16335 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
16337 <sourceUrl>http://www.itu.int/oth/T0202000080/en</sourceUrl>
16340 <numberFormat pattern="(\d)(\d{3})(\d{3})">
16341 <leadingDigits>1</leadingDigits>
16342 <format>$1 $2 $3</format>
16344 <numberFormat pattern="(2\d{2})(\d{3})(\d{3})">
16345 <leadingDigits>2</leadingDigits>
16346 <format>$1 $2 $3</format>
16348 <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})">
16349 <leadingDigits>[1789]</leadingDigits>
16350 <format>$1 $2 $3 $4</format>
16352 </availableFormats>
16354 <nationalNumberPattern>
16361 </nationalNumberPattern>
16362 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
16365 <!-- 14 is no longer mentioned in the plan as a prefix, but plenty of online numbers have
16366 been found so this is being retained for now. It is possible however that these may be
16367 old-format mobile numbers. -->
16368 <nationalNumberPattern>
16373 </nationalNumberPattern>
16374 <exampleNumber>1234567</exampleNumber>
16377 <nationalNumberPattern>
16384 </nationalNumberPattern>
16385 <possibleNumberPattern>\d{9}</possibleNumberPattern>
16386 <exampleNumber>991234567</exampleNumber>
16391 <territory id="MX" countryCode="52" internationalPrefix="0[09]"
16392 nationalPrefix="01"
16393 nationalPrefixForParsing="0[12]|04[45](\d{10})"
16394 nationalPrefixTransformRule="1$1"
16395 nationalPrefixFormattingRule="$NP $FG"
16396 nationalPrefixOptionalWhenFormatting="true"
16397 leadingZeroPossible="true" mobileNumberPortableRegion="true">
16399 <sourceUrl>http://www.itu.int/oth/T020200008A/en</sourceUrl>
16400 <sourceUrl>http://en.wikipedia.org/wiki/%2B52</sourceUrl>
16401 <sourceUrl>http://en.wikipedia.org/wiki/Premium-rate_telephone_number#Mexico</sourceUrl>
16402 <sourceUrl>http://en.wikipedia.org/wiki/Toll-free_telephone_number</sourceUrl>
16404 <!-- When a number starts with 01 or 02, we remove the prefixes; when a number starts with 044
16405 or 045 followed by 10 digits, we replace the prefixes with 1. This way all the mobile
16406 numbers, regardless of whether they are written in international format (leading 1) or
16407 national format (leading 044/045), will be parsed into the same form. -->
16409 <numberFormat pattern="([358]\d)(\d{4})(\d{4})">
16415 <format>$1 $2 $3</format>
16417 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
16425 <format>$1 $2 $3</format>
16427 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(1)([358]\d)(\d{4})(\d{4})">
16435 <format>044 $2 $3 $4</format>
16436 <intlFormat>$1 $2 $3 $4</intlFormat>
16438 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(1)(\d{3})(\d{3})(\d{4})">
16448 <format>044 $2 $3 $4</format>
16449 <intlFormat>$1 $2 $3 $4</intlFormat>
16451 </availableFormats>
16453 <nationalNumberPattern>[1-9]\d{9,10}</nationalNumberPattern>
16454 <possibleNumberPattern>\d{7,11}</possibleNumberPattern>
16457 <!-- http://en.wikipedia.org/wiki/Area_codes_in_Mexico_by_code -->
16458 <nationalNumberPattern>
16524 </nationalNumberPattern>
16525 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
16526 <exampleNumber>2221234567</exampleNumber>
16529 <nationalNumberPattern>
16597 </nationalNumberPattern>
16598 <possibleNumberPattern>\d{11}</possibleNumberPattern>
16599 <exampleNumber>12221234567</exampleNumber>
16602 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
16603 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16604 <exampleNumber>8001234567</exampleNumber>
16607 <nationalNumberPattern>900\d{7}</nationalNumberPattern>
16608 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16609 <exampleNumber>9001234567</exampleNumber>
16614 <territory id="MY" countryCode="60" internationalPrefix="00"
16615 nationalPrefix="0" mobileNumberPortableRegion="true">
16617 <sourceUrl>http://en.wikipedia.org/wiki/%2B60</sourceUrl>
16618 <sourceUrl>http://www.skmm.gov.my</sourceUrl>
16621 <numberFormat nationalPrefixFormattingRule="$NP$FG"
16622 pattern="([4-79])(\d{3})(\d{4})">
16623 <leadingDigits>[4-79]</leadingDigits>
16624 <format>$1-$2 $3</format>
16626 <numberFormat nationalPrefixFormattingRule="$NP$FG"
16627 pattern="(3)(\d{4})(\d{4})">
16628 <leadingDigits>3</leadingDigits>
16629 <format>$1-$2 $3</format>
16631 <numberFormat nationalPrefixFormattingRule="$NP$FG"
16632 pattern="([18]\d)(\d{3})(\d{3,4})">
16637 <format>$1-$2 $3</format>
16639 <numberFormat pattern="(1)([36-8]00)(\d{2})(\d{4})">
16640 <leadingDigits>1[36-8]0</leadingDigits>
16641 <format>$1-$2-$3-$4</format>
16643 <numberFormat nationalPrefixFormattingRule="$NP$FG"
16644 pattern="(11)(\d{4})(\d{4})">
16645 <leadingDigits>11</leadingDigits>
16646 <format>$1-$2 $3</format>
16648 <numberFormat nationalPrefixFormattingRule="$NP$FG"
16649 pattern="(15[49])(\d{3})(\d{4})">
16650 <leadingDigits>15</leadingDigits>
16651 <format>$1-$2 $3</format>
16653 </availableFormats>
16655 <nationalNumberPattern>[13-9]\d{7,9}</nationalNumberPattern>
16656 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
16659 <nationalNumberPattern>
16664 </nationalNumberPattern>
16665 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
16666 <exampleNumber>323456789</exampleNumber>
16669 <!-- Although the plan lists the prefix 159 as broadband services (data only), apparently it
16670 is possible to send SMSs (and receive them) from numbers in this block, so we are
16671 listing them as mobile. 115 was added based on numbers found online. -->
16672 <nationalNumberPattern>
16682 </nationalNumberPattern>
16683 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
16684 <exampleNumber>123456789</exampleNumber>
16687 <!-- http://www.skmm.gov.my/skmmgovmy/media/General/pdf/Special_Service_Number.pdf -->
16688 <nationalNumberPattern>1[378]00\d{6}</nationalNumberPattern>
16689 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16690 <exampleNumber>1300123456</exampleNumber>
16693 <nationalNumberPattern>1600\d{6}</nationalNumberPattern>
16694 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16695 <exampleNumber>1600123456</exampleNumber>
16698 <nationalNumberPattern>154\d{7}</nationalNumberPattern>
16699 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16700 <exampleNumber>1541234567</exampleNumber>
16704 <!-- Mozambique -->
16705 <territory id="MZ" countryCode="258" internationalPrefix="00">
16707 <sourceUrl>http://www.itu.int/oth/T0202000091/en</sourceUrl>
16710 <numberFormat pattern="([28]\d)(\d{3})(\d{3,4})">
16715 <format>$1 $2 $3</format>
16717 <numberFormat pattern="(80\d)(\d{3})(\d{3})">
16718 <leadingDigits>80</leadingDigits>
16719 <format>$1 $2 $3</format>
16721 </availableFormats>
16723 <nationalNumberPattern>[28]\d{7,8}</nationalNumberPattern>
16724 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
16727 <nationalNumberPattern>
16734 </nationalNumberPattern>
16735 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16736 <exampleNumber>21123456</exampleNumber>
16739 <nationalNumberPattern>8[23467]\d{7}</nationalNumberPattern>
16740 <possibleNumberPattern>\d{9}</possibleNumberPattern>
16741 <exampleNumber>821234567</exampleNumber>
16744 <!-- Unsure of the length requirement on toll-free numbers, so using 9 based on online
16746 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
16747 <possibleNumberPattern>\d{9}</possibleNumberPattern>
16748 <exampleNumber>800123456</exampleNumber>
16750 <!-- The plan suggests 801 and 802 numbers are shared-cost numbers, and numbers beginning with
16751 a 9 are premium rate, but no online examples can be found of any of these so they are
16752 omitted for the time-being. -->
16756 <territory id="NA" countryCode="264" internationalPrefix="00"
16757 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
16759 <sourceUrl>http://www.itu.int/oth/T0202000093/en</sourceUrl>
16762 <numberFormat pattern="(8\d)(\d{3})(\d{4})">
16763 <leadingDigits>8[1235]</leadingDigits>
16764 <format>$1 $2 $3</format>
16766 <numberFormat pattern="(6\d)(\d{2,3})(\d{4})">
16767 <leadingDigits>6</leadingDigits>
16768 <format>$1 $2 $3</format>
16770 <numberFormat pattern="(88)(\d{3})(\d{3})">
16771 <leadingDigits>88</leadingDigits>
16772 <format>$1 $2 $3</format>
16774 <numberFormat pattern="(870)(\d{3})(\d{3})">
16775 <leadingDigits>870</leadingDigits>
16776 <format>$1 $2 $3</format>
16778 </availableFormats>
16780 <nationalNumberPattern>[68]\d{7,8}</nationalNumberPattern>
16781 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
16784 <!-- Includes VSAT service. -->
16785 <nationalNumberPattern>
16873 </nationalNumberPattern>
16874 <exampleNumber>61221234</exampleNumber>
16877 <!-- Includes the Switch CDMA Service. -->
16878 <nationalNumberPattern>
16883 </nationalNumberPattern>
16884 <possibleNumberPattern>\d{9}</possibleNumberPattern>
16885 <exampleNumber>811234567</exampleNumber>
16888 <nationalNumberPattern>8701\d{5}</nationalNumberPattern>
16889 <possibleNumberPattern>\d{9}</possibleNumberPattern>
16890 <exampleNumber>870123456</exampleNumber>
16893 <!-- Including virtual telephone and VOIP services. -->
16894 <nationalNumberPattern>
16899 </nationalNumberPattern>
16900 <exampleNumber>88612345</exampleNumber>
16904 <!-- New Caledonia (Territoire français d'outre-mer) -->
16905 <territory id="NC" countryCode="687" internationalPrefix="00">
16907 <sourceUrl>http://www.itu.int/oth/T0202000098/en</sourceUrl>
16908 <sourceUrl>http://www.opt.nc</sourceUrl>
16911 <!-- From http://www.1012.nc, the local yellow pages. -->
16912 <numberFormat pattern="(\d{2})(\d{2})(\d{2})">
16913 <!-- We exclude short-codes here so they are formatted as a block -->
16918 <format>$1.$2.$3</format>
16920 </availableFormats>
16922 <nationalNumberPattern>[2-57-9]\d{5}</nationalNumberPattern>
16923 <possibleNumberPattern>\d{6}</possibleNumberPattern>
16926 <!-- Including the 88 prefix for public payphones. -->
16927 <nationalNumberPattern>
16934 </nationalNumberPattern>
16935 <exampleNumber>201234</exampleNumber>
16938 <nationalNumberPattern>
16944 </nationalNumberPattern>
16945 <exampleNumber>751234</exampleNumber>
16947 <!-- Listed as "voice services", from what we've seen they seem to cost extra. -->
16948 <!-- Note that OPT lists 3631 as a free short number for caller ID services, but the ITU
16949 document says that all 36 numbers are 6 digits. See ShortNumberMetadata.xml for more. -->
16951 <nationalNumberPattern>36\d{4}</nationalNumberPattern>
16952 <exampleNumber>366711</exampleNumber>
16957 <territory id="NE" countryCode="227" internationalPrefix="00" leadingZeroPossible="true">
16959 <sourceUrl>http://www.itu.int/oth/T020200009B/en</sourceUrl>
16962 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
16967 <format>$1 $2 $3 $4</format>
16969 <numberFormat pattern="(08)(\d{3})(\d{3})">
16970 <leadingDigits>08</leadingDigits>
16971 <format>$1 $2 $3</format>
16973 </availableFormats>
16975 <nationalNumberPattern>[0289]\d{7}</nationalNumberPattern>
16976 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16979 <!-- Adding 20 61 from online numbers. -->
16980 <nationalNumberPattern>
16998 </nationalNumberPattern>
16999 <exampleNumber>20201234</exampleNumber>
17002 <!-- Added 90, 91, 92, 95, 97, 98 & 99 from online data. Airtel have confirmed that they use the
17003 89 and 97 prefixes, and Orange use 92. MOOV started using 95 in Jan 2014. -->
17004 <nationalNumberPattern>
17009 </nationalNumberPattern>
17010 <exampleNumber>93123456</exampleNumber>
17013 <nationalNumberPattern>08\d{6}</nationalNumberPattern>
17014 <exampleNumber>08123456</exampleNumber>
17017 <nationalNumberPattern>09\d{6}</nationalNumberPattern>
17018 <exampleNumber>09123456</exampleNumber>
17022 <!-- Norfolk Island -->
17023 <!-- Including numbers for Australian Antarctic stations. -->
17024 <territory id="NF" countryCode="672" internationalPrefix="00">
17026 <sourceUrl>http://www.itu.int/oth/T020200009D/en</sourceUrl>
17029 <numberFormat pattern="(\d{2})(\d{4})">
17030 <leadingDigits>1</leadingDigits>
17031 <format>$1 $2</format>
17033 <numberFormat pattern="(\d)(\d{5})">
17034 <leadingDigits>3</leadingDigits>
17035 <format>$1 $2</format>
17037 </availableFormats>
17039 <nationalNumberPattern>[13]\d{5}</nationalNumberPattern>
17040 <possibleNumberPattern>\d{5,6}</possibleNumberPattern>
17043 <!-- ITU says all 3X numbers except 38 are fixed-line, but 3[3-79] numbers don't seem to
17044 connect after we tried calling them. -->
17045 <nationalNumberPattern>
17055 </nationalNumberPattern>
17056 <exampleNumber>106609</exampleNumber>
17059 <!-- Numbers found online with prefix 35. -->
17060 <nationalNumberPattern>3[58]\d{4}</nationalNumberPattern>
17061 <exampleNumber>381234</exampleNumber>
17066 <territory id="NG" countryCode="234" internationalPrefix="009"
17067 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
17068 mobileNumberPortableRegion="true">
17070 <sourceUrl>http://www.itu.int/oth/T020200009C/en</sourceUrl>
17073 <numberFormat pattern="([129])(\d{3})(\d{3,4})">
17074 <leadingDigits>[129]</leadingDigits>
17075 <format>$1 $2 $3</format>
17077 <numberFormat pattern="(\d{2})(\d{3})(\d{2,3})">
17086 <format>$1 $2 $3</format>
17088 <numberFormat pattern="(\d{3})(\d{3})(\d{3,4})">
17094 <format>$1 $2 $3</format>
17096 <numberFormat pattern="([78]00)(\d{4})(\d{4,5})">
17097 <leadingDigits>[78]00</leadingDigits>
17098 <format>$1 $2 $3</format>
17100 <numberFormat pattern="([78]00)(\d{5})(\d{5,6})">
17101 <leadingDigits>[78]00</leadingDigits>
17102 <format>$1 $2 $3</format>
17104 <numberFormat pattern="(78)(\d{2})(\d{3})">
17105 <leadingDigits>78</leadingDigits>
17106 <format>$1 $2 $3</format>
17108 </availableFormats>
17110 <nationalNumberPattern>
17114 </nationalNumberPattern>
17115 <possibleNumberPattern>\d{5,14}</possibleNumberPattern>
17118 <nationalNumberPattern>
17142 </nationalNumberPattern>
17143 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
17144 <exampleNumber>12345678</exampleNumber>
17147 <!-- More 81X prefixes have been added based on online numbers, including the prefix 817
17148 from Etisalat, 814 MTN and 811 from Glo. Furthermore, the fixed-line prefixes owned by
17149 Starcomms have apparently, according to the company, been used for mobile numbers too,
17150 despite the ITU plan, so we list them here as well. 701 has been added for Airtel/Zain.
17151 903 has been added for MTN, 905 has been added for Globacom (Glo), and 909 has been
17152 added for Etisalat. -->
17153 <nationalNumberPattern>
17237 </nationalNumberPattern>
17238 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
17239 <exampleNumber>8021234567</exampleNumber>
17241 <!-- Info on these numbers from http://www.alphatechnologieslimited.com. -->
17243 <nationalNumberPattern>800\d{7,11}</nationalNumberPattern>
17244 <possibleNumberPattern>\d{10,14}</possibleNumberPattern>
17245 <exampleNumber>80017591759</exampleNumber>
17248 <nationalNumberPattern>700\d{7,11}</nationalNumberPattern>
17249 <possibleNumberPattern>\d{10,14}</possibleNumberPattern>
17250 <exampleNumber>7001234567</exampleNumber>
17255 <territory id="NI" countryCode="505" internationalPrefix="00">
17257 <sourceUrl>http://www.itu.int/oth/T020200009A/en</sourceUrl>
17260 <numberFormat pattern="(\d{4})(\d{4})">
17261 <format>$1 $2</format>
17263 </availableFormats>
17265 <nationalNumberPattern>[12578]\d{7}</nationalNumberPattern>
17266 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17269 <nationalNumberPattern>2\d{7}</nationalNumberPattern>
17270 <exampleNumber>21234567</exampleNumber>
17273 <!-- 55[0-7], 57, 58 and 7[5-8] were added from bug reports/numbers found online. -->
17274 <nationalNumberPattern>
17281 </nationalNumberPattern>
17282 <exampleNumber>81234567</exampleNumber>
17285 <nationalNumberPattern>1800\d{4}</nationalNumberPattern>
17286 <exampleNumber>18001234</exampleNumber>
17290 <!-- Netherlands -->
17291 <territory id="NL" countryCode="31" internationalPrefix="00"
17292 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
17293 mobileNumberPortableRegion="true">
17295 <sourceUrl>http://en.wikipedia.org/wiki/%2B31</sourceUrl>
17296 <sourceUrl>http://www.opta.nl/en/numbers/search-for-numbers</sourceUrl>
17299 <numberFormat pattern="([1-578]\d)(\d{3})(\d{4})">
17309 <format>$1 $2 $3</format>
17311 <numberFormat pattern="([1-5]\d{2})(\d{3})(\d{3})">
17319 <format>$1 $2 $3</format>
17321 <numberFormat pattern="(6)(\d{8})">
17322 <leadingDigits>6[0-57-9]</leadingDigits>
17323 <format>$1 $2</format>
17325 <numberFormat pattern="(66)(\d{7})">
17326 <leadingDigits>66</leadingDigits>
17327 <format>$1 $2</format>
17329 <numberFormat pattern="(14)(\d{3,4})" nationalPrefixFormattingRule="$FG">
17330 <leadingDigits>14</leadingDigits>
17331 <format>$1 $2</format>
17333 <numberFormat pattern="([89]0\d)(\d{4,7})">
17338 <format>$1 $2</format>
17340 </availableFormats>
17342 <nationalNumberPattern>
17346 </nationalNumberPattern>
17347 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
17349 <noInternationalDialling>
17350 <nationalNumberPattern>14\d{3,4}</nationalNumberPattern>
17351 <possibleNumberPattern>\d{5,6}</possibleNumberPattern>
17352 </noInternationalDialling>
17354 <nationalNumberPattern>
17363 </nationalNumberPattern>
17364 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17365 <exampleNumber>101234567</exampleNumber>
17368 <nationalNumberPattern>6[1-58]\d{7}</nationalNumberPattern>
17369 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17370 <exampleNumber>612345678</exampleNumber>
17373 <nationalNumberPattern>66\d{7}</nationalNumberPattern>
17374 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17375 <exampleNumber>662345678</exampleNumber>
17378 <nationalNumberPattern>800\d{4,7}</nationalNumberPattern>
17379 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
17380 <exampleNumber>8001234</exampleNumber>
17383 <nationalNumberPattern>90[069]\d{4,7}</nationalNumberPattern>
17384 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
17385 <exampleNumber>9061234</exampleNumber>
17388 <nationalNumberPattern>85\d{7}</nationalNumberPattern>
17389 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17390 <exampleNumber>851234567</exampleNumber>
17393 <!-- These numbers are used for local government. They are formed by the appending the local
17394 dialling code (including the national prefix 0) after the leading digits "14". -->
17395 <nationalNumberPattern>
17420 </nationalNumberPattern>
17421 <possibleNumberPattern>\d{5,6}</possibleNumberPattern>
17422 <exampleNumber>14020</exampleNumber>
17427 <!-- Metadata (excluding fixed-line) shared with Svalbard. -->
17428 <territory id="NO" countryCode="47" internationalPrefix="00" leadingZeroPossible="true"
17429 mainCountryForCode="true" mobileNumberPortableRegion="true">
17431 <sourceUrl>http://www.npt.no/npt/numsys/E.164.pdf</sourceUrl>
17434 <numberFormat pattern="([489]\d{2})(\d{2})(\d{3})">
17435 <leadingDigits>[489]</leadingDigits>
17436 <format>$1 $2 $3</format>
17438 <numberFormat pattern="([235-7]\d)(\d{2})(\d{2})(\d{2})">
17439 <leadingDigits>[235-7]</leadingDigits>
17440 <format>$1 $2 $3 $4</format>
17442 </availableFormats>
17444 <nationalNumberPattern>
17447 </nationalNumberPattern>
17448 <possibleNumberPattern>\d{5}(?:\d{3})?</possibleNumberPattern>
17451 <!-- Excludes Svalbard fixed-line numbers. -->
17452 <nationalNumberPattern>
17460 </nationalNumberPattern>
17461 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17462 <exampleNumber>21234567</exampleNumber>
17465 <nationalNumberPattern>
17471 </nationalNumberPattern>
17472 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17473 <exampleNumber>40612345</exampleNumber>
17476 <nationalNumberPattern>80[01]\d{5}</nationalNumberPattern>
17477 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17478 <exampleNumber>80012345</exampleNumber>
17481 <nationalNumberPattern>82[09]\d{5}</nationalNumberPattern>
17482 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17483 <exampleNumber>82012345</exampleNumber>
17486 <nationalNumberPattern>
17491 </nationalNumberPattern>
17492 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17493 <exampleNumber>81021234</exampleNumber>
17496 <nationalNumberPattern>880\d{5}</nationalNumberPattern>
17497 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17498 <exampleNumber>88012345</exampleNumber>
17501 <nationalNumberPattern>85[0-5]\d{5}</nationalNumberPattern>
17502 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17503 <exampleNumber>85012345</exampleNumber>
17506 <!-- Includes some 810 local-rate numbers, and long-distance rate numbers. -->
17507 <nationalNumberPattern>
17516 </nationalNumberPattern>
17517 <exampleNumber>01234</exampleNumber>
17520 <nationalNumberPattern>81[23]\d{5}</nationalNumberPattern>
17521 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17522 <exampleNumber>81212345</exampleNumber>
17527 <territory id="NP" countryCode="977" internationalPrefix="00"
17528 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
17530 <sourceUrl>http://www.itu.int/oth/T0202000095/en</sourceUrl>
17531 <sourceUrl>http://www.ntc.net.np/mobile/mob_postpaid_number_scheme.php</sourceUrl>
17532 <sourceUrl>http://www.nta.gov.np/en/2012-06-01-11-45-17/2012-06-04-04-26-59/numbering-plan</sourceUrl>
17535 <!-- Formatting patterns taken from pages like http://www.nepalgov.gov.np -->
17536 <numberFormat pattern="(1)(\d{7})">
17537 <leadingDigits>1[2-6]</leadingDigits>
17538 <format>$1-$2</format>
17540 <numberFormat pattern="(\d{2})(\d{6})">
17549 <format>$1-$2</format>
17551 <numberFormat pattern="(9\d{2})(\d{7})">
17559 <format>$1-$2</format>
17561 </availableFormats>
17563 <!-- This is complex, in order to try and distinguish between numbers that start with 97 and
17564 numbers that have the country code prefixed. -->
17565 <nationalNumberPattern>
17572 </nationalNumberPattern>
17573 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
17575 <!-- We don't support Rural Telecommunication Service at the moment since
17576 we are not sure what type it is. -->
17578 <nationalNumberPattern>
17590 </nationalNumberPattern>
17591 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
17592 <exampleNumber>14567890</exampleNumber>
17595 <nationalNumberPattern>
17601 </nationalNumberPattern>
17602 <possibleNumberPattern>\d{10}</possibleNumberPattern>
17603 <exampleNumber>9841234567</exampleNumber>
17605 <!-- No information on other types of phone numbers for Nepal has been found. -->
17609 <territory id="NR" countryCode="674" internationalPrefix="00">
17611 <sourceUrl>http://www.itu.int/oth/T0202000094/en</sourceUrl>
17612 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Nauru</sourceUrl>
17615 <numberFormat pattern="(\d{3})(\d{4})">
17616 <format>$1 $2</format>
17618 </availableFormats>
17620 <nationalNumberPattern>[458]\d{6}</nationalNumberPattern>
17621 <possibleNumberPattern>\d{7}</possibleNumberPattern>
17624 <nationalNumberPattern>
17629 </nationalNumberPattern>
17630 <exampleNumber>4441234</exampleNumber>
17633 <nationalNumberPattern>55[5-9]\d{4}</nationalNumberPattern>
17634 <exampleNumber>5551234</exampleNumber>
17639 <territory id="NU" countryCode="683" internationalPrefix="00">
17641 <sourceUrl>http://www.itu.int/oth/T02020000EC/en</sourceUrl>
17642 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Niue</sourceUrl>
17644 <!-- Numbers are always formatted as a block. -->
17646 <nationalNumberPattern>[1-5]\d{3}</nationalNumberPattern>
17647 <possibleNumberPattern>\d{4}</possibleNumberPattern>
17650 <!-- Putting FWT (fixed-wireless-terminals) numbers here too. -->
17651 <nationalNumberPattern>[34]\d{3}</nationalNumberPattern>
17652 <exampleNumber>4002</exampleNumber>
17655 <nationalNumberPattern>[125]\d{3}</nationalNumberPattern>
17656 <exampleNumber>1234</exampleNumber>
17660 <!-- New Zealand -->
17661 <!-- Includes Ross Dependency, Antarctica -->
17662 <!-- Does not currently support 083 "Enhanced voice services", New Zealand direct service
17663 numbers and 050 "Nation-Wide Service". -->
17664 <territory id="NZ" countryCode="64" internationalPrefix="0(?:0|161)"
17665 preferredInternationalPrefix="00" nationalPrefix="0"
17666 nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
17668 <sourceUrl>http://www.itu.int/oth/T0202000099/en</sourceUrl>
17671 <!-- Pattern for fixed-line formats. -->
17672 <numberFormat pattern="([34679])(\d{3})(\d{4})">
17678 <format>$1-$2 $3</format>
17680 <!-- Area code for NZ's Scott Base, in Antarctica. -->
17681 <numberFormat pattern="(24099)(\d{3})">
17682 <leadingDigits>240</leadingDigits>
17683 <leadingDigits>2409</leadingDigits>
17684 <leadingDigits>24099</leadingDigits>
17685 <format>$1 $2</format>
17687 <!-- Mobile numbers do not have exclusive leading digits - formatting depends on number
17689 <!-- Vodafone numbers can be 8 digits (without leading 0). -->
17690 <numberFormat pattern="(\d{2})(\d{3})(\d{3})">
17691 <leadingDigits>21</leadingDigits>
17692 <format>$1 $2 $3</format>
17694 <!-- Paging numbers and some mobile numbers (Telecom/Vodafone/TelstraClear). -->
17695 <numberFormat pattern="(\d{2})(\d{3})(\d{3,5})">
17705 <format>$1 $2 $3</format>
17707 <!-- 2Degrees numbers are formatted with 022 separated, since this seems to be more common
17708 than writing the first group as 022X based on Google web searches, and is used by
17709 2Degrees themselves. See formatting on http://www.2degreesmobile.co.nz for an example
17710 of the latter. We follow the same pattern for 020 (Orcon) and 028 (mixed) numbers. -->
17711 <numberFormat pattern="(2\d)(\d{3,4})(\d{4})">
17712 <leadingDigits>2[028]</leadingDigits>
17713 <format>$1 $2 $3</format>
17715 <numberFormat pattern="(\d{3})(\d{3})(\d{3,4})">
17716 <!-- 0274, 0210 and toll-free/premium-rate prefixes 0508/0800/0900. -->
17725 <format>$1 $2 $3</format>
17727 </availableFormats>
17729 <nationalNumberPattern>
17732 </nationalNumberPattern>
17733 <possibleNumberPattern>\d{7,11}</possibleNumberPattern>
17736 <nationalNumberPattern>
17744 </nationalNumberPattern>
17745 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
17746 <exampleNumber>32345678</exampleNumber>
17749 <!-- Includes mobile radio service numbers (e.g. TeamTalk). The lengths of numbers with
17750 prefix 21 are different from what's specified in the ITU doc, because of numbers found
17752 <nationalNumberPattern>
17762 </nationalNumberPattern>
17763 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
17764 <exampleNumber>211234567</exampleNumber>
17767 <nationalNumberPattern>[28]6\d{6,7}</nationalNumberPattern>
17768 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
17769 <exampleNumber>26123456</exampleNumber>
17771 <!-- These are the toll free patterns used, by Telecom and Telstra/Clear, but they are
17772 referred to as 'Value-added service' in the phone plan for some reason. 85 numbers are
17773 not covered, as telecom companies don't seem to support them yet. -->
17775 <nationalNumberPattern>
17778 </nationalNumberPattern>
17779 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
17780 <exampleNumber>800123456</exampleNumber>
17783 <nationalNumberPattern>90\d{7,9}</nationalNumberPattern>
17784 <possibleNumberPattern>\d{9,11}</possibleNumberPattern>
17785 <exampleNumber>900123456</exampleNumber>
17788 <nationalNumberPattern>70\d{7}</nationalNumberPattern>
17789 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17790 <exampleNumber>701234567</exampleNumber>
17795 <territory id="OM" countryCode="968" internationalPrefix="00" mobileNumberPortableRegion="true">
17797 <sourceUrl>http://www.itu.int/oth/T020200009F/en</sourceUrl>
17800 <numberFormat pattern="(2\d)(\d{6})">
17801 <leadingDigits>2</leadingDigits>
17802 <format>$1 $2</format>
17804 <numberFormat pattern="(9\d{3})(\d{4})">
17805 <leadingDigits>9</leadingDigits>
17806 <format>$1 $2</format>
17808 <numberFormat pattern="([58]00)(\d{4,6})">
17809 <leadingDigits>[58]</leadingDigits>
17810 <format>$1 $2</format>
17812 </availableFormats>
17814 <nationalNumberPattern>
17821 </nationalNumberPattern>
17822 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
17825 <nationalNumberPattern>2[2-6]\d{6}</nationalNumberPattern>
17826 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17827 <exampleNumber>23123456</exampleNumber>
17830 <nationalNumberPattern>9[1-9]\d{6}</nationalNumberPattern>
17831 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17832 <exampleNumber>92123456</exampleNumber>
17835 <!-- Link to document about toll-free numbers on http://www.tra.gov.om, which suggests they
17836 should be 8007 followed by 4 digits. However, the only examples I can find, including
17837 the customer help line for the main telephony company there (omantel), is 8007 followed
17838 by 5 digits, so am allowing both for now to be on the safe side. 500 numbers seem to
17839 offer international toll-free dialing numbers - +968 500 1300 for international help
17840 desk for omantel, for example. -->
17841 <nationalNumberPattern>
17844 </nationalNumberPattern>
17845 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
17846 <exampleNumber>80071234</exampleNumber>
17848 <!-- No premiumRate information can be found. -->
17852 <territory id="PA" countryCode="507" internationalPrefix="00" mobileNumberPortableRegion="true">
17854 <!-- Last read July 9, 2014. -->
17855 <sourceUrl>http://www.asep.gob.pa/telecom/pnn/default.asp</sourceUrl>
17856 <!-- Omits the fact that mobile phones are 8 digits long. -->
17857 <sourceUrl>http://en.wikipedia.org/wiki/%2B507</sourceUrl>
17860 <numberFormat pattern="(\d{3})(\d{4})">
17861 <leadingDigits>[1-57-9]</leadingDigits>
17862 <format>$1-$2</format>
17864 <numberFormat pattern="(\d{4})(\d{4})">
17865 <leadingDigits>6</leadingDigits>
17866 <format>$1-$2</format>
17868 </availableFormats>
17870 <nationalNumberPattern>[1-9]\d{6,7}</nationalNumberPattern>
17871 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
17873 <!-- Note that numbers starting with 101, 106, 131, 151, 156 and 168 have not been assigned to
17874 any rule below since we are not sure what the "servicios 102/103" refer to here. -->
17876 <!-- Note that "servicios 101/104" in the plan refer to "Local Basic Communications Service"
17877 and "Public and Semipublic Terminal Service", represented here as fixed-line. -->
17878 <!-- The range 194-XXXX has been added since a number was found online with this prefix and
17879 proved to be diallable. -->
17880 <nationalNumberPattern>
17949 </nationalNumberPattern>
17950 <possibleNumberPattern>\d{7}</possibleNumberPattern>
17951 <exampleNumber>2001234</exampleNumber>
17954 <!-- Note that "servicios 106/107" in the plan refer to mobile services. We also include
17955 service "210", "Servicio de Busca Personas". -->
17956 <nationalNumberPattern>
17970 </nationalNumberPattern>
17971 <exampleNumber>60012345</exampleNumber>
17974 <nationalNumberPattern>80[09]\d{4}</nationalNumberPattern>
17975 <possibleNumberPattern>\d{7}</possibleNumberPattern>
17976 <exampleNumber>8001234</exampleNumber>
17979 <!-- Value-added services are represented as "400" in the plan. -->
17980 <nationalNumberPattern>
17996 </nationalNumberPattern>
17997 <possibleNumberPattern>\d{7}</possibleNumberPattern>
17998 <exampleNumber>8601234</exampleNumber>
18003 <territory id="PE" countryCode="51" internationalPrefix="19(?:1[124]|77|90)00"
18004 nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)"
18005 preferredExtnPrefix=" Anexo " mobileNumberPortableRegion="true">
18007 <sourceUrl>http://www.itu.int/oth/T02020000A6/en</sourceUrl>
18008 <sourceUrl>http://en.wikipedia.org/wiki/+51</sourceUrl>
18009 <sourceUrl>http://www.assistbook.com/South%20America/Peru/widecodes</sourceUrl>
18012 <numberFormat pattern="(1)(\d{7})">
18013 <leadingDigits>1</leadingDigits>
18014 <format>$1 $2</format>
18016 <numberFormat pattern="([4-8]\d)(\d{6})">
18021 <format>$1 $2</format>
18023 <numberFormat pattern="(\d{3})(\d{5})">
18024 <leadingDigits>80</leadingDigits>
18025 <format>$1 $2</format>
18027 <!-- Formatting from common usage found on the internet, supported by ITU doc. -->
18028 <numberFormat pattern="(9\d{2})(\d{3})(\d{3})"
18029 nationalPrefixFormattingRule="$FG">
18030 <leadingDigits>9</leadingDigits>
18031 <format>$1 $2 $3</format>
18033 </availableFormats>
18035 <nationalNumberPattern>[14-9]\d{7,8}</nationalNumberPattern>
18036 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
18039 <nationalNumberPattern>
18048 </nationalNumberPattern>
18049 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
18050 <exampleNumber>11234567</exampleNumber>
18053 <nationalNumberPattern>9\d{8}</nationalNumberPattern>
18054 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18055 <exampleNumber>912345678</exampleNumber>
18058 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
18059 <possibleNumberPattern>\d{8}</possibleNumberPattern>
18060 <exampleNumber>80012345</exampleNumber>
18063 <nationalNumberPattern>805\d{5}</nationalNumberPattern>
18064 <possibleNumberPattern>\d{8}</possibleNumberPattern>
18065 <exampleNumber>80512345</exampleNumber>
18068 <nationalNumberPattern>801\d{5}</nationalNumberPattern>
18069 <possibleNumberPattern>\d{8}</possibleNumberPattern>
18070 <exampleNumber>80112345</exampleNumber>
18073 <nationalNumberPattern>80[24]\d{5}</nationalNumberPattern>
18074 <possibleNumberPattern>\d{8}</possibleNumberPattern>
18075 <exampleNumber>80212345</exampleNumber>
18079 <!-- French Polynesia (Tahiti) (Territoire français d'outre-mer) -->
18080 <territory id="PF" countryCode="689" internationalPrefix="00">
18082 <sourceUrl>http://www.itu.int/oth/T020200004D/en</sourceUrl>
18085 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
18090 <format>$1 $2 $3 $4</format>
18092 <numberFormat pattern="(\d{2})(\d{2})(\d{2})">
18093 <leadingDigits>44</leadingDigits>
18094 <format>$1 $2 $3</format>
18096 </availableFormats>
18098 <nationalNumberPattern>
18101 </nationalNumberPattern>
18102 <possibleNumberPattern>\d{6}(?:\d{2})?</possibleNumberPattern>
18104 <noInternationalDialling>
18105 <nationalNumberPattern>44\d{4}</nationalNumberPattern>
18106 <possibleNumberPattern>\d{6}</possibleNumberPattern>
18107 <exampleNumber>441234</exampleNumber>
18108 </noInternationalDialling>
18110 <!-- Includes payphone prefixes. -->
18111 <nationalNumberPattern>
18116 </nationalNumberPattern>
18117 <exampleNumber>40412345</exampleNumber>
18120 <nationalNumberPattern>8[79]\d{6}</nationalNumberPattern>
18121 <possibleNumberPattern>\d{8}</possibleNumberPattern>
18122 <exampleNumber>87123456</exampleNumber>
18126 <!-- Papua New Guinea -->
18127 <territory id="PG" countryCode="675" internationalPrefix="00">
18129 <sourceUrl>http://www.itu.int/oth/T02020000A4/en</sourceUrl>
18130 <sourceUrl>http://en.wikipedia.org/wiki/%2B675</sourceUrl>
18133 <numberFormat pattern="(\d{3})(\d{4})">
18138 <format>$1 $2</format>
18140 <numberFormat pattern="(\d{4})(\d{4})">
18145 <format>$1 $2</format>
18147 </availableFormats>
18149 <nationalNumberPattern>[1-9]\d{6,7}</nationalNumberPattern>
18150 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
18153 <nationalNumberPattern>
18166 </nationalNumberPattern>
18167 <possibleNumberPattern>\d{7}</possibleNumberPattern>
18168 <exampleNumber>3123456</exampleNumber>
18171 <!-- Mobile number patterns from the numbering plan are included here, as well as 68X from
18173 As per ITU doc, prefix 20150 will expire at the end of 2015. -->
18174 <nationalNumberPattern>
18183 </nationalNumberPattern>
18184 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
18185 <exampleNumber>6812345</exampleNumber>
18188 <nationalNumberPattern>180\d{4}</nationalNumberPattern>
18189 <possibleNumberPattern>\d{7}</possibleNumberPattern>
18190 <exampleNumber>1801234</exampleNumber>
18193 <!-- VSAT prefixes are here. -->
18194 <nationalNumberPattern>275\d{4}</nationalNumberPattern>
18195 <possibleNumberPattern>\d{7}</possibleNumberPattern>
18196 <exampleNumber>2751234</exampleNumber>
18200 <!-- Philippines -->
18201 <territory id="PH" countryCode="63" internationalPrefix="00" nationalPrefix="0">
18203 <sourceUrl>http://en.wikipedia.org/wiki/%2B63</sourceUrl>
18206 <!-- Area code separated from number. Area codes found here:
18207 http://en.wikipedia.org/wiki/Telecommunications_in_the_Philippines#Area_Codes -->
18208 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
18209 pattern="(2)(\d{3})(\d{4})">
18210 <leadingDigits>2</leadingDigits>
18211 <format>$1 $2 $3</format>
18213 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
18214 pattern="(2)(\d{5})">
18215 <leadingDigits>2</leadingDigits>
18216 <format>$1 $2</format>
18218 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
18219 pattern="(\d{4})(\d{4,6})">
18275 <format>$1 $2</format>
18277 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
18278 pattern="(\d{5})(\d{4})">
18298 <format>$1 $2</format>
18300 <!-- This rule is a fallback for the more specific area codes. -->
18301 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
18302 pattern="([3-8]\d)(\d{3})(\d{4})">
18303 <leadingDigits>[3-8]</leadingDigits>
18304 <format>$1 $2 $3</format>
18306 <numberFormat nationalPrefixFormattingRule="$NP$FG"
18307 pattern="(\d{3})(\d{3})(\d{4})">
18312 <format>$1 $2 $3</format>
18314 <!-- Formatting from http://www.uniontelecard.com/calling-guides/philippines/guide1.aspx -->
18315 <numberFormat pattern="(1800)(\d{3})(\d{4})">
18316 <leadingDigits>1</leadingDigits>
18317 <format>$1 $2 $3</format>
18319 <numberFormat pattern="(1800)(\d{1,2})(\d{3})(\d{4})">
18320 <leadingDigits>1</leadingDigits>
18321 <format>$1 $2 $3 $4</format>
18323 </availableFormats>
18325 <nationalNumberPattern>
18329 </nationalNumberPattern>
18330 <possibleNumberPattern>\d{5,13}</possibleNumberPattern>
18333 <!-- Evidence on number length is hard to come by. We have found diallable numbers in Manila
18334 that have only 5 digits after the area code; plus it seems the 8822 area code is
18335 followed by 6 digits, and 8842 by only 4. -->
18336 <nationalNumberPattern>
18350 </nationalNumberPattern>
18351 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
18352 <exampleNumber>21234567</exampleNumber>
18355 <nationalNumberPattern>
18369 </nationalNumberPattern>
18370 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18371 <exampleNumber>9051234567</exampleNumber>
18373 <!-- Information on toll-free numbers collected from searching the internet -->
18375 <nationalNumberPattern>1800\d{7,9}</nationalNumberPattern>
18376 <possibleNumberPattern>\d{11,13}</possibleNumberPattern>
18377 <exampleNumber>180012345678</exampleNumber>
18379 <!-- No information can be found about other types of numbers (such as premium rate) in the
18384 <territory id="PK" countryCode="92" internationalPrefix="00"
18385 nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)"
18386 mobileNumberPortableRegion="true">
18388 <sourceUrl>http://www.itu.int/oth/T02020000A1/en</sourceUrl>
18389 <sourceUrl>http://en.wikipedia.org/wiki/%2B92</sourceUrl>
18392 <!-- Universal Access Numbers (UAN) number format patterns first, so that these numbers are
18393 formatted nicely by the AYTF. -->
18394 <numberFormat pattern="(\d{2})(111)(\d{3})(\d{3})">
18428 <format>$1 $2 $3 $4</format>
18430 <numberFormat pattern="(\d{3})(111)(\d{3})(\d{3})">
18473 <format>$1 $2 $3 $4</format>
18475 <numberFormat pattern="(\d{2})(\d{7,8})">
18487 <format>$1 $2</format>
18489 <numberFormat pattern="(\d{3})(\d{6,7})">
18510 <format>$1 $2</format>
18512 <numberFormat pattern="(3\d{2})(\d{7})" nationalPrefixFormattingRule="$NP$FG">
18513 <leadingDigits>3</leadingDigits>
18514 <format>$1 $2</format>
18516 <numberFormat pattern="([15]\d{3})(\d{5,6})">
18521 <format>$1 $2</format>
18523 <!-- This is from online examples. -->
18524 <numberFormat pattern="(586\d{2})(\d{5})">
18525 <leadingDigits>586</leadingDigits>
18526 <format>$1 $2</format>
18528 <numberFormat pattern="([89]00)(\d{3})(\d{2})" nationalPrefixFormattingRule="$NP$FG">
18529 <leadingDigits>[89]00</leadingDigits>
18530 <format>$1 $2 $3</format>
18532 </availableFormats>
18534 <!-- This is horribly complex because the country code is 92, and several area codes start
18535 with 92, and the number length is widely variable. -->
18536 <nationalNumberPattern>
18546 </nationalNumberPattern>
18547 <possibleNumberPattern>\d{6,12}</possibleNumberPattern>
18550 <!-- The subscriber number length is not well defined for some area codes. From online
18551 examples, we have come up with a heuristic that for 3-digit area codes, the subscriber
18552 number will be 6 or 7 digits - for 2-digit area codes it will be 7, with the exceptions
18553 of Karachi and Lahore (both 8). -->
18554 <nationalNumberPattern>
18594 </nationalNumberPattern>
18595 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
18596 <exampleNumber>2123456789</exampleNumber>
18599 <!-- Adding 311, 325 and 320 as SMSs have been successfully sent to these numbers and numbers
18600 can be found online with these prefixes. Added 310 based on information from Zong, and
18601 316 based on information found online. -->
18602 <nationalNumberPattern>
18611 </nationalNumberPattern>
18612 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18613 <exampleNumber>3012345678</exampleNumber>
18616 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
18617 <possibleNumberPattern>\d{8}</possibleNumberPattern>
18618 <exampleNumber>80012345</exampleNumber>
18621 <nationalNumberPattern>900\d{5}</nationalNumberPattern>
18622 <possibleNumberPattern>\d{8}</possibleNumberPattern>
18623 <exampleNumber>90012345</exampleNumber>
18625 <!-- These are referred to as UPT numbers in the plan. -->
18627 <nationalNumberPattern>122\d{6}</nationalNumberPattern>
18628 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18629 <!-- The example number here is the test number from the plan. -->
18630 <exampleNumber>122044444</exampleNumber>
18633 <!-- Data on what a UAN is is hard to come by. http://www.ptcl.com.pk has information under
18634 http://www.ptcl.com.pk/contentb.php?NID=143#uan - which defines their format - but not
18635 what type of number they are. We exclude Azad Jammu, Kashmir and Northern Areas here
18636 since no online example UANs can be found, and they have an "access code" at the start,
18637 making it difficult to guess what a UAN in these areas would look like. -->
18638 <nationalNumberPattern>
18678 </nationalNumberPattern>
18679 <possibleNumberPattern>\d{11,12}</possibleNumberPattern>
18680 <exampleNumber>21111825888</exampleNumber>
18685 <territory id="PL" countryCode="48" internationalPrefix="00" mobileNumberPortableRegion="true">
18687 <sourceUrl>http://en.wikipedia.org/wiki/%2B48</sourceUrl>
18688 <sourceUrl>http://www.itu.int/oth/T02020000A8/en</sourceUrl>
18689 <!-- Source is in Polish. -->
18690 <sourceUrl>http://www.uke.gov.pl/uke/index.jsp?place=Lead24&news_cat_id=277&news_id=3791&layout=9&page=text</sourceUrl>
18693 <numberFormat pattern="(\d{2})(\d{3})(\d{2})(\d{2})">
18703 <format>$1 $2 $3 $4</format>
18705 <numberFormat pattern="(\d{2})(\d{1})(\d{4})">
18706 <leadingDigits>[12]2</leadingDigits>
18707 <format>$1 $2 $3</format>
18709 <!-- We are formatting 70 numbers as per mobile numbers, based on information from some
18710 Poles that this is more usual. -->
18711 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
18719 <format>$1 $2 $3</format>
18721 <!-- Additional patterns for shorter pager numbers. -->
18722 <numberFormat pattern="(\d{3})(\d{2})(\d{2,3})">
18723 <leadingDigits>64</leadingDigits>
18724 <format>$1 $2 $3</format>
18726 <numberFormat pattern="(\d{3})(\d{3})">
18727 <leadingDigits>64</leadingDigits>
18728 <format>$1 $2</format>
18730 </availableFormats>
18732 <nationalNumberPattern>
18736 </nationalNumberPattern>
18737 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
18740 <!-- The plan says all geographical numbers are 9 digits; but in at least Warsaw (22) and
18741 Krakow (12) we have found internationally diallable numbers that are 7 digits instead,
18742 so we support those too. -->
18743 <nationalNumberPattern>
18756 </nationalNumberPattern>
18757 <exampleNumber>123456789</exampleNumber>
18760 <nationalNumberPattern>
18767 </nationalNumberPattern>
18768 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18769 <exampleNumber>512345678</exampleNumber>
18772 <nationalNumberPattern>64\d{4,7}</nationalNumberPattern>
18773 <exampleNumber>641234567</exampleNumber>
18776 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
18777 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18778 <exampleNumber>800123456</exampleNumber>
18781 <nationalNumberPattern>70\d{7}</nationalNumberPattern>
18782 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18783 <exampleNumber>701234567</exampleNumber>
18786 <nationalNumberPattern>801\d{6}</nationalNumberPattern>
18787 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18788 <exampleNumber>801234567</exampleNumber>
18791 <nationalNumberPattern>39\d{7}</nationalNumberPattern>
18792 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18793 <exampleNumber>391234567</exampleNumber>
18797 <!-- Saint Pierre and Miquelon (Collectivité territoriale de la République française) -->
18798 <territory id="PM" countryCode="508" internationalPrefix="00"
18799 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
18801 <sourceUrl>http://www.itu.int/oth/T02020000B2/en</sourceUrl>
18804 <numberFormat pattern="([45]\d)(\d{2})(\d{2})">
18805 <format>$1 $2 $3</format>
18807 </availableFormats>
18809 <nationalNumberPattern>[45]\d{5}</nationalNumberPattern>
18810 <possibleNumberPattern>\d{6}</possibleNumberPattern>
18813 <nationalNumberPattern>41\d{4} </nationalNumberPattern>
18814 <exampleNumber>411234</exampleNumber>
18817 <nationalNumberPattern>55\d{4} </nationalNumberPattern>
18818 <exampleNumber>551234</exampleNumber>
18822 <!-- Pitcairn Island -->
18824 <!-- This island is not supported since evidence seems to be that the 50 inhabitants use
18825 satellite phones. -->
18827 <!-- Puerto Rico -->
18828 <territory id="PR" countryCode="1" leadingDigits="787|939" nationalPrefix="1"
18829 internationalPrefix="011">
18831 <sourceUrl>http://www.itu.int/oth/T02020000AA/en</sourceUrl>
18834 <!-- NANPA country - uses US formatting rules -->
18835 <nationalNumberPattern>[5789]\d{9}</nationalNumberPattern>
18836 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
18839 <nationalNumberPattern>
18844 </nationalNumberPattern>
18845 <exampleNumber>7872345678</exampleNumber>
18848 <nationalNumberPattern>
18853 </nationalNumberPattern>
18854 <exampleNumber>7872345678</exampleNumber>
18857 <nationalNumberPattern>
18866 </nationalNumberPattern>
18867 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18868 <exampleNumber>8002345678</exampleNumber>
18871 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
18872 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18873 <exampleNumber>9002345678</exampleNumber>
18876 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
18877 <nationalNumberPattern>
18885 </nationalNumberPattern>
18886 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18887 <exampleNumber>5002345678</exampleNumber>
18891 <!-- Palestinian Authority -->
18892 <!-- Palestinian phone numbers can be reached through the Israeli country code (972) in addition
18893 to the Palestinian country code (970) and so Palestinian landlines and mobile lines are a
18894 subset of the Israeli formats. -->
18895 <territory id="PS" countryCode="970" internationalPrefix="00"
18896 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
18898 <sourceUrl>http://en.wikipedia.org/wiki/%2B970</sourceUrl>
18899 <sourceUrl>http://www.wtng.info/wtng-970-ps.html</sourceUrl>
18900 <sourceUrl>http://www.paltel.ps</sourceUrl>
18903 <numberFormat pattern="([2489])(2\d{2})(\d{4})">
18904 <leadingDigits>[2489]</leadingDigits>
18905 <format>$1 $2 $3</format>
18907 <numberFormat pattern="(5[69]\d)(\d{3})(\d{3})">
18908 <leadingDigits>5</leadingDigits>
18909 <format>$1 $2 $3</format>
18911 <numberFormat nationalPrefixFormattingRule="$FG"
18912 pattern="(1[78]00)(\d{3})(\d{3})">
18913 <leadingDigits>1[78]</leadingDigits>
18914 <format>$1 $2 $3</format>
18916 <!-- 4 and 5 digit premium numbers will be formatted as one block by default. -->
18917 </availableFormats>
18919 <nationalNumberPattern>
18925 </nationalNumberPattern>
18926 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
18929 <nationalNumberPattern>
18936 </nationalNumberPattern>
18937 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
18938 <exampleNumber>22234567</exampleNumber>
18941 <nationalNumberPattern>5[69]\d{7}</nationalNumberPattern>
18942 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18943 <exampleNumber>599123456</exampleNumber>
18946 <nationalNumberPattern>1800\d{6}</nationalNumberPattern>
18947 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18948 <exampleNumber>1800123456</exampleNumber>
18951 <!-- According to Paltel, premium numbers are 14xx and 19xxx -->
18952 <nationalNumberPattern>
18957 </nationalNumberPattern>
18958 <possibleNumberPattern>\d{4,5}</possibleNumberPattern>
18959 <exampleNumber>19123</exampleNumber>
18962 <nationalNumberPattern>1700\d{6}</nationalNumberPattern>
18963 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18964 <exampleNumber>1700123456</exampleNumber>
18969 <territory id="PT" countryCode="351" internationalPrefix="00" mobileNumberPortableRegion="true">
18971 <sourceUrl>http://www.anacom.pt/render.jsp?categoryId=279098</sourceUrl>
18974 <!-- Note: the wikipedia page suggests that mobile numbers may also be formatted with only
18975 two digits in the first group; however, this doesn't seem to be majority usage based on
18976 searches online. -->
18977 <numberFormat pattern="(2\d)(\d{3})(\d{4})">
18978 <leadingDigits>2[12]</leadingDigits>
18979 <format>$1 $2 $3</format>
18981 <numberFormat pattern="([2-46-9]\d{2})(\d{3})(\d{3})">
18986 <format>$1 $2 $3</format>
18988 </availableFormats>
18990 <nationalNumberPattern>[2-46-9]\d{8}</nationalNumberPattern>
18991 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18994 <nationalNumberPattern>
19004 </nationalNumberPattern>
19005 <exampleNumber>212345678</exampleNumber>
19008 <nationalNumberPattern>
19014 </nationalNumberPattern>
19015 <exampleNumber>912345678</exampleNumber>
19018 <nationalNumberPattern>80[02]\d{6}</nationalNumberPattern>
19019 <exampleNumber>800123456</exampleNumber>
19022 <!-- Fixed maximum cost numbers: 761=0.60€, 761=1€, 762=2€. -->
19023 <nationalNumberPattern>
19029 </nationalNumberPattern>
19030 <exampleNumber>760123456</exampleNumber>
19033 <!-- 808 are priced as local calls, 809 are national calls. -->
19034 <nationalNumberPattern>
19039 </nationalNumberPattern>
19040 <exampleNumber>808123456</exampleNumber>
19043 <nationalNumberPattern>884[128]\d{5}</nationalNumberPattern>
19044 <exampleNumber>884123456</exampleNumber>
19047 <nationalNumberPattern>30\d{7}</nationalNumberPattern>
19048 <exampleNumber>301234567</exampleNumber>
19051 <nationalNumberPattern>
19056 </nationalNumberPattern>
19057 <exampleNumber>707123456</exampleNumber>
19062 <territory id="PW" countryCode="680" internationalPrefix="01[12]">
19064 <sourceUrl>http://www.itu.int/oth/T02020000A2/en</sourceUrl>
19067 <numberFormat pattern="(\d{3})(\d{4})">
19068 <format>$1 $2</format>
19070 </availableFormats>
19072 <nationalNumberPattern>[2-8]\d{6}</nationalNumberPattern>
19073 <possibleNumberPattern>\d{7}</possibleNumberPattern>
19076 <nationalNumberPattern>
19102 </nationalNumberPattern>
19103 <exampleNumber>2771234</exampleNumber>
19106 <nationalNumberPattern>
19111 </nationalNumberPattern>
19112 <exampleNumber>6201234</exampleNumber>
19117 <territory id="PY" countryCode="595" internationalPrefix="00" nationalPrefix="0"
19118 mobileNumberPortableRegion="true">
19120 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Paraguay</sourceUrl>
19121 <sourceUrl>http://www.itu.int/oth/T02020000A5/en</sourceUrl>
19122 <sourceUrl>http://www.copaco.com.py/portal/index.php/component/content/article/8-empresa/74-codigos-de-area.html</sourceUrl>
19125 <!-- CONATEL plan. -->
19126 <numberFormat pattern="(\d{2})(\d{5,7})" nationalPrefixFormattingRule="($FG)">
19136 <format>$1 $2</format>
19138 <numberFormat pattern="(\d{3})(\d{3,6})" nationalPrefixFormattingRule="$NP$FG">
19139 <leadingDigits>[2-9]0</leadingDigits>
19140 <format>$1 $2</format>
19142 <numberFormat pattern="(\d{3})(\d{6})" nationalPrefixFormattingRule="$NP$FG">
19143 <leadingDigits>9[1-9]</leadingDigits>
19144 <format>$1 $2</format>
19146 <!-- Format seen in examples found online. -->
19147 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
19148 <leadingDigits>8700</leadingDigits>
19149 <format>$1 $2 $3</format>
19151 <!-- "Fall-back" rule for the rest of the fixed-line numbers that have 3-digit area codes.
19153 <numberFormat pattern="(\d{3})(\d{4,6})" nationalPrefixFormattingRule="($FG)">
19154 <leadingDigits>[2-8][1-9]</leadingDigits>
19155 <format>$1 $2</format>
19157 </availableFormats>
19159 <nationalNumberPattern>
19162 </nationalNumberPattern>
19163 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
19166 <nationalNumberPattern>
19213 </nationalNumberPattern>
19214 <exampleNumber>212345678</exampleNumber>
19217 <!-- 962 was added for Tigo. -->
19218 <nationalNumberPattern>
19224 </nationalNumberPattern>
19225 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19226 <exampleNumber>961456789</exampleNumber>
19229 <nationalNumberPattern>8700[0-4]\d{4}</nationalNumberPattern>
19230 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19231 <exampleNumber>870012345</exampleNumber>
19234 <nationalNumberPattern>[2-9]0\d{4,7}</nationalNumberPattern>
19235 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
19236 <exampleNumber>201234567</exampleNumber>
19241 <territory id="QA" countryCode="974" internationalPrefix="00" mobileNumberPortableRegion="true">
19243 <sourceUrl>http://www.itu.int/oth/T02020000AB/en</sourceUrl>
19244 <sourceUrl>http://wtng.info/wtng-qq.html</sourceUrl>
19247 <numberFormat pattern="([28]\d{2})(\d{4})">
19248 <leadingDigits>[28]</leadingDigits>
19249 <format>$1 $2</format>
19251 <numberFormat pattern="([3-7]\d{3})(\d{4})">
19252 <leadingDigits>[3-7]</leadingDigits>
19253 <format>$1 $2</format>
19255 </availableFormats>
19257 <nationalNumberPattern>[2-8]\d{6,7}</nationalNumberPattern>
19258 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
19261 <!-- The prefix 40 has now been allocated, based on numbers seen online. -->
19262 <nationalNumberPattern>4[04]\d{6}</nationalNumberPattern>
19263 <exampleNumber>44123456</exampleNumber>
19266 <nationalNumberPattern>[3567]\d{7}</nationalNumberPattern>
19267 <exampleNumber>33123456</exampleNumber>
19270 <nationalNumberPattern>
19275 </nationalNumberPattern>
19276 <possibleNumberPattern>\d{7}</possibleNumberPattern>
19277 <exampleNumber>2123456</exampleNumber>
19280 <nationalNumberPattern>800\d{4}</nationalNumberPattern>
19281 <exampleNumber>8001234</exampleNumber>
19283 <!-- No premiumRate information can be found. -->
19286 <!-- Réunion (French Departments and Territories in the Indian Ocean) -->
19287 <!-- Note this shares the same country code as La Mayotte and the formatting patterns here are
19288 used by both of them. -->
19289 <territory id="RE" countryCode="262" internationalPrefix="00"
19290 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
19291 leadingDigits="262|6[49]|8" mainCountryForCode="true" >
19293 <sourceUrl>http://www.itu.int/oth/T020200004B/en</sourceUrl>
19296 <numberFormat pattern="([268]\d{2})(\d{2})(\d{2})(\d{2})">
19297 <format>$1 $2 $3 $4</format>
19299 </availableFormats>
19301 <nationalNumberPattern>[268]\d{8}</nationalNumberPattern>
19302 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19305 <!-- 0876 numbers are mentioned in the plan, but none in use can be found. -->
19306 <nationalNumberPattern>262\d{6}</nationalNumberPattern>
19307 <exampleNumber>262161234</exampleNumber>
19310 <nationalNumberPattern>
19315 </nationalNumberPattern>
19316 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19317 <exampleNumber>692123456</exampleNumber>
19319 <!-- 08* Numbers in Réunion are the same as those valid in France. -->
19321 <nationalNumberPattern>80\d{7}</nationalNumberPattern>
19322 <exampleNumber>801234567</exampleNumber>
19325 <nationalNumberPattern>89[1-37-9]\d{6}</nationalNumberPattern>
19326 <exampleNumber>891123456</exampleNumber>
19329 <nationalNumberPattern>
19336 </nationalNumberPattern>
19337 <exampleNumber>810123456</exampleNumber>
19342 <!-- Extension prefix found online, confirmed by a Romanian. -->
19343 <territory id="RO" countryCode="40" internationalPrefix="00"
19344 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
19345 preferredExtnPrefix=" int " mobileNumberPortableRegion="true">
19347 <sourceUrl>http://www.itu.int/oth/T02020000AC/en</sourceUrl>
19348 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Romania</sourceUrl>
19351 <numberFormat pattern="([237]\d)(\d{3})(\d{4})">
19352 <leadingDigits>[23]1</leadingDigits>
19353 <format>$1 $2 $3</format>
19355 <numberFormat pattern="(21)(\d{4})">
19356 <leadingDigits>21</leadingDigits>
19357 <format>$1 $2</format>
19359 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
19360 <!-- We format mobile numbers like this, even though ITU and wikipedia hint at
19361 \d{2}\d{3}\d{4} grouping, since the yellow pages (http://en.paginiaurii.ro/) and the
19362 majority of numbers found online follow this convention. -->
19367 <format>$1 $2 $3</format>
19369 <numberFormat pattern="(2\d{2})(\d{3})">
19370 <leadingDigits>2[3-6]</leadingDigits>
19371 <format>$1 $2</format>
19373 </availableFormats>
19375 <nationalNumberPattern>
19378 </nationalNumberPattern>
19379 <!-- Although the ITU plan says the number plan is open, this was changed in 2008 according
19380 to wikipedia and people must dial the full number. However, there are still short
19381 numbers that total 6 digits long, so the possible number pattern should take these into
19383 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
19386 <!-- We exclude three-digit short numbers for Bucharest (219\d{2}) and four-digit short
19387 numbers outside Bucharest (2[36]\d9\d{3}) even though ITU suggests these exist. We do
19388 this based on numbers found online and the wikipedia article which indicate that these
19389 are four digits long in Bucharest only, and three digits elsewhere. -->
19390 <nationalNumberPattern>
19402 </nationalNumberPattern>
19403 <exampleNumber>211234567</exampleNumber>
19406 <!-- http://www.enigma-system.net/business/customized-phone-number.html confirms that the
19407 numbers are restricted to those starting with 07000. Mobile prefix 0799 added based on
19408 open-source report and confirmation by existence of such numbers online. -->
19409 <nationalNumberPattern>
19415 </nationalNumberPattern>
19416 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19417 <exampleNumber>712345678</exampleNumber>
19420 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
19421 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19422 <exampleNumber>800123456</exampleNumber>
19425 <nationalNumberPattern>90[036]\d{6}</nationalNumberPattern>
19426 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19427 <exampleNumber>900123456</exampleNumber>
19430 <nationalNumberPattern>801\d{6}</nationalNumberPattern>
19431 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19432 <exampleNumber>801123456</exampleNumber>
19435 <nationalNumberPattern>802\d{6}</nationalNumberPattern>
19436 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19437 <exampleNumber>802123456</exampleNumber>
19440 <!-- http://www.ancom.org.ro/pnn_1300 refers to numbers beginning with 37, 38 or 39 as
19441 location-independent national numbers. Only numbers beginning with 37 have been seen so
19442 these are the only ones supported for now. -->
19443 <nationalNumberPattern>37\d{7}</nationalNumberPattern>
19444 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19445 <exampleNumber>372123456</exampleNumber>
19450 <territory id="RS" countryCode="381" internationalPrefix="00"
19451 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
19452 mobileNumberPortableRegion="true">
19454 <sourceUrl>http://www.itu.int/oth/T02020000B9/en</sourceUrl>
19455 <sourceUrl>http://registar.ratel.rs/en/reg202</sourceUrl>
19458 <numberFormat pattern="([23]\d{2})(\d{4,9})">
19465 <format>$1 $2</format>
19467 <numberFormat pattern="([1-3]\d)(\d{5,10})">
19479 <format>$1 $2</format>
19481 <numberFormat pattern="(6\d)(\d{6,8})">
19482 <leadingDigits>6</leadingDigits>
19483 <format>$1 $2</format>
19485 <numberFormat pattern="([89]\d{2})(\d{3,9})">
19486 <leadingDigits>[89]</leadingDigits>
19487 <format>$1 $2</format>
19489 <numberFormat pattern="(7[26])(\d{4,9})">
19490 <leadingDigits>7[26]</leadingDigits>
19491 <format>$1 $2</format>
19493 <numberFormat pattern="(7[08]\d)(\d{4,9})">
19494 <leadingDigits>7[08]</leadingDigits>
19495 <format>$1 $2</format>
19497 </availableFormats>
19499 <!-- The complicated pattern here is to distinguish between Pristina (area code 38, followed
19500 by 2-9) and the country calling code (381). -->
19501 <nationalNumberPattern>
19507 </nationalNumberPattern>
19508 <possibleNumberPattern>\d{5,12}</possibleNumberPattern>
19511 <!-- Most subscriber numbers may not start with 0 or 1. Exceptionally, the prefix 11 1[5-7]
19512 has been issused, so we allow 11 1X here. -->
19513 <nationalNumberPattern>
19534 </nationalNumberPattern>
19535 <possibleNumberPattern>\d{5,12}</possibleNumberPattern>
19536 <exampleNumber>10234567</exampleNumber>
19539 <nationalNumberPattern>
19544 </nationalNumberPattern>
19545 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
19546 <exampleNumber>601234567</exampleNumber>
19549 <nationalNumberPattern>800\d{3,9}</nationalNumberPattern>
19550 <possibleNumberPattern>\d{6,12}</possibleNumberPattern>
19551 <exampleNumber>80012345</exampleNumber>
19554 <nationalNumberPattern>
19559 </nationalNumberPattern>
19560 <possibleNumberPattern>\d{6,12}</possibleNumberPattern>
19561 <exampleNumber>90012345</exampleNumber>
19564 <nationalNumberPattern>7[06]\d{4,10}</nationalNumberPattern>
19565 <possibleNumberPattern>\d{6,12}</possibleNumberPattern>
19566 <exampleNumber>700123456</exampleNumber>
19570 <!-- Russian Federation -->
19571 <territory id="RU" countryCode="7" mainCountryForCode="true" preferredInternationalPrefix="8~10"
19572 internationalPrefix="810" nationalPrefix="8"
19573 nationalPrefixFormattingRule="$NP ($FG)"
19574 nationalPrefixOptionalWhenFormatting="true" >
19576 <sourceUrl>http://www.itu.int/oth/T02020000AD/en</sourceUrl>
19577 <sourceUrl>http://en.wikipedia.org/wiki/%2B7</sourceUrl>
19580 <!-- Formatting from wikipedia, confirmed on Goverment websites such as
19581 http://www.minjust.ru/ru/structure/contact/. Contains formatting instructions for
19582 Kazakhstan as well. -->
19583 <numberFormat pattern="(\d{3})(\d{2})(\d{2})" nationalPrefixFormattingRule="$FG">
19584 <!-- Local numbers only - these do not start with the national prefix. -->
19585 <leadingDigits>[1-79]</leadingDigits>
19586 <format>$1-$2-$3</format>
19587 <intlFormat>NA</intlFormat>
19589 <numberFormat pattern="([3489]\d{2})(\d{3})(\d{2})(\d{2})">
19590 <leadingDigits>[34689]</leadingDigits>
19591 <format>$1 $2-$3-$4</format>
19593 <numberFormat pattern="(7\d{2})(\d{3})(\d{4})">
19594 <leadingDigits>7</leadingDigits>
19595 <format>$1 $2 $3</format>
19597 </availableFormats>
19599 <nationalNumberPattern>[3489]\d{9}</nationalNumberPattern>
19600 <possibleNumberPattern>\d{10}</possibleNumberPattern>
19603 <!-- The Ivanovo area code 493 was omitted on the official document, but this is still used
19604 in the yellow pages, and on their own website and is listed on wikipedia. This applies
19605 also to 395 (Irkutsk). Also including the 840 prefix for Abkhazia. -->
19606 <nationalNumberPattern>
19633 </nationalNumberPattern>
19634 <exampleNumber>3011234567</exampleNumber>
19637 <nationalNumberPattern>9\d{9}</nationalNumberPattern>
19638 <exampleNumber>9123456789</exampleNumber>
19641 <!-- The metadata states that 804 numbers are UAN numbers, but
19642 teleum.ru/numbers/toll_free_804 states that they are now being offered as toll-free
19644 <nationalNumberPattern>80[04]\d{7}</nationalNumberPattern>
19645 <exampleNumber>8001234567</exampleNumber>
19648 <!-- Covers tele-voting numbers as well. -->
19649 <nationalNumberPattern>80[39]\d{7}</nationalNumberPattern>
19650 <exampleNumber>8091234567</exampleNumber>
19655 <!-- According to ITU, there is no national prefix. However, this is still used. As of June 3rd
19656 2011, this was confirmed by a Rwandan local. It is also shown in this format on pages such
19657 as http://www.tigo.co.rw "Choose Your Number" service. -->
19658 <territory id="RW" countryCode="250" internationalPrefix="00"
19659 nationalPrefix="0" leadingZeroPossible="true">
19661 <sourceUrl>http://www.rura.gov.rw/docs/RWANDA_NATIONAL_NUMBERING_PLAN.pdf</sourceUrl>
19662 <sourceUrl>http://en.wikipedia.org/wiki/+250</sourceUrl>
19665 <numberFormat nationalPrefixFormattingRule="$FG"
19666 pattern="(2\d{2})(\d{3})(\d{3})">
19667 <leadingDigits>2</leadingDigits>
19668 <format>$1 $2 $3</format>
19670 <numberFormat pattern="([7-9]\d{2})(\d{3})(\d{3})" nationalPrefixFormattingRule="$NP$FG">
19671 <leadingDigits>[7-9]</leadingDigits>
19672 <format>$1 $2 $3</format>
19674 <numberFormat pattern="(0\d)(\d{2})(\d{2})(\d{2})">
19675 <leadingDigits>0</leadingDigits>
19676 <format>$1 $2 $3 $4</format>
19678 </availableFormats>
19680 <nationalNumberPattern>[027-9]\d{7,8}</nationalNumberPattern>
19681 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
19684 <!-- We support satellite numbers here, since they are in the plan, although no recent
19685 online examples can be found. We also support fixed-line ranges that have been reserved
19686 and paid for, even where no online numbers can be found. -->
19687 <nationalNumberPattern>
19690 </nationalNumberPattern>
19691 <exampleNumber>250123456</exampleNumber>
19694 <!-- Adding 73X for Airtel - this is on the wikipedia page, but not yet in the Rwanda
19695 telecommunications numbering plan. Removing 75 - that was Rwandatel but they had their
19696 license revoked. -->
19697 <nationalNumberPattern>7[238]\d{7}</nationalNumberPattern>
19698 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19699 <exampleNumber>720123456</exampleNumber>
19702 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
19703 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19704 <exampleNumber>800123456</exampleNumber>
19707 <nationalNumberPattern>900\d{6}</nationalNumberPattern>
19708 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19709 <exampleNumber>900123456</exampleNumber>
19713 <!-- Saudi Arabia -->
19714 <territory id="SA" countryCode="966" internationalPrefix="00"
19715 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
19716 mobileNumberPortableRegion="true">
19718 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Saudi_Arabia</sourceUrl>
19719 <sourceUrl>http://www.itu.int/oth/T02020000B7/en</sourceUrl>
19722 <numberFormat pattern="([1-467])(\d{3})(\d{4})">
19723 <leadingDigits>[1-467]</leadingDigits>
19724 <format>$1 $2 $3</format>
19726 <numberFormat pattern="(1\d)(\d{3})(\d{4})">
19727 <leadingDigits>1[1-467]</leadingDigits>
19728 <format>$1 $2 $3</format>
19730 <numberFormat pattern="(5\d)(\d{3})(\d{4})">
19731 <leadingDigits>5</leadingDigits>
19732 <format>$1 $2 $3</format>
19734 <!-- It seems that the trunk prefix is not used for these numbers, based on wikipedia and on
19735 the fact that no numbers of this form found online have a trunk prefix added. -->
19736 <numberFormat pattern="(92\d{2})(\d{5})" nationalPrefixFormattingRule="$FG">
19737 <leadingDigits>92</leadingDigits>
19738 <format>$1 $2</format>
19740 <numberFormat pattern="(800)(\d{3})(\d{4})" nationalPrefixFormattingRule="$FG">
19741 <leadingDigits>80</leadingDigits>
19742 <format>$1 $2 $3</format>
19744 <numberFormat pattern="(811)(\d{3})(\d{3,4})">
19745 <leadingDigits>81</leadingDigits>
19746 <format>$1 $2 $3</format>
19748 </availableFormats>
19750 <!-- The more detailed pattern here is to allow the country-code to be stripped off for
19751 fixed-line numbers. -->
19752 <nationalNumberPattern>
19760 </nationalNumberPattern>
19761 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
19764 <!-- Saudi Arabia is in the process of adding a leading 1 to their fixed-line numbers. This
19765 happened in May for area code 1 (parallel running ended July 13th, 2013) and then in
19766 August for the other fixed-line numbers (parallel running ends October 18th, 2013). -->
19767 <nationalNumberPattern>
19776 </nationalNumberPattern>
19777 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
19778 <exampleNumber>112345678</exampleNumber>
19781 <!-- Including "Nomadic" numbers from the Telecom Company "Go". The ITU document now says
19782 they are 11 digits long; however all online numbers are 10, and it used to say 10, so
19783 until we find evidence that this is an error, leaving them at 10 for now. -->
19784 <nationalNumberPattern>
19792 </nationalNumberPattern>
19793 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
19794 <exampleNumber>512345678</exampleNumber>
19797 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
19798 <possibleNumberPattern>\d{10}</possibleNumberPattern>
19799 <exampleNumber>8001234567</exampleNumber>
19802 <!-- Including shared revenue with shared cost here. -->
19803 <nationalNumberPattern>92[05]\d{6}</nationalNumberPattern>
19804 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19805 <exampleNumber>920012345</exampleNumber>
19809 <!-- Solomon Islands -->
19810 <territory id="SB" countryCode="677" internationalPrefix="0[01]">
19812 <sourceUrl>http://www.itu.int/oth/T02020000BF/en</sourceUrl>
19814 <!-- A single group is used to format 5-digit numbers. This formatting pattern follows
19815 the guidelines in the ITU document. -->
19817 <numberFormat pattern="(\d{2})(\d{5})">
19818 <leadingDigits>[7-9]</leadingDigits>
19819 <format>$1 $2</format>
19821 </availableFormats>
19823 <nationalNumberPattern>[1-9]\d{4,6}</nationalNumberPattern>
19824 <possibleNumberPattern>\d{5,7}</possibleNumberPattern>
19827 <!-- Although not mentioned in the 2011 update, it seems likely that the range 67300-67699
19828 is still used for Sasamunga, Shortland, Poitete and Ringgi as per the 2010 plan. -->
19829 <nationalNumberPattern>
19837 </nationalNumberPattern>
19838 <possibleNumberPattern>\d{5}</possibleNumberPattern>
19839 <exampleNumber>40123</exampleNumber>
19842 <!-- The 795 prefix is not in the ITU plan (5.XII.2014), but was added because such a number
19843 was dialed successfully. -->
19844 <nationalNumberPattern>
19863 </nationalNumberPattern>
19864 <exampleNumber>7421234</exampleNumber>
19867 <nationalNumberPattern>1[38]\d{3}</nationalNumberPattern>
19868 <possibleNumberPattern>\d{5}</possibleNumberPattern>
19869 <exampleNumber>18123</exampleNumber>
19872 <nationalNumberPattern>5[12]\d{3}</nationalNumberPattern>
19873 <possibleNumberPattern>\d{5}</possibleNumberPattern>
19874 <exampleNumber>51123</exampleNumber>
19878 <!-- Seychelles -->
19879 <territory id="SC" countryCode="248" internationalPrefix="0[0-2]"
19880 preferredInternationalPrefix="00">
19882 <sourceUrl>http://www.itu.int/oth/T02020000BA/en</sourceUrl>
19883 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Seychelles</sourceUrl>
19886 <numberFormat pattern="(\d{3})(\d{3})">
19887 <leadingDigits>[89]</leadingDigits>
19888 <format>$1 $2</format>
19890 <numberFormat pattern="(\d)(\d{3})(\d{3})">
19891 <leadingDigits>[246]</leadingDigits>
19892 <format>$1 $2 $3</format>
19894 </availableFormats>
19896 <nationalNumberPattern>[24689]\d{5,6}</nationalNumberPattern>
19897 <possibleNumberPattern>\d{6,7}</possibleNumberPattern>
19900 <!-- We are putting Fixed Services numbers here for now, as we cannot find any evidence that
19901 they are more expensive to call than other Fixed Line services. ISDN and DID services
19902 are here too, since they seem to be also fixed-line phone numbers. -->
19903 <nationalNumberPattern>4[2-46]\d{5}</nationalNumberPattern>
19904 <possibleNumberPattern>\d{7}</possibleNumberPattern>
19905 <exampleNumber>4217123</exampleNumber>
19908 <!-- Includes Fixed Cellular. -->
19909 <nationalNumberPattern>2[5-8]\d{5}</nationalNumberPattern>
19910 <possibleNumberPattern>\d{7}</possibleNumberPattern>
19911 <exampleNumber>2510123</exampleNumber>
19914 <nationalNumberPattern>8000\d{2}</nationalNumberPattern>
19915 <possibleNumberPattern>\d{6}</possibleNumberPattern>
19916 <exampleNumber>800000</exampleNumber>
19919 <!-- Using this to represent Value Added Service in the plan. -->
19920 <nationalNumberPattern>98\d{4}</nationalNumberPattern>
19921 <possibleNumberPattern>\d{6}</possibleNumberPattern>
19922 <exampleNumber>981234</exampleNumber>
19925 <nationalNumberPattern>64\d{5}</nationalNumberPattern>
19926 <possibleNumberPattern>\d{7}</possibleNumberPattern>
19927 <exampleNumber>6412345</exampleNumber>
19932 <territory id="SD" countryCode="249" internationalPrefix="00"
19933 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
19935 <sourceUrl>http://www.itu.int/oth/T02020000C4/en</sourceUrl>
19938 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
19939 <format>$1 $2 $3</format>
19941 </availableFormats>
19943 <nationalNumberPattern>[19]\d{8}</nationalNumberPattern>
19944 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19947 <!-- Retaining previous prefix as 18 since it seems still to be used. Adding 11 from numbers
19949 <nationalNumberPattern>
19954 </nationalNumberPattern>
19955 <exampleNumber>121231234</exampleNumber>
19958 <!-- Adding 90X as online numbers have been found with this prefix. -->
19959 <nationalNumberPattern>9[012569]\d{7}</nationalNumberPattern>
19960 <exampleNumber>911231234</exampleNumber>
19965 <territory id="SE" countryCode="46" internationalPrefix="00"
19966 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
19967 mobileNumberPortableRegion="true">
19969 <sourceUrl>http://www.pts.se/upload/Ovrigt/Tele/Nummerfragor/Sv_nrplan_telefoni_enl_TU-T_rek_E.164.pdf</sourceUrl>
19970 <sourceUrl>http://www.pts.se/upload/Ovrigt/Tele/Nummerfragor/Nrplansammanst%C3%A4llning-2013-07-05.pdf</sourceUrl>
19973 <!-- Formatting patterns are from the numbering plan and from the Swedish yellow pages
19974 http://gulasidorna.eniro.se -->
19975 <numberFormat pattern="(8)(\d{2,3})(\d{2,3})(\d{2})">
19976 <leadingDigits>8</leadingDigits>
19977 <format>$1-$2 $3 $4</format>
19978 <intlFormat>$1 $2 $3 $4</intlFormat>
19980 <numberFormat pattern="([1-69]\d)(\d{2,3})(\d{2})(\d{2})">
19990 <format>$1-$2 $3 $4</format>
19991 <intlFormat>$1 $2 $3 $4</intlFormat>
19993 <numberFormat pattern="([1-69]\d)(\d{3})(\d{2})">
20003 <format>$1-$2 $3</format>
20004 <intlFormat>$1 $2 $3</intlFormat>
20006 <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})">
20020 <format>$1-$2 $3 $4</format>
20021 <intlFormat>$1 $2 $3 $4</intlFormat>
20023 <numberFormat pattern="(\d{3})(\d{2,3})(\d{2})">
20037 <format>$1-$2 $3</format>
20038 <intlFormat>$1 $2 $3</intlFormat>
20040 <numberFormat pattern="(7\d)(\d{3})(\d{2})(\d{2})">
20041 <leadingDigits>7</leadingDigits>
20042 <format>$1-$2 $3 $4</format>
20043 <intlFormat>$1 $2 $3 $4</intlFormat>
20045 <numberFormat pattern="(77)(\d{2})(\d{2})">
20046 <leadingDigits>7</leadingDigits>
20047 <format>$1-$2$3</format>
20048 <intlFormat>$1 $2 $3</intlFormat>
20050 <numberFormat pattern="(20)(\d{2,3})(\d{2})">
20051 <leadingDigits>20</leadingDigits>
20052 <format>$1-$2 $3</format>
20053 <intlFormat>$1 $2 $3</intlFormat>
20055 <numberFormat pattern="(9[034]\d)(\d{2})(\d{2})(\d{3})">
20056 <leadingDigits>9[034]</leadingDigits>
20057 <format>$1-$2 $3 $4</format>
20058 <intlFormat>$1 $2 $3 $4</intlFormat>
20060 <numberFormat pattern="(9[034]\d)(\d{4})">
20061 <leadingDigits>9[034]</leadingDigits>
20062 <format>$1-$2</format>
20063 <intlFormat>$1 $2</intlFormat>
20065 </availableFormats>
20067 <nationalNumberPattern>[1-9]\d{5,9}</nationalNumberPattern>
20068 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
20071 <nationalNumberPattern>
20156 </nationalNumberPattern>
20157 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
20158 <exampleNumber>8123456</exampleNumber>
20161 <nationalNumberPattern>7[0236]\d{7}</nationalNumberPattern>
20162 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20163 <exampleNumber>701234567</exampleNumber>
20166 <nationalNumberPattern>74[02-9]\d{6}</nationalNumberPattern>
20167 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20168 <exampleNumber>740123456</exampleNumber>
20171 <nationalNumberPattern>
20186 </nationalNumberPattern>
20187 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
20188 <exampleNumber>20123456</exampleNumber>
20191 <nationalNumberPattern>
20230 </nationalNumberPattern>
20231 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
20232 <exampleNumber>9001234567</exampleNumber>
20235 <nationalNumberPattern>
20246 </nationalNumberPattern>
20247 <possibleNumberPattern>\d{6}(?:\d{3})?</possibleNumberPattern>
20248 <exampleNumber>771234567</exampleNumber>
20251 <nationalNumberPattern>75[1-8]\d{6}</nationalNumberPattern>
20252 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20253 <exampleNumber>751234567</exampleNumber>
20258 <territory id="SG" countryCode="65" internationalPrefix="0[0-3]\d"
20259 mobileNumberPortableRegion="true">
20261 <sourceUrl>http://www.ida.gov.sg/Policies-and-Regulations/Industry-and-Licensees/Numbering/National-Numbering-Plan-and-Allocation-Process.aspx</sourceUrl>
20264 <numberFormat pattern="([3689]\d{3})(\d{4})">
20269 <format>$1 $2</format>
20271 <numberFormat pattern="(1[89]00)(\d{3})(\d{4})">
20272 <leadingDigits>1[89]</leadingDigits>
20273 <format>$1 $2 $3</format>
20275 <numberFormat pattern="(7000)(\d{4})(\d{3})">
20276 <leadingDigits>70</leadingDigits>
20277 <format>$1 $2 $3</format>
20279 <numberFormat pattern="(800)(\d{3})(\d{4})">
20280 <leadingDigits>80</leadingDigits>
20281 <format>$1 $2 $3</format>
20283 </availableFormats>
20285 <!-- We have a stricter national number pattern for numbers beginning with 6 to enable us to
20286 easily strip off leading "65" country codes. -->
20287 <nationalNumberPattern>
20290 </nationalNumberPattern>
20291 <possibleNumberPattern>\d{8,11}</possibleNumberPattern>
20294 <nationalNumberPattern>6[1-9]\d{6}</nationalNumberPattern>
20295 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20296 <exampleNumber>61234567</exampleNumber>
20299 <nationalNumberPattern>
20304 </nationalNumberPattern>
20305 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20306 <exampleNumber>81234567</exampleNumber>
20309 <nationalNumberPattern>1?800\d{7}</nationalNumberPattern>
20310 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
20311 <exampleNumber>18001234567</exampleNumber>
20314 <nationalNumberPattern>1900\d{7}</nationalNumberPattern>
20315 <possibleNumberPattern>\d{11}</possibleNumberPattern>
20316 <exampleNumber>19001234567</exampleNumber>
20319 <nationalNumberPattern>3[12]\d{6}</nationalNumberPattern>
20320 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20321 <exampleNumber>31234567</exampleNumber>
20324 <!-- Although not detailed in the plan beyond mentioning their existence, it seems 7000
20325 numbers are used for companies. Most of the online examples are in fact alpha-numbers.
20327 <nationalNumberPattern>7000\d{7}</nationalNumberPattern>
20328 <possibleNumberPattern>\d{11}</possibleNumberPattern>
20329 <exampleNumber>70001234567</exampleNumber>
20333 <!-- Saint Helena -->
20334 <territory id="SH" countryCode="290" internationalPrefix="00" mainCountryForCode="true">
20336 <sourceUrl>http://www.itu.int/oth/T02020000AF/en</sourceUrl>
20338 <!-- Numbers are formatted as a block. -->
20340 <nationalNumberPattern>[2-79]\d{3,4}</nationalNumberPattern>
20341 <possibleNumberPattern>\d{4,5}</possibleNumberPattern>
20344 <!-- St Helena is changing to 5 digits on October 1. 2013 -> we support both patterns here.
20345 The new pattern is first, followed by the old (hence the repetition of the leading 2).
20347 <nationalNumberPattern>
20356 </nationalNumberPattern>
20357 <!-- Using St Helena Tourism as the example number. -->
20358 <exampleNumber>2158</exampleNumber>
20361 <nationalNumberPattern>NA</nationalNumberPattern>
20362 <possibleNumberPattern>NA</possibleNumberPattern>
20365 <nationalNumberPattern>
20370 </nationalNumberPattern>
20371 <exampleNumber>5012</exampleNumber>
20376 <territory id="SI" countryCode="386" internationalPrefix="00"
20377 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
20378 mobileNumberPortableRegion="true">
20380 <sourceUrl>http://www.itu.int/oth/T02020000BE/en</sourceUrl>
20383 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
20384 pattern="(\d)(\d{3})(\d{2})(\d{2})">
20392 <format>$1 $2 $3 $4</format>
20394 <numberFormat pattern="([3-7]\d)(\d{3})(\d{3})">
20401 <format>$1 $2 $3</format>
20403 <numberFormat pattern="([89][09])(\d{3,6})">
20404 <leadingDigits>[89][09]</leadingDigits>
20405 <format>$1 $2</format>
20407 <numberFormat pattern="([58]\d{2})(\d{5})">
20412 <format>$1 $2</format>
20414 </availableFormats>
20416 <nationalNumberPattern>
20419 </nationalNumberPattern>
20420 <possibleNumberPattern>\d{5,8}</possibleNumberPattern>
20423 <nationalNumberPattern>
20431 </nationalNumberPattern>
20432 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
20433 <exampleNumber>11234567</exampleNumber>
20436 <!-- We include 043 and 049 here - it is VoIP in the plan, but is actually used to provide
20437 mobile coverage to Kosovo. Also added 068, which is used by the mobile operator bob.si
20439 <nationalNumberPattern>
20446 </nationalNumberPattern>
20447 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20448 <exampleNumber>31234567</exampleNumber>
20451 <nationalNumberPattern>80\d{4,6}</nationalNumberPattern>
20452 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
20453 <exampleNumber>80123456</exampleNumber>
20456 <!-- Includes televoting, mass calling -->
20457 <nationalNumberPattern>
20460 </nationalNumberPattern>
20461 <possibleNumberPattern>\d{5,8}</possibleNumberPattern>
20462 <exampleNumber>90123456</exampleNumber>
20465 <nationalNumberPattern>
20470 </nationalNumberPattern>
20471 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20472 <exampleNumber>59012345</exampleNumber>
20477 <!-- Metadata shared with Norway. -->
20478 <territory id="SJ" countryCode="47" internationalPrefix="00" leadingZeroPossible="true">
20480 <sourceUrl>http://www.npt.no/pt_internet/numsys/E.164.pdf</sourceUrl>
20483 <nationalNumberPattern>
20486 </nationalNumberPattern>
20487 <possibleNumberPattern>\d{5}(?:\d{3})?</possibleNumberPattern>
20490 <nationalNumberPattern>79\d{6}</nationalNumberPattern>
20491 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20492 <exampleNumber>79123456</exampleNumber>
20494 <!-- Copied from Norway metadata. -->
20496 <nationalNumberPattern>
20502 </nationalNumberPattern>
20503 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20504 <exampleNumber>41234567</exampleNumber>
20507 <nationalNumberPattern>80[01]\d{5}</nationalNumberPattern>
20508 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20509 <exampleNumber>80012345</exampleNumber>
20512 <nationalNumberPattern>82[09]\d{5}</nationalNumberPattern>
20513 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20514 <exampleNumber>82012345</exampleNumber>
20517 <nationalNumberPattern>
20522 </nationalNumberPattern>
20523 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20524 <exampleNumber>81021234</exampleNumber>
20527 <nationalNumberPattern>880\d{5}</nationalNumberPattern>
20528 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20529 <exampleNumber>88012345</exampleNumber>
20532 <nationalNumberPattern>85[0-5]\d{5}</nationalNumberPattern>
20533 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20534 <exampleNumber>85012345</exampleNumber>
20537 <!-- Includes some 810 local-rate numbers, and long-distance rate numbers. -->
20538 <nationalNumberPattern>
20547 </nationalNumberPattern>
20548 <exampleNumber>01234</exampleNumber>
20551 <nationalNumberPattern>81[23]\d{5}</nationalNumberPattern>
20552 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20553 <exampleNumber>81212345</exampleNumber>
20558 <territory id="SK" countryCode="421" internationalPrefix="00"
20559 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
20560 mobileNumberPortableRegion="true">
20562 <sourceUrl>http://www.itu.int/oth/T02020000BD/en</sourceUrl>
20565 <numberFormat pattern="(2)(\d{3})(\d{3})(\d{2})">
20566 <leadingDigits>2</leadingDigits>
20567 <format>$1/$2 $3 $4</format>
20569 <numberFormat pattern="([3-5]\d)(\d{3})(\d{2})(\d{2})">
20570 <leadingDigits>[3-5]</leadingDigits>
20571 <format>$1/$2 $3 $4</format>
20573 <numberFormat pattern="([689]\d{2})(\d{3})(\d{3})">
20574 <leadingDigits>[689]</leadingDigits>
20575 <format>$1 $2 $3</format>
20577 </availableFormats>
20579 <nationalNumberPattern>[2-689]\d{8}</nationalNumberPattern>
20580 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20582 <noInternationalDialling>
20583 <nationalNumberPattern>
20594 </nationalNumberPattern>
20595 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20596 <exampleNumber>800123456</exampleNumber>
20597 </noInternationalDialling>
20599 <nationalNumberPattern>[2-5]\d{8}</nationalNumberPattern>
20600 <exampleNumber>212345678</exampleNumber>
20603 <!-- 948 isn't in the number pattern, but many examples using this have been found, so
20604 deeming it valid for now. -->
20605 <nationalNumberPattern>
20611 </nationalNumberPattern>
20612 <exampleNumber>912123456</exampleNumber>
20615 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
20616 <exampleNumber>800123456</exampleNumber>
20619 <nationalNumberPattern>
20624 </nationalNumberPattern>
20625 <exampleNumber>900123456</exampleNumber>
20628 <nationalNumberPattern>8[5-9]\d{7}</nationalNumberPattern>
20629 <exampleNumber>850123456</exampleNumber>
20632 <nationalNumberPattern>
20637 </nationalNumberPattern>
20638 <exampleNumber>690123456</exampleNumber>
20641 <nationalNumberPattern>96\d{7}</nationalNumberPattern>
20642 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20643 <exampleNumber>961234567</exampleNumber>
20647 <!-- Sierra Leone -->
20648 <territory id="SL" countryCode="232" internationalPrefix="00"
20649 nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)">
20651 <sourceUrl>http://www.itu.int/oth/T02020000BB/en</sourceUrl>
20654 <!-- Following formatting of online yellow pages http://www.leonedirect.com -->
20655 <numberFormat pattern="(\d{2})(\d{6})">
20656 <format>$1 $2</format>
20658 </availableFormats>
20660 <nationalNumberPattern>[2-578]\d{7}</nationalNumberPattern>
20661 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
20664 <nationalNumberPattern>[235]2[2-4][2-9]\d{4}</nationalNumberPattern>
20665 <exampleNumber>22221234</exampleNumber>
20668 <nationalNumberPattern>
20677 </nationalNumberPattern>
20678 <exampleNumber>25123456</exampleNumber>
20682 <!-- San Marino -->
20683 <!-- San Marino fixed-line numbers have an area code of "0549". However, this seems to be
20684 optional when dialling from outside the country; the phone number can be reached both with
20685 and without this area code. The nationalPrefixForParsing and nationalPrefixTransformRule
20686 are used to ensure that if the 0549 is not present, it will be added. -->
20687 <territory id="SM" countryCode="378" internationalPrefix="00"
20688 nationalPrefixForParsing="(?:0549)?([89]\d{5})" nationalPrefixTransformRule="0549$1"
20689 leadingZeroPossible="true">
20691 <sourceUrl>http://www.itu.int/oth/T02020000B5/en</sourceUrl>
20692 <!-- Information about Italy. -->
20693 <sourceUrl>http://en.wikipedia.org/wiki/%2B39</sourceUrl>
20694 <sourceUrl>http://en.wikipedia.org/wiki/%2B378</sourceUrl>
20697 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
20698 <leadingDigits>[5-7]</leadingDigits>
20699 <format>$1 $2 $3 $4</format>
20701 <!-- We follow the guidelines of the yellow-pages when formatting in national format. -->
20702 <numberFormat pattern="(0549)(\d{6})">
20703 <leadingDigits>0</leadingDigits>
20704 <format>$1 $2</format>
20705 <!-- We follow the guidelines of the Telecommunications Document published on ITU when
20706 formatting in international format. -->
20707 <intlFormat>($1) $2</intlFormat>
20709 <!-- A rule in case the number has been stored without the leading 0549 necessary for
20711 <numberFormat pattern="(\d{6})">
20712 <leadingDigits>[89]</leadingDigits>
20713 <format>0549 $1</format>
20714 <intlFormat>(0549) $1</intlFormat>
20716 </availableFormats>
20718 <nationalNumberPattern>[05-7]\d{7,9}</nationalNumberPattern>
20719 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
20721 <!-- Example numbers provided by the Telecommunications Services. -->
20723 <nationalNumberPattern>
20728 </nationalNumberPattern>
20729 <exampleNumber>0549886377</exampleNumber>
20732 <nationalNumberPattern>6[16]\d{6}</nationalNumberPattern>
20733 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20734 <exampleNumber>66661212</exampleNumber>
20737 <!-- Includes Video Call numbers. -->
20738 <nationalNumberPattern>7[178]\d{6}</nationalNumberPattern>
20739 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20740 <exampleNumber>71123456</exampleNumber>
20743 <nationalNumberPattern>5[158]\d{6}</nationalNumberPattern>
20744 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20745 <exampleNumber>58001110</exampleNumber>
20750 <territory id="SN" countryCode="221" internationalPrefix="00">
20752 <sourceUrl>http://www.itu.int/oth/T02020000B8/en</sourceUrl>
20753 <sourceUrl>http://www.artpsenegal.net</sourceUrl>
20756 <!-- Using yellow pages and online telecom company formatting, rather than that implied in
20757 the national numbering plan. -->
20758 <numberFormat pattern="(\d{2})(\d{3})(\d{2})(\d{2})">
20759 <leadingDigits>[379]</leadingDigits>
20760 <format>$1 $2 $3 $4</format>
20762 <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})">
20763 <leadingDigits>8</leadingDigits>
20764 <format>$1 $2 $3 $4</format>
20766 </availableFormats>
20768 <nationalNumberPattern>[3789]\d{8}</nationalNumberPattern>
20769 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20772 <nationalNumberPattern>
20786 </nationalNumberPattern>
20787 <exampleNumber>301012345</exampleNumber>
20790 <nationalNumberPattern>
20797 </nationalNumberPattern>
20798 <exampleNumber>701234567</exampleNumber>
20801 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
20802 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20803 <exampleNumber>800123456</exampleNumber>
20806 <!-- Revenu Partagé in the plan. -->
20807 <nationalNumberPattern>88[4689]\d{6}</nationalNumberPattern>
20808 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20809 <exampleNumber>884123456</exampleNumber>
20812 <nationalNumberPattern>81[02468]\d{6}</nationalNumberPattern>
20813 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20814 <exampleNumber>810123456</exampleNumber>
20817 <!-- Also covers satellite telephony ranges. -->
20818 <nationalNumberPattern>
20821 </nationalNumberPattern>
20822 <exampleNumber>933301234</exampleNumber>
20827 <!-- This document seems to cover only a small set of prefixes in Somalia. Somalia has limited
20828 information available, and the numerous telecom carriers were previously working under an
20829 unregulated environment. The extra prefixes were added from the contact phone numbers of
20830 the countries main telecom operators. We also have received information that a national
20831 prefix of "0" is required when dialling from different regions (e.g. Puntland, Somaliland)
20832 for some operators, so that is included here although we do not use it when formatting. -->
20833 <territory id="SO" countryCode="252" internationalPrefix="00" nationalPrefix="0">
20835 <sourceUrl>http://www.itu.int/oth/T02020000C0/en</sourceUrl>
20836 <sourceUrl>http://en.wikipedia.org/wiki/+252</sourceUrl>
20839 <!-- These follow formats online, such as http://www.hortel.net/contact_us.html -->
20840 <numberFormat pattern="(\d)(\d{6})">
20845 <format>$1 $2</format>
20847 <numberFormat pattern="(\d)(\d{7})">
20852 <format>$1 $2</format>
20854 <numberFormat pattern="(\d{2})(\d{5,7})">
20860 <format>$1 $2</format>
20862 <numberFormat pattern="(69\d)(\d{6})">
20863 <leadingDigits>69</leadingDigits>
20864 <format>$1 $2</format>
20866 <numberFormat pattern="(90\d)(\d{3})(\d{3})">
20867 <leadingDigits>90</leadingDigits>
20868 <format>$1 $2 $3</format>
20870 </availableFormats>
20872 <nationalNumberPattern>[1-79]\d{6,8}</nationalNumberPattern>
20873 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
20876 <!-- Apparently Telesom and Nationlink (Somaliland) both use the prefix 2. We exclude 28
20877 here since that is apparently used for mobile. -->
20878 <nationalNumberPattern>
20886 </nationalNumberPattern>
20887 <possibleNumberPattern>\d{7}</possibleNumberPattern>
20888 <exampleNumber>4012345</exampleNumber>
20891 <!-- 24 is used by the carrier Telesom. 28 is used by Nationlink. 6[89] are apparently used
20892 by Nationlink Somalia, 67 by Nationlink Puntland, and 61 by Hormuud. 7X is used by
20893 Somtel. 6 followed by only 7 digits is used by Telecom. Note that in June 2014 many
20894 ranges were suspended by the government. 90\d{6} was listed as one of the ranges to be
20895 suspended, but open-source contributors confirm that 907\d{6} is still in use, even if
20896 the shorter 90 ranges are no longer. -->
20897 <nationalNumberPattern>
20908 </nationalNumberPattern>
20909 <exampleNumber>71123456</exampleNumber>
20914 <territory id="SR" countryCode="597" internationalPrefix="00">
20916 <sourceUrl>http://www.itu.int/oth/T02020000C5/en</sourceUrl>
20919 <!-- Following conventions used in the Suriname Yellow Pages. -->
20920 <numberFormat pattern="(\d{3})(\d{3})">
20925 <format>$1-$2</format>
20927 <numberFormat pattern="(\d{2})(\d{2})(\d{2})">
20928 <leadingDigits>56</leadingDigits>
20929 <format>$1-$2-$3</format>
20931 <numberFormat pattern="(\d{3})(\d{4})">
20936 <format>$1-$2</format>
20938 </availableFormats>
20940 <nationalNumberPattern>[2-8]\d{5,6}</nationalNumberPattern>
20941 <possibleNumberPattern>\d{6,7}</possibleNumberPattern>
20944 <!-- Includes non-geographic WLL-CDMA Fixed Lines. -->
20945 <nationalNumberPattern>
20953 </nationalNumberPattern>
20954 <exampleNumber>211234</exampleNumber>
20957 <nationalNumberPattern>
20962 </nationalNumberPattern>
20963 <possibleNumberPattern>\d{7}</possibleNumberPattern>
20964 <exampleNumber>7412345</exampleNumber>
20967 <nationalNumberPattern>
20972 </nationalNumberPattern>
20973 <possibleNumberPattern>\d{6,7}</possibleNumberPattern>
20974 <exampleNumber>561234</exampleNumber>
20978 <!-- South Sudan -->
20979 <territory id="SS" countryCode="211" internationalPrefix="00" nationalPrefix="0">
20981 <sourceUrl>http://www.itu.int/oth/T02020000F9/en</sourceUrl>
20982 <sourceUrl>http://en.wikipedia.org/wiki/+211</sourceUrl>
20985 <numberFormat pattern="(\d{3})(\d{3})(\d{3})" nationalPrefixFormattingRule="$NP$FG">
20986 <format>$1 $2 $3</format>
20988 </availableFormats>
20990 <nationalNumberPattern>[19]\d{8}</nationalNumberPattern>
20991 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20994 <nationalNumberPattern>18\d{7}</nationalNumberPattern>
20995 <exampleNumber>181234567</exampleNumber>
20998 <nationalNumberPattern>
21003 </nationalNumberPattern>
21004 <exampleNumber>977123456</exampleNumber>
21008 <!-- Sao Tome and Principe -->
21009 <territory id="ST" countryCode="239" internationalPrefix="00">
21011 <sourceUrl>http://www.itu.int/oth/T02020000B6/en</sourceUrl>
21014 <numberFormat pattern="(\d{3})(\d{4})">
21015 <format>$1 $2</format>
21017 </availableFormats>
21019 <nationalNumberPattern>[29]\d{6}</nationalNumberPattern>
21020 <possibleNumberPattern>\d{7}</possibleNumberPattern>
21023 <nationalNumberPattern>22\d{5}</nationalNumberPattern>
21024 <exampleNumber>2221234</exampleNumber>
21027 <nationalNumberPattern>9[89]\d{5}</nationalNumberPattern>
21028 <exampleNumber>9812345</exampleNumber>
21032 <!-- El Salvador -->
21033 <territory id="SV" countryCode="503" internationalPrefix="00">
21035 <sourceUrl>http://www.itu.int/oth/T020200003F/en</sourceUrl>
21036 <sourceUrl>http://www.siget.gob.sv/BusquedaPublica.aspx?pagina=3&tipo=27&titulo=t8&sector=2&ordenar=&dir=DESC</sourceUrl>
21039 <numberFormat pattern="(\d{4})(\d{4})">
21040 <leadingDigits>[267]</leadingDigits>
21041 <format>$1 $2</format>
21043 <numberFormat pattern="(\d{3})(\d{4})">
21044 <leadingDigits>[89]</leadingDigits>
21045 <format>$1 $2</format>
21047 <numberFormat pattern="(\d{3})(\d{4})(\d{4})">
21048 <leadingDigits>[89]</leadingDigits>
21049 <format>$1 $2 $3</format>
21051 </availableFormats>
21053 <nationalNumberPattern>
21055 [89]\d{6}(?:\d{4})?
21056 </nationalNumberPattern>
21057 <possibleNumberPattern>
21060 </possibleNumberPattern>
21063 <!-- Numbers starting with 20, 27, 28 and 29 are reserved but not yet used. -->
21064 <nationalNumberPattern>2[1-6]\d{6}</nationalNumberPattern>
21065 <possibleNumberPattern>\d{8}</possibleNumberPattern>
21066 <exampleNumber>21234567</exampleNumber>
21069 <nationalNumberPattern>[67]\d{7}</nationalNumberPattern>
21070 <possibleNumberPattern>\d{8}</possibleNumberPattern>
21071 <exampleNumber>70123456</exampleNumber>
21074 <!-- Toll free numbers are either 800 NNNN or 800 NNNN NNNN. -->
21075 <nationalNumberPattern>800\d{4}(?:\d{4})?</nationalNumberPattern>
21076 <possibleNumberPattern>\d{7}(?:\d{4})?</possibleNumberPattern>
21077 <exampleNumber>8001234</exampleNumber>
21080 <!-- Premium rate numbers are either 900 NNNN or 900 NNNN NNNN. -->
21081 <nationalNumberPattern>900\d{4}(?:\d{4})?</nationalNumberPattern>
21082 <possibleNumberPattern>\d{7}(?:\d{4})?</possibleNumberPattern>
21083 <exampleNumber>9001234</exampleNumber>
21087 <!-- Sint Maarten -->
21088 <territory id="SX" countryCode="1" leadingDigits="721" nationalPrefix="1"
21089 internationalPrefix="011">
21091 <sourceUrl>http://www.nanpa.com/pdf/PL_429.pdf</sourceUrl>
21092 <sourceUrl>http://www.itu.int/oth/T02020000F7/en</sourceUrl>
21095 <!-- NANPA country - uses US formatting rules -->
21096 <nationalNumberPattern>[5789]\d{9}</nationalNumberPattern>
21097 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
21100 <nationalNumberPattern>
21106 </nationalNumberPattern>
21107 <exampleNumber>7215425678</exampleNumber>
21110 <!-- We assume we can send SMSs to the Fixed GSM numbers mentioned in the plan and hence
21111 include these as mobile numbers. -->
21112 <nationalNumberPattern>
21119 </nationalNumberPattern>
21120 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21121 <exampleNumber>7215205678</exampleNumber>
21124 <nationalNumberPattern>
21133 </nationalNumberPattern>
21134 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21135 <exampleNumber>8002123456</exampleNumber>
21138 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
21139 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21140 <exampleNumber>9002123456</exampleNumber>
21143 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
21144 <nationalNumberPattern>
21152 </nationalNumberPattern>
21153 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21154 <exampleNumber>5002345678</exampleNumber>
21158 <!-- Syrian Arab Republic -->
21159 <territory id="SY" countryCode="963" internationalPrefix="00"
21160 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
21161 nationalPrefixOptionalWhenFormatting="true">
21163 <sourceUrl>http://www.itu.int/oth/T02020000C9/en</sourceUrl>
21164 <sourceUrl>http://en.wikipedia.org/wiki/%2B963</sourceUrl>
21167 <numberFormat pattern="(\d{2})(\d{3})(\d{3,4})">
21168 <leadingDigits>[1-5]</leadingDigits>
21169 <format>$1 $2 $3</format>
21171 <numberFormat pattern="(9\d{2})(\d{3})(\d{3})">
21172 <leadingDigits>9</leadingDigits>
21173 <format>$1 $2 $3</format>
21175 </availableFormats>
21177 <nationalNumberPattern>[1-59]\d{7,8}</nationalNumberPattern>
21178 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
21181 <!-- Numbers with the 21 prefix are made optionally 1-digit longer based on numbers found on
21183 <nationalNumberPattern>
21201 </nationalNumberPattern>
21202 <exampleNumber>112345678</exampleNumber>
21205 <!-- Numbers have been found on the Internet for the prefixes 922, 93[046-8],
21206 95[138], and 96[05]. -->
21207 <nationalNumberPattern>
21216 </nationalNumberPattern>
21217 <possibleNumberPattern>\d{9}</possibleNumberPattern>
21218 <exampleNumber>944567890</exampleNumber>
21220 <!-- No tollFree or premiumRate information can be found. -->
21224 <territory id="SZ" countryCode="268" internationalPrefix="00" leadingZeroPossible="true">
21226 <sourceUrl>http://www.itu.int/oth/T02020000C6/en</sourceUrl>
21229 <numberFormat pattern="(\d{4})(\d{4})">
21230 <leadingDigits>[027]</leadingDigits>
21231 <format>$1 $2</format>
21233 </availableFormats>
21235 <nationalNumberPattern>[027]\d{7}</nationalNumberPattern>
21236 <possibleNumberPattern>\d{8}</possibleNumberPattern>
21238 <noInternationalDialling>
21239 <nationalNumberPattern>0800\d{4}</nationalNumberPattern>
21240 <possibleNumberPattern>\d{8}</possibleNumberPattern>
21241 <exampleNumber>08001234</exampleNumber>
21242 </noInternationalDialling>
21244 <nationalNumberPattern>
21269 </nationalNumberPattern>
21270 <exampleNumber>22171234</exampleNumber>
21273 <nationalNumberPattern>7[6-8]\d{6}</nationalNumberPattern>
21274 <exampleNumber>76123456</exampleNumber>
21277 <nationalNumberPattern>0800\d{4}</nationalNumberPattern>
21278 <exampleNumber>08001234</exampleNumber>
21282 <!-- Tristan da Cunha -->
21283 <territory id="TA" countryCode="290" internationalPrefix="00">
21285 <sourceUrl>http://www.itu.int/oth/T02020000AF/en</sourceUrl>
21287 <!-- Numbers are formatted as a block. Shares a country code with Saint Helena. -->
21289 <nationalNumberPattern>8\d{3}</nationalNumberPattern>
21290 <possibleNumberPattern>\d{4}</possibleNumberPattern>
21293 <nationalNumberPattern>8\d{3}</nationalNumberPattern>
21294 <exampleNumber>8999</exampleNumber>
21297 <nationalNumberPattern>NA</nationalNumberPattern>
21298 <possibleNumberPattern>NA</possibleNumberPattern>
21302 <!-- Turks and Caicos Islands -->
21303 <territory id="TC" countryCode="1" leadingDigits="649" nationalPrefix="1"
21304 internationalPrefix="011">
21306 <sourceUrl>http://www.itu.int/oth/T02020000D8/en</sourceUrl>
21309 <!-- NANPA country - uses US formatting rules -->
21310 <nationalNumberPattern>[5689]\d{9}</nationalNumberPattern>
21311 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
21314 <nationalNumberPattern>
21322 </nationalNumberPattern>
21323 <exampleNumber>6497121234</exampleNumber>
21326 <!-- Extra prefixes 246, 247, 346 found online and in the yellow pages. -->
21327 <nationalNumberPattern>
21339 </nationalNumberPattern>
21340 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21341 <exampleNumber>6492311234</exampleNumber>
21344 <nationalNumberPattern>
21353 </nationalNumberPattern>
21354 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21355 <exampleNumber>8002345678</exampleNumber>
21358 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
21359 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21360 <exampleNumber>9002345678</exampleNumber>
21363 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
21364 <nationalNumberPattern>
21372 </nationalNumberPattern>
21373 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21374 <exampleNumber>5002345678</exampleNumber>
21377 <nationalNumberPattern>64971[01]\d{4}</nationalNumberPattern>
21378 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21379 <exampleNumber>6497101234</exampleNumber>
21384 <!-- The international prefix includes 16 as the international manual exchange. -->
21385 <territory id="TD" countryCode="235" preferredInternationalPrefix="00"
21386 internationalPrefix="00|16">
21388 <sourceUrl>http://www.itu.int/oth/T0202000029/en</sourceUrl>
21392 pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
21393 <format>$1 $2 $3 $4</format>
21395 </availableFormats>
21397 <nationalNumberPattern>[2679]\d{7}</nationalNumberPattern>
21398 <possibleNumberPattern>\d{8}</possibleNumberPattern>
21401 <nationalNumberPattern>
21407 </nationalNumberPattern>
21408 <exampleNumber>22501234</exampleNumber>
21411 <!-- Sotel Tchad "SALAM" (77 XX XX XX) is classified as a fixed operator in the plan, but it
21412 also says numbers starting with 7 are mobile numbers. Putting under mobile for now.
21413 Also adding 6[028] and 63[5-9] which are operated by Airtel. -->
21414 <nationalNumberPattern>
21423 </nationalNumberPattern>
21424 <exampleNumber>63012345</exampleNumber>
21428 <!-- French Southern Territories -->
21429 <!-- id="TF" countryCode="262" internationalPrefix="00" nationalPrefix="0" -->
21430 <!-- This country is not covered due to lack of information about its numbering plan. It has 140
21431 temporary inhabitants. -->
21434 <territory id="TG" countryCode="228" internationalPrefix="00">
21436 <sourceUrl>http://www.itu.int/oth/T02020000D1/en</sourceUrl>
21439 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
21440 <format>$1 $2 $3 $4</format>
21442 </availableFormats>
21444 <nationalNumberPattern>[29]\d{7}</nationalNumberPattern>
21445 <possibleNumberPattern>\d{8}</possibleNumberPattern>
21448 <nationalNumberPattern>
21457 </nationalNumberPattern>
21458 <exampleNumber>22212345</exampleNumber>
21461 <!-- Prefix 93 is from an open-source bug report -->
21462 <nationalNumberPattern>9[0-389]\d{6}</nationalNumberPattern>
21463 <exampleNumber>90112345</exampleNumber>
21468 <territory id="TH" countryCode="66" internationalPrefix="00"
21469 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
21470 mobileNumberPortableRegion="true">
21472 <sourceUrl>http://www.itu.int/oth/T02020000CD/en</sourceUrl>
21473 <sourceUrl>http://www.barascientific.com/bscnews/variety/emergency/Tel-4Digi.pdf</sourceUrl>
21476 <!-- Formatting patterns from wikipedia and the document itself -
21477 http://en.wikipedia.org/wiki/%2B66 -->
21478 <numberFormat pattern="(2)(\d{3})(\d{4})">
21479 <leadingDigits>2</leadingDigits>
21480 <format>$1 $2 $3</format>
21482 <numberFormat pattern="([13-9]\d)(\d{3})(\d{3,4})">
21487 <format>$1 $2 $3</format>
21489 <numberFormat nationalPrefixFormattingRule="$FG"
21490 pattern="(1[89]00)(\d{3})(\d{3})">
21491 <leadingDigits>1</leadingDigits>
21492 <format>$1 $2 $3</format>
21494 </availableFormats>
21496 <nationalNumberPattern>
21499 </nationalNumberPattern>
21500 <possibleNumberPattern>\d{4}|\d{8,10}</possibleNumberPattern>
21502 <noInternationalDialling>
21503 <nationalNumberPattern>1\d{3}</nationalNumberPattern>
21504 <possibleNumberPattern>\d{4}</possibleNumberPattern>
21505 <exampleNumber>1100</exampleNumber>
21506 </noInternationalDialling>
21508 <!-- Numbers online have been found that start with 20, despite the ITU doc not covering
21510 <nationalNumberPattern>
21518 </nationalNumberPattern>
21519 <possibleNumberPattern>\d{8}</possibleNumberPattern>
21520 <exampleNumber>21234567</exampleNumber>
21523 <!-- Numbers found online starting with 62. 14 and 63 are from an open-source bug report,
21524 we couldn't find evidence of these specifically being in use but this article
21525 http://www.prachachat.net/news_detail.php?newsid=1395732787&grpid=03&catid=06&subcatid=0600
21526 talks about prefix 6 and 1 being cleared for mobile use. -->
21527 <nationalNumberPattern>
21533 </nationalNumberPattern>
21534 <possibleNumberPattern>\d{9}</possibleNumberPattern>
21535 <exampleNumber>812345678</exampleNumber>
21537 <!-- http://en.wikipedia.org/wiki/Toll-free_telephone_number -->
21539 <nationalNumberPattern>1800\d{6}</nationalNumberPattern>
21540 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21541 <exampleNumber>1800123456</exampleNumber>
21544 <nationalNumberPattern>1900\d{6}</nationalNumberPattern>
21545 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21546 <exampleNumber>1900123456</exampleNumber>
21549 <!-- The ITU document says that the 89 prefix is also VOIP but there are lots of numbers
21550 online to suggest they are actually used as mobile numbers. -->
21551 <nationalNumberPattern>6[08]\d{7}</nationalNumberPattern>
21552 <possibleNumberPattern>\d{9}</possibleNumberPattern>
21553 <exampleNumber>601234567</exampleNumber>
21556 <!-- 4-digit numbers are classified under UAN. Most of these are commercial numbers, and
21557 their costs range from free to 6 Baht/min. -->
21558 <nationalNumberPattern>1\d{3}</nationalNumberPattern>
21559 <possibleNumberPattern>\d{4}</possibleNumberPattern>
21560 <exampleNumber>1100</exampleNumber>
21564 <!-- Tajikistan -->
21565 <territory id="TJ" countryCode="992" preferredInternationalPrefix="8~10"
21566 internationalPrefix="810" nationalPrefix="8"
21567 nationalPrefixFormattingRule="($NP) $FG"
21568 nationalPrefixOptionalWhenFormatting="true">
21570 <sourceUrl>http://www.itu.int/oth/T02020000CA/en</sourceUrl>
21573 <numberFormat pattern="([349]\d{2})(\d{2})(\d{4})">
21578 <format>$1 $2 $3</format>
21580 <numberFormat pattern="([459]\d)(\d{3})(\d{4})">
21589 <format>$1 $2 $3</format>
21591 <numberFormat pattern="(331700)(\d)(\d{2})">
21592 <leadingDigits>331</leadingDigits>
21593 <leadingDigits>3317</leadingDigits>
21594 <leadingDigits>33170</leadingDigits>
21595 <leadingDigits>331700</leadingDigits>
21596 <format>$1 $2 $3</format>
21598 <numberFormat pattern="(\d{4})(\d)(\d{4})">
21599 <leadingDigits>3[1-5]</leadingDigits>
21609 <format>$1 $2 $3</format>
21611 </availableFormats>
21613 <nationalNumberPattern>[3-59]\d{8}</nationalNumberPattern>
21614 <possibleNumberPattern>\d{3,9}</possibleNumberPattern>
21617 <nationalNumberPattern>
21633 </nationalNumberPattern>
21634 <exampleNumber>372123456</exampleNumber>
21637 <!-- Adding 90 prefix as SMS messages could be successfully delivered to these mobile
21638 numbers, and 50[12] for TCell from bug reports. -->
21639 <nationalNumberPattern>
21644 </nationalNumberPattern>
21645 <possibleNumberPattern>\d{9}</possibleNumberPattern>
21646 <exampleNumber>917123456</exampleNumber>
21648 <!-- No tollFree or premiumRate information can be found. -->
21652 <territory id="TK" countryCode="690" internationalPrefix="00">
21654 <sourceUrl>http://www.itu.int/oth/T02020000D2/en</sourceUrl>
21657 <nationalNumberPattern>[2-9]\d{3}</nationalNumberPattern>
21658 <possibleNumberPattern>\d{4}</possibleNumberPattern>
21661 <nationalNumberPattern>[2-4]\d{3}</nationalNumberPattern>
21662 <!-- The example number is the contact number from the ITU document. -->
21663 <exampleNumber>3010</exampleNumber>
21666 <nationalNumberPattern>[5-9]\d{3}</nationalNumberPattern>
21667 <exampleNumber>5190</exampleNumber>
21671 <!-- Timor-Leste (East Timor) -->
21672 <territory id="TL" countryCode="670" internationalPrefix="00">
21674 <sourceUrl>http://www.itu.int/oth/T02020000D0/en</sourceUrl>
21677 <numberFormat pattern="(\d{3})(\d{4})">
21678 <leadingDigits>[2-489]</leadingDigits>
21679 <format>$1 $2</format>
21681 <!-- Since numbers grew an extra digit, we have no indication of how people are formatting
21682 them. If we see another pattern being used, we should change this later. -->
21683 <numberFormat pattern="(\d{4})(\d{4})">
21684 <leadingDigits>7</leadingDigits>
21685 <format>$1 $2</format>
21687 </availableFormats>
21689 <nationalNumberPattern>
21692 </nationalNumberPattern>
21693 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
21696 <nationalNumberPattern>
21702 </nationalNumberPattern>
21703 <possibleNumberPattern>\d{7}</possibleNumberPattern>
21704 <exampleNumber>2112345</exampleNumber>
21707 <nationalNumberPattern>7[3-8]\d{6}</nationalNumberPattern>
21708 <possibleNumberPattern>\d{8}</possibleNumberPattern>
21709 <exampleNumber>77212345</exampleNumber>
21712 <nationalNumberPattern>80\d{5}</nationalNumberPattern>
21713 <possibleNumberPattern>\d{7}</possibleNumberPattern>
21714 <exampleNumber>8012345</exampleNumber>
21717 <nationalNumberPattern>90\d{5}</nationalNumberPattern>
21718 <possibleNumberPattern>\d{7}</possibleNumberPattern>
21719 <exampleNumber>9012345</exampleNumber>
21721 <!-- We don't include paging or voicemail because the identified paging range was used by
21722 mobile previously, and for voicemail, it is unclear if the 2012 change affected these
21723 numbers, or if the range was indeed previously used for voicemail at all. -->
21725 <!-- We presume this wasn't affected by the numbering plan update. -->
21726 <nationalNumberPattern>70\d{5}</nationalNumberPattern>
21727 <possibleNumberPattern>\d{7}</possibleNumberPattern>
21728 <exampleNumber>7012345</exampleNumber>
21732 <!-- Turkmenistan -->
21733 <territory id="TM" countryCode="993" preferredInternationalPrefix="8~10"
21734 internationalPrefix="810" nationalPrefix="8"
21735 nationalPrefixFormattingRule="($NP $FG)">
21737 <sourceUrl>http://www.itu.int/oth/T02020000D7/en</sourceUrl>
21738 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Turkmenistan</sourceUrl>
21741 <!-- There doesn't seem to be a standardized format. The format below is based on the
21742 Turkmenistan embassy at
21743 http://www.turkmenistanembassy.org/turkmen/info/contact.html -->
21744 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
21745 <leadingDigits>12</leadingDigits>
21746 <format>$1 $2-$3-$4</format>
21748 <numberFormat pattern="(\d{2})(\d{6})" nationalPrefixFormattingRule="$NP $FG">
21749 <leadingDigits>6</leadingDigits>
21750 <format>$1 $2</format>
21752 <numberFormat pattern="(\d{3})(\d)(\d{2})(\d{2})">
21757 <format>$1 $2-$3-$4</format>
21759 </availableFormats>
21761 <nationalNumberPattern>[1-6]\d{7}</nationalNumberPattern>
21762 <possibleNumberPattern>\d{8}</possibleNumberPattern>
21765 <!-- Additional prefixes from the wikipedia page. -->
21766 <nationalNumberPattern>
21792 </nationalNumberPattern>
21793 <exampleNumber>12345678</exampleNumber>
21796 <!-- According to feedback from users, the carrier Altyn Asyr is the only one currently
21797 operating, with the numbers 6[3-5]\d{6}. MTS used to operate the ranges 6[6-8] but this
21798 has been suspended. It is unclear whether it will resume. We support both ranges in the
21799 meantime. The range 62 seems also now to be in use, according to numbers found online.
21801 <nationalNumberPattern>6[2-8]\d{6}</nationalNumberPattern>
21802 <exampleNumber>66123456</exampleNumber>
21804 <!-- No tollFree or premiumRate information can be found. -->
21808 <territory id="TN" countryCode="216" internationalPrefix="00">
21810 <sourceUrl>http://www.itu.int/oth/T02020000D5/en</sourceUrl>
21811 <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>
21812 <sourceUrl>http://www.tunisietelecom.tn/tt/internet/fr/pme/fixe/numeros_acceuil</sourceUrl>
21815 <numberFormat pattern="(\d{2})(\d{3})(\d{3})">
21816 <format>$1 $2 $3</format>
21818 </availableFormats>
21820 <nationalNumberPattern>[2-57-9]\d{7}</nationalNumberPattern>
21821 <possibleNumberPattern>\d{8}</possibleNumberPattern>
21824 <!-- 3[012] numbers are no longer listed in the ITU doc, but we support them based on
21825 online searches. -->
21826 <nationalNumberPattern>
21830 </nationalNumberPattern>
21831 <exampleNumber>71234567</exampleNumber>
21834 <!-- Numbers starting with 5 are no longer listed in the ITU doc, but we support them based
21835 on online searches and Wikipedia. -->
21836 <nationalNumberPattern>
21841 </nationalNumberPattern>
21842 <exampleNumber>20123456</exampleNumber>
21845 <!-- ITU lists 80 xx xx xx, but the document published by Tunisie Telecom has more specific
21846 information which is followed here. -->
21847 <nationalNumberPattern>8010\d{4}</nationalNumberPattern>
21848 <exampleNumber>80101234</exampleNumber>
21851 <nationalNumberPattern>88\d{6}</nationalNumberPattern>
21852 <exampleNumber>88123456</exampleNumber>
21855 <!-- 8110xxxx numbers are listed as being "discounted non-geographical numbers" and are put
21856 here for now. In the future we might consider them as UAN.
21857 ITU lists 82 xx xx xx, but the document published by Tunisie Telecom has more specific
21858 information which is followed here. -->
21859 <nationalNumberPattern>8[12]10\d{4}</nationalNumberPattern>
21860 <exampleNumber>81101234</exampleNumber>
21865 <territory id="TO" countryCode="676" internationalPrefix="00" leadingZeroPossible="true">
21867 <sourceUrl>http://www.itu.int/oth/T02020000D3/en</sourceUrl>
21868 <sourceUrl>http://www.wtng.info/wtng-676-to.html</sourceUrl>
21871 <numberFormat pattern="(\d{2})(\d{3})">
21877 <format>$1-$2</format>
21879 <numberFormat pattern="(\d{3})(\d{4})">
21884 <format>$1 $2</format>
21886 <numberFormat pattern="(\d{4})(\d{3})">
21887 <leadingDigits>0</leadingDigits>
21888 <format>$1 $2</format>
21890 </availableFormats>
21892 <nationalNumberPattern>[02-8]\d{4,6}</nationalNumberPattern>
21893 <possibleNumberPattern>\d{5,7}</possibleNumberPattern>
21896 <nationalNumberPattern>
21905 </nationalNumberPattern>
21906 <possibleNumberPattern>\d{5}</possibleNumberPattern>
21907 <exampleNumber>20123</exampleNumber>
21910 <!-- TCC mobile numbers were given a prefix of "77" in 2009, although this is not mentioned
21911 in their ITU document. Numbers with a prefix of "75" and "84" have also been found. -->
21912 <nationalNumberPattern>
21917 </nationalNumberPattern>
21918 <possibleNumberPattern>\d{7}</possibleNumberPattern>
21919 <exampleNumber>7715123</exampleNumber>
21922 <nationalNumberPattern>0800\d{3}</nationalNumberPattern>
21923 <possibleNumberPattern>\d{7}</possibleNumberPattern>
21924 <exampleNumber>0800222</exampleNumber>
21929 <territory id="TR" countryCode="90" internationalPrefix="00" nationalPrefix="0"
21930 mobileNumberPortableRegion="true">
21932 <sourceUrl>http://en.wikipedia.org/wiki/%2B90</sourceUrl>
21933 <sourceUrl>http://www.itu.int/oth/T02020000D6/en</sourceUrl>
21936 <numberFormat nationalPrefixFormattingRule="($NP$FG)" pattern="(\d{3})(\d{3})(\d{4})"
21937 nationalPrefixOptionalWhenFormatting="true">
21945 <format>$1 $2 $3</format>
21947 <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(\d{3})(\d{3})(\d{4})"
21948 nationalPrefixOptionalWhenFormatting="true">
21949 <leadingDigits>[589]</leadingDigits>
21950 <format>$1 $2 $3</format>
21952 <numberFormat pattern="(444)(\d{1})(\d{3})">
21953 <leadingDigits>444</leadingDigits>
21954 <format>$1 $2 $3</format>
21956 </availableFormats>
21958 <nationalNumberPattern>
21961 </nationalNumberPattern>
21962 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
21964 <noInternationalDialling>
21965 <nationalNumberPattern>444\d{4}</nationalNumberPattern>
21966 <possibleNumberPattern>\d{7}</possibleNumberPattern>
21967 <exampleNumber>4441444</exampleNumber>
21968 </noInternationalDialling>
21970 <!-- Includes numbers starting with 392 for Northern Cyprus. -->
21971 <nationalNumberPattern>
21991 </nationalNumberPattern>
21992 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21993 <exampleNumber>2123456789</exampleNumber>
21996 <!-- There are some differences between the Turkish and English wikipedia pages here, and
21997 some number prefixes do not seem to be able to be found online. Omitting 500, 508 and
21998 509 from the English page because of this. -->
21999 <nationalNumberPattern>
22007 </nationalNumberPattern>
22008 <possibleNumberPattern>\d{10}</possibleNumberPattern>
22009 <exampleNumber>5012345678</exampleNumber>
22012 <nationalNumberPattern>512\d{7}</nationalNumberPattern>
22013 <possibleNumberPattern>\d{10}</possibleNumberPattern>
22014 <exampleNumber>5123456789</exampleNumber>
22017 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
22018 <possibleNumberPattern>\d{10}</possibleNumberPattern>
22019 <exampleNumber>8001234567</exampleNumber>
22022 <nationalNumberPattern>900\d{7}</nationalNumberPattern>
22023 <possibleNumberPattern>\d{10}</possibleNumberPattern>
22024 <exampleNumber>9001234567</exampleNumber>
22027 <!-- http://www.turktelekom.com.tr/tt/portal/News/Archive/7-digit-special-service-number-starting-with-444 -->
22028 <nationalNumberPattern>
22031 </nationalNumberPattern>
22032 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
22033 <exampleNumber>4441444</exampleNumber>
22037 <!-- Trinidad and Tobago -->
22038 <territory id="TT" countryCode="1" leadingDigits="868" nationalPrefix="1"
22039 internationalPrefix="011">
22041 <sourceUrl>http://www.itu.int/oth/T02020000D4/en</sourceUrl>
22044 <!-- NANPA country - uses US formatting rules -->
22045 <nationalNumberPattern>[589]\d{9}</nationalNumberPattern>
22046 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
22049 <nationalNumberPattern>
22064 </nationalNumberPattern>
22065 <exampleNumber>8682211234</exampleNumber>
22068 <nationalNumberPattern>
22090 </nationalNumberPattern>
22091 <possibleNumberPattern>\d{10}</possibleNumberPattern>
22092 <exampleNumber>8682911234</exampleNumber>
22095 <nationalNumberPattern>
22104 </nationalNumberPattern>
22105 <possibleNumberPattern>\d{10}</possibleNumberPattern>
22106 <exampleNumber>8002345678</exampleNumber>
22109 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
22110 <possibleNumberPattern>\d{10}</possibleNumberPattern>
22111 <exampleNumber>9002345678</exampleNumber>
22114 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
22115 <nationalNumberPattern>
22123 </nationalNumberPattern>
22124 <possibleNumberPattern>\d{10}</possibleNumberPattern>
22125 <exampleNumber>5002345678</exampleNumber>
22130 <territory id="TV" countryCode="688" internationalPrefix="00">
22132 <sourceUrl>http://www.itu.int/oth/T02020000D9/en</sourceUrl>
22133 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Tuvalu</sourceUrl>
22135 <!-- Numbers are formatted as a block. -->
22137 <nationalNumberPattern>[29]\d{4,5}</nationalNumberPattern>
22138 <possibleNumberPattern>\d{5,6}</possibleNumberPattern>
22141 <nationalNumberPattern>2[02-9]\d{3}</nationalNumberPattern>
22142 <possibleNumberPattern>\d{5}</possibleNumberPattern>
22143 <exampleNumber>20123</exampleNumber>
22146 <!-- Some numbers online can be found that are 5-digits long, and start with 90 or 91. We
22147 don't know if these are valid or not - the ITU document excludes them - so are not
22148 covering these for now. -->
22149 <nationalNumberPattern>90\d{4}</nationalNumberPattern>
22150 <possibleNumberPattern>\d{6}</possibleNumberPattern>
22151 <exampleNumber>901234</exampleNumber>
22155 <!-- Taiwan, China -->
22156 <!-- Extension symbols found on the internet so far have been #, X and Ext - so # has been
22157 chosen as the preferred extension prefix. -->
22158 <territory id="TW" countryCode="886" internationalPrefix="0(?:0[25679]|19)"
22159 nationalPrefix="0" preferredExtnPrefix="#" nationalPrefixFormattingRule="$NP$FG"
22160 mobileNumberPortableRegion="true">
22162 <sourceUrl>http://www.itu.int/oth/T02020000EB/en</sourceUrl>
22165 <numberFormat pattern="([2-8])(\d{3,4})(\d{4})">
22170 <format>$1 $2 $3</format>
22172 <numberFormat pattern="([89]\d{2})(\d{3})(\d{3})">
22177 <format>$1 $2 $3</format>
22179 <numberFormat pattern="(70)(\d{4})(\d{4})">
22180 <leadingDigits>70</leadingDigits>
22181 <format>$1 $2 $3</format>
22183 </availableFormats>
22185 <nationalNumberPattern>
22188 </nationalNumberPattern>
22189 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
22192 <nationalNumberPattern>[2-8]\d{7,8}</nationalNumberPattern>
22193 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
22194 <exampleNumber>21234567</exampleNumber>
22197 <nationalNumberPattern>9\d{8}</nationalNumberPattern>
22198 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22199 <exampleNumber>912345678</exampleNumber>
22202 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
22203 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22204 <exampleNumber>800123456</exampleNumber>
22207 <nationalNumberPattern>900\d{6}</nationalNumberPattern>
22208 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22209 <exampleNumber>900123456</exampleNumber>
22211 <!-- http://www.chief.com.tw/telecom_eng/front/bin/ptlist.phtml?Category=107 -->
22213 <nationalNumberPattern>70\d{8}</nationalNumberPattern>
22214 <possibleNumberPattern>\d{10}</possibleNumberPattern>
22215 <exampleNumber>7012345678</exampleNumber>
22220 <territory id="TZ" countryCode="255" internationalPrefix="00[056]"
22221 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
22223 <sourceUrl>http://www.itu.int/oth/T02020000CB/en</sourceUrl>
22226 <numberFormat pattern="([24]\d)(\d{3})(\d{4})">
22227 <leadingDigits>[24]</leadingDigits>
22228 <format>$1 $2 $3</format>
22230 <numberFormat pattern="([67]\d{2})(\d{3})(\d{3})">
22231 <leadingDigits>[67]</leadingDigits>
22232 <format>$1 $2 $3</format>
22234 <!-- Formatting for special numbers from http://www.tcra.go.tz -->
22235 <numberFormat pattern="([89]\d{2})(\d{2})(\d{4})">
22236 <leadingDigits>[89]</leadingDigits>
22237 <format>$1 $2 $3</format>
22239 </availableFormats>
22241 <nationalNumberPattern>\d{9}</nationalNumberPattern>
22242 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
22245 <nationalNumberPattern>2[2-8]\d{7}</nationalNumberPattern>
22246 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
22247 <exampleNumber>222345678</exampleNumber>
22250 <nationalNumberPattern>
22255 </nationalNumberPattern>
22256 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22257 <exampleNumber>612345678</exampleNumber>
22260 <nationalNumberPattern>80[08]\d{6}</nationalNumberPattern>
22261 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22262 <exampleNumber>800123456</exampleNumber>
22265 <nationalNumberPattern>90\d{7}</nationalNumberPattern>
22266 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22267 <exampleNumber>900123456</exampleNumber>
22270 <nationalNumberPattern>
22275 </nationalNumberPattern>
22276 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22277 <exampleNumber>840123456</exampleNumber>
22280 <nationalNumberPattern>41\d{7}</nationalNumberPattern>
22281 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22282 <exampleNumber>412345678</exampleNumber>
22287 <territory id="UA" countryCode="380" preferredInternationalPrefix="0~0"
22288 internationalPrefix="00"
22289 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
22291 <sourceUrl>http://www.itu.int/oth/T02020000DB/en</sourceUrl>
22292 <sourceUrl>http://en.wikipedia.org/wiki/%2B380</sourceUrl>
22295 <!-- City codes separated out. No definitive list has been found of what constitutes the
22296 area code - http://www.ua.all-biz.info/guide/phonecodes is useful but not error-free.
22297 Have used local yellow pages guidelines, Google searches and regression tests to
22298 reverse-engineer these rules as well as bugs. -->
22299 <numberFormat pattern="([3-689]\d)(\d{3})(\d{4})">
22331 <format>$1 $2 $3</format>
22333 <numberFormat pattern="([3-689]\d{2})(\d{3})(\d{3})">
22370 <format>$1 $2 $3</format>
22372 <numberFormat pattern="([3-6]\d{3})(\d{5})">
22428 <format>$1 $2</format>
22430 </availableFormats>
22432 <nationalNumberPattern>[3-689]\d{8}</nationalNumberPattern>
22433 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
22436 <nationalNumberPattern>
22443 </nationalNumberPattern>
22444 <exampleNumber>311234567</exampleNumber>
22447 <nationalNumberPattern>
22454 </nationalNumberPattern>
22455 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22456 <exampleNumber>391234567</exampleNumber>
22459 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
22460 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22461 <exampleNumber>800123456</exampleNumber>
22464 <nationalNumberPattern>900\d{6}</nationalNumberPattern>
22465 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22466 <exampleNumber>900123456</exampleNumber>
22468 <!-- Added based on: http://www.didx.net/did/ShowCountry/Country/AreaDesc/Area/9442 -->
22470 <nationalNumberPattern>89\d{7}</nationalNumberPattern>
22471 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22472 <exampleNumber>891234567</exampleNumber>
22477 <territory id="UG" countryCode="256" internationalPrefix="00[057]"
22478 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
22480 <sourceUrl>http://www.itu.int/oth/T02020000F1/en</sourceUrl>
22481 <sourceUrl>http://www.ucc.co.ug/licensing/ugandaNumberingPlan.pdf</sourceUrl>
22484 <numberFormat pattern="(\d{3})(\d{6})">
22496 <format>$1 $2</format>
22498 <numberFormat pattern="(\d{2})(\d{7})">
22506 <format>$1 $2</format>
22508 <numberFormat pattern="(2024)(\d{5})">
22509 <leadingDigits>2024</leadingDigits>
22510 <format>$1 $2</format>
22512 </availableFormats>
22514 <nationalNumberPattern>\d{9}</nationalNumberPattern>
22515 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
22518 <!-- Ranges with prefixes 20[5-8] are "not yet operational" as of Feb. 2013. -->
22519 <nationalNumberPattern>
22532 </nationalNumberPattern>
22533 <!-- The ITU plan calls for all numbers to be exactly 9 digits. However, it's not clear if
22534 local dialing is still possible. We assume it is for now. -->
22535 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
22536 <exampleNumber>312345678</exampleNumber>
22539 <!-- Added 79[5-9] and 707 from online numbers found with this prefix. -->
22540 <!-- Ranges with prefixes 7[46] are "not yet operational" as of Jun. 2013. -->
22541 <!-- Ranges with prefixes 2030 or 723 are "not yet operational" as of Oct. 2014. -->
22542 <nationalNumberPattern>
22551 </nationalNumberPattern>
22552 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22553 <exampleNumber>712345678</exampleNumber>
22556 <nationalNumberPattern>800[123]\d{5}</nationalNumberPattern>
22557 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22558 <exampleNumber>800123456</exampleNumber>
22561 <nationalNumberPattern>90[123]\d{6}</nationalNumberPattern>
22562 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22563 <exampleNumber>901123456</exampleNumber>
22567 <!-- United States -->
22568 <!-- Note the national prefix of US is the same as its country code, and when formatting phone
22569 numbers in the national format, it is not included. Therefore, we omit it here to make
22570 formatting consistent with the rest of the world. The same applies to all the
22571 countries/regions under NANPA -->
22572 <!-- The national prefix of "1" here is the same as the country code. It is not used by default
22573 when formatting, but is set here so that users who are calling formatByPattern can specify
22574 NationalPrefixFormattingRule if they want to. -->
22575 <territory id="US" countryCode="1" internationalPrefix="011" mainCountryForCode="true"
22576 nationalPrefix="1" nationalPrefixOptionalWhenFormatting="true"
22577 mobileNumberPortableRegion="true">
22579 <sourceUrl>http://www.nanpa.com/reports/reports_npa.html</sourceUrl>
22580 <sourceUrl>http://en.wikipedia.org/wiki/North_American_Numbering_Plan</sourceUrl>
22583 <numberFormat pattern="(\d{3})(\d{4})">
22584 <format>$1-$2</format>
22585 <intlFormat>NA</intlFormat>
22587 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
22588 <format>($1) $2-$3</format>
22589 <!-- A different pattern is used when formatting internationally, as the area code is no
22590 longer optional and should not be in brackets. -->
22591 <intlFormat>$1-$2-$3</intlFormat>
22593 </availableFormats>
22595 <nationalNumberPattern>[2-9]\d{9}</nationalNumberPattern>
22596 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
22599 <nationalNumberPattern>
22687 </nationalNumberPattern>
22688 <exampleNumber>2015555555</exampleNumber>
22691 <nationalNumberPattern>
22779 </nationalNumberPattern>
22780 <exampleNumber>2015555555</exampleNumber>
22783 <nationalNumberPattern>
22792 </nationalNumberPattern>
22793 <possibleNumberPattern>\d{10}</possibleNumberPattern>
22794 <exampleNumber>8002345678</exampleNumber>
22797 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
22798 <possibleNumberPattern>\d{10}</possibleNumberPattern>
22799 <exampleNumber>9002345678</exampleNumber>
22802 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
22803 <nationalNumberPattern>
22811 </nationalNumberPattern>
22812 <possibleNumberPattern>\d{10}</possibleNumberPattern>
22813 <exampleNumber>5002345678</exampleNumber>
22818 <!-- International long-distance providers can be dialled by dialling 01 followed by a carrier
22819 code JK, where J = [3-9] and K is any digit. -->
22820 <territory id="UY" countryCode="598" internationalPrefix="0(?:1[3-9]\d|0)"
22821 preferredInternationalPrefix="00" nationalPrefix="0" preferredExtnPrefix=" int. ">
22823 <sourceUrl>http://www.itu.int/oth/T02020000E0/en</sourceUrl>
22824 <sourceUrl>http://www.ursec.gub.uy</sourceUrl>
22825 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Uruguay</sourceUrl>
22828 <!-- Following paginasamarillas.com.uy formatting. -->
22829 <numberFormat pattern="(\d{4})(\d{4})">
22830 <leadingDigits>[24]</leadingDigits>
22831 <format>$1 $2</format>
22833 <!-- Including the national prefix here since URSEC does when formatting these. -->
22834 <numberFormat pattern="(\d{2})(\d{3})(\d{3})" nationalPrefixFormattingRule="$NP$FG">
22835 <leadingDigits>9[1-9]</leadingDigits>
22836 <format>$1 $2 $3</format>
22838 <numberFormat pattern="(\d{3})(\d{4})" nationalPrefixFormattingRule="$NP$FG">
22839 <leadingDigits>[89]0</leadingDigits>
22840 <format>$1 $2</format>
22842 </availableFormats>
22844 <nationalNumberPattern>[2489]\d{6,7}</nationalNumberPattern>
22845 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
22848 <nationalNumberPattern>
22851 </nationalNumberPattern>
22852 <exampleNumber>21231234</exampleNumber>
22855 <nationalNumberPattern>9[1-9]\d{6}</nationalNumberPattern>
22856 <possibleNumberPattern>\d{8}</possibleNumberPattern>
22857 <exampleNumber>94231234</exampleNumber>
22860 <nationalNumberPattern>80[05]\d{4}</nationalNumberPattern>
22861 <possibleNumberPattern>\d{7}</possibleNumberPattern>
22862 <exampleNumber>8001234</exampleNumber>
22865 <nationalNumberPattern>90[0-8]\d{4}</nationalNumberPattern>
22866 <possibleNumberPattern>\d{7}</possibleNumberPattern>
22867 <exampleNumber>9001234</exampleNumber>
22871 <!-- Uzbekistan -->
22872 <territory id="UZ" countryCode="998" preferredInternationalPrefix="8~10"
22873 internationalPrefix="810" nationalPrefix="8"
22874 nationalPrefixFormattingRule="$NP $FG">
22876 <sourceUrl>http://www.ttts.uz/eng/telephone_codes/codes_uzb_eng</sourceUrl>
22877 <sourceUrl>http://www.itu.int/oth/T02020000E1/en</sourceUrl>
22880 <numberFormat pattern="([679]\d)(\d{3})(\d{2})(\d{2})">
22881 <format>$1 $2 $3 $4</format>
22883 </availableFormats>
22885 <nationalNumberPattern>[679]\d{8}</nationalNumberPattern>
22886 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
22889 <!-- Adding 711 from numbers found online, such as the US embassy, and 6922, which seems to
22890 be used in Namangan. -->
22891 <nationalNumberPattern>
22964 </nationalNumberPattern>
22965 <exampleNumber>662345678</exampleNumber>
22968 <!-- Adding 9[45] as suggested by http://www.ucell.uz/en/for_subscribers/how_to_call.html
22969 Adding other prefixes from http://www.weltvorwahlen.de/99861353.html, and any other
22970 prefixes Tyntec has a carrier mapped to. -->
22971 <nationalNumberPattern>
23211 </nationalNumberPattern>
23212 <exampleNumber>912345678</exampleNumber>
23214 <!-- No tollFree or premiumRate information can be found. -->
23217 <!-- Vatican City -->
23218 <!-- Note that numbers here are also accessible via Italy (+39 and prefix of 06 698) but can
23219 also be dialled with the Vatican City country code. -->
23220 <territory id="VA" countryCode="379" internationalPrefix="00" leadingZeroPossible="true">
23222 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Vatican_City</sourceUrl>
23225 <numberFormat pattern="(06)(\d{4})(\d{4})">
23226 <format>$1 $2 $3</format>
23228 </availableFormats>
23230 <nationalNumberPattern>06\d{8}</nationalNumberPattern>
23231 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23234 <nationalNumberPattern>06698\d{5}</nationalNumberPattern>
23235 <exampleNumber>0669812345</exampleNumber>
23238 <!-- We have no information on mobile numbers from the Vatican. It is probable that they use
23239 Italian mobile contracts. -->
23240 <nationalNumberPattern>NA</nationalNumberPattern>
23241 <possibleNumberPattern>NA</possibleNumberPattern>
23243 <!-- No information exists about other types of numbers. -->
23246 <!-- Saint Vincent and the Grenadines -->
23247 <territory id="VC" countryCode="1" leadingDigits="784" nationalPrefix="1"
23248 internationalPrefix="011">
23250 <sourceUrl>http://www.itu.int/oth/T02020000B3/en</sourceUrl>
23253 <!-- NANPA country - uses US formatting rules -->
23254 <nationalNumberPattern>[5789]\d{9}</nationalNumberPattern>
23255 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
23257 <!-- For 570, 571 and 572 prefixes, we believe the ITU doc incorrectly listed them to be under
23258 area code 758, which should be 784. -->
23260 <nationalNumberPattern>
23281 </nationalNumberPattern>
23282 <exampleNumber>7842661234</exampleNumber>
23285 <nationalNumberPattern>
23298 </nationalNumberPattern>
23299 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23300 <exampleNumber>7844301234</exampleNumber>
23303 <nationalNumberPattern>
23312 </nationalNumberPattern>
23313 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23314 <exampleNumber>8002345678</exampleNumber>
23317 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
23318 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23319 <exampleNumber>9002345678</exampleNumber>
23322 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
23323 <nationalNumberPattern>
23331 </nationalNumberPattern>
23332 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23333 <exampleNumber>5002345678</exampleNumber>
23338 <!-- 1XX specifies a particular carrier to route a call to, but none of these have been
23340 <territory id="VE" countryCode="58" internationalPrefix="00"
23341 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
23342 carrierCodeFormattingRule="$CC $FG">
23344 <sourceUrl>http://www.itu.int/oth/T02020000E3/en</sourceUrl>
23345 <sourceUrl>http://en.wikipedia.org/wiki/+58</sourceUrl>
23348 <numberFormat pattern="(\d{3})(\d{7})">
23349 <format>$1-$2</format>
23351 </availableFormats>
23353 <nationalNumberPattern>[24589]\d{9}</nationalNumberPattern>
23354 <!-- Open numbering plan. -->
23355 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
23358 <!-- Including region-free 500 calls here, since these are treated as local calls. Wikipedia
23359 mentions these as 5XX, but online examples that can be found are seemingly restricted
23361 <nationalNumberPattern>
23372 </nationalNumberPattern>
23373 <exampleNumber>2121234567</exampleNumber>
23376 <nationalNumberPattern>
23381 </nationalNumberPattern>
23382 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23383 <exampleNumber>4121234567</exampleNumber>
23386 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
23387 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23388 <exampleNumber>8001234567</exampleNumber>
23391 <nationalNumberPattern>900\d{7}</nationalNumberPattern>
23392 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23393 <exampleNumber>9001234567</exampleNumber>
23397 <!-- Virgin Islands, British -->
23398 <territory id="VG" countryCode="1" leadingDigits="284" nationalPrefix="1"
23399 internationalPrefix="011">
23401 <sourceUrl>http://www.itu.int/oth/T020200001E/en</sourceUrl>
23404 <!-- NANPA country - uses US formatting rules -->
23405 <nationalNumberPattern>[2589]\d{9}</nationalNumberPattern>
23406 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
23409 <!-- No data on central office codes can be found on the nanpa.com website. The codes 422
23410 and 774 have been added from numbers found in the white pages. -->
23411 <nationalNumberPattern>
23427 </nationalNumberPattern>
23428 <exampleNumber>2842291234</exampleNumber>
23431 <!-- No data on central office codes can be found on the nanpa.com website. The codes
23432 34[0-367], 446 and 54[57] have been added from numbers found in the white pages. -->
23433 <nationalNumberPattern>
23449 </nationalNumberPattern>
23450 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23451 <exampleNumber>2843001234</exampleNumber>
23454 <nationalNumberPattern>
23463 </nationalNumberPattern>
23464 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23465 <exampleNumber>8002345678</exampleNumber>
23468 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
23469 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23470 <exampleNumber>9002345678</exampleNumber>
23473 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
23474 <nationalNumberPattern>
23482 </nationalNumberPattern>
23483 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23484 <exampleNumber>5002345678</exampleNumber>
23488 <!-- Virgin Islands, United States -->
23489 <territory id="VI" countryCode="1" leadingDigits="340" nationalPrefix="1"
23490 internationalPrefix="011">
23492 <sourceUrl>http://www.itu.int/oth/T02020000DF/en</sourceUrl>
23495 <!-- NANPA country - uses US formatting rules -->
23496 <nationalNumberPattern>[3589]\d{9}</nationalNumberPattern>
23497 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
23500 <!-- The ITU document seems a bit out-of-date so extra prefixes based on numbers in the
23501 yellow pages have been added, and the list of exchanges found on
23502 http://www.allareacodes.com/340 -->
23503 <nationalNumberPattern>
23537 </nationalNumberPattern>
23538 <exampleNumber>3406421234</exampleNumber>
23541 <nationalNumberPattern>
23575 </nationalNumberPattern>
23576 <exampleNumber>3406421234</exampleNumber>
23579 <nationalNumberPattern>
23588 </nationalNumberPattern>
23589 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23590 <exampleNumber>8002345678</exampleNumber>
23593 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
23594 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23595 <exampleNumber>9002345678</exampleNumber>
23598 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
23599 <nationalNumberPattern>
23607 </nationalNumberPattern>
23608 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23609 <exampleNumber>5002345678</exampleNumber>
23613 <!-- Viet Nam (Vietnam) -->
23614 <territory id="VN" countryCode="84" internationalPrefix="00"
23615 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
23616 nationalPrefixOptionalWhenFormatting="true">
23618 <sourceUrl>http://www.itu.int/oth/T02020000E4/en</sourceUrl>
23619 <sourceUrl>http://en.wikipedia.org/wiki/%2B84</sourceUrl>
23622 <numberFormat pattern="([17]99)(\d{4})">
23623 <leadingDigits>[17]99</leadingDigits>
23624 <format>$1 $2</format>
23626 <numberFormat pattern="([48])(\d{4})(\d{4})">
23627 <leadingDigits>[48]</leadingDigits>
23628 <format>$1 $2 $3</format>
23630 <numberFormat pattern="([235-7]\d)(\d{4})(\d{3})">
23638 <format>$1 $2 $3</format>
23640 <numberFormat pattern="(80)(\d{5})">
23641 <leadingDigits>80</leadingDigits>
23642 <format>$1 $2</format>
23644 <numberFormat pattern="(69\d)(\d{4,5})">
23645 <leadingDigits>69</leadingDigits>
23646 <format>$1 $2</format>
23648 <numberFormat pattern="([235-7]\d{2})(\d{4})(\d{3})">
23656 <format>$1 $2 $3</format>
23658 <numberFormat pattern="(9\d)(\d{3})(\d{2})(\d{2})">
23659 <leadingDigits>9</leadingDigits>
23660 <format>$1 $2 $3 $4</format>
23662 <numberFormat pattern="(1[2689]\d)(\d{3})(\d{4})">
23670 <format>$1 $2 $3</format>
23672 <numberFormat nationalPrefixFormattingRule="$FG"
23673 pattern="(1[89]00)(\d{4,6})">
23674 <leadingDigits>1[89]0</leadingDigits>
23675 <format>$1 $2</format>
23677 </availableFormats>
23679 <nationalNumberPattern>
23683 </nationalNumberPattern>
23684 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
23686 <noInternationalDialling>
23687 <nationalNumberPattern>
23690 </nationalNumberPattern>
23691 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
23692 <exampleNumber>1992000</exampleNumber>
23693 </noInternationalDialling>
23695 <nationalNumberPattern>
23721 </nationalNumberPattern>
23722 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
23723 <exampleNumber>2101234567</exampleNumber>
23726 <nationalNumberPattern>
23736 </nationalNumberPattern>
23737 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
23738 <exampleNumber>912345678</exampleNumber>
23741 <nationalNumberPattern>1800\d{4,6}</nationalNumberPattern>
23742 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
23743 <exampleNumber>1800123456</exampleNumber>
23746 <nationalNumberPattern>1900\d{4,6}</nationalNumberPattern>
23747 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
23748 <exampleNumber>1900123456</exampleNumber>
23751 <!-- These include non-geographic fixed numbers, such as for government ministries. While
23752 listed as "private networks", they may actually be callable from within Vietnam. (They are
23753 "private" in the sense that ordinary people could not be assigned these numbers.) -->
23754 <nationalNumberPattern>
23758 </nationalNumberPattern>
23759 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
23760 <exampleNumber>1992000</exampleNumber>
23765 <territory id="VU" countryCode="678" internationalPrefix="00">
23767 <sourceUrl>http://www.itu.int/oth/T02020000E2/en</sourceUrl>
23769 <!-- Should be formatted in one block, apart from the mobile numbers. -->
23771 <numberFormat pattern="(\d{3})(\d{4})">
23772 <leadingDigits>[579]</leadingDigits>
23773 <format>$1 $2</format>
23775 </availableFormats>
23777 <nationalNumberPattern>[2-57-9]\d{4,6}</nationalNumberPattern>
23778 <possibleNumberPattern>\d{5,7}</possibleNumberPattern>
23781 <nationalNumberPattern>
23791 </nationalNumberPattern>
23792 <possibleNumberPattern>\d{5}</possibleNumberPattern>
23793 <exampleNumber>22123</exampleNumber>
23796 <nationalNumberPattern>
23804 </nationalNumberPattern>
23805 <possibleNumberPattern>\d{7}</possibleNumberPattern>
23806 <exampleNumber>5912345</exampleNumber>
23808 <!-- Using this for non-geographical numbers, since they have not been clearly defined, and
23809 for government fixed-line numbers. -->
23811 <nationalNumberPattern>
23814 </nationalNumberPattern>
23815 <possibleNumberPattern>\d{5,7}</possibleNumberPattern>
23816 <exampleNumber>30123</exampleNumber>
23820 <!-- Wallis and Futuna (Territoire français d'outre-mer) -->
23821 <territory id="WF" countryCode="681" internationalPrefix="00">
23823 <sourceUrl>http://www.itu.int/oth/T02020000E6/en</sourceUrl>
23826 <numberFormat pattern="(\d{2})(\d{2})(\d{2})">
23827 <format>$1 $2 $3</format>
23829 </availableFormats>
23831 <nationalNumberPattern>[5-7]\d{5}</nationalNumberPattern>
23832 <possibleNumberPattern>\d{6}</possibleNumberPattern>
23835 <!-- Web searching only finds examples with the 72 prefix but the ITU document states that
23836 50 and 68 are possible, so they are included here. -->
23837 <nationalNumberPattern>
23843 </nationalNumberPattern>
23844 <exampleNumber>501234</exampleNumber>
23847 <nationalNumberPattern>
23853 </nationalNumberPattern>
23854 <exampleNumber>501234</exampleNumber>
23859 <territory id="WS" countryCode="685" internationalPrefix="0">
23861 <sourceUrl>http://www.itu.int/oth/T02020000B4/en</sourceUrl>
23864 <numberFormat pattern="(8\d{2})(\d{3,4})">
23865 <leadingDigits>8</leadingDigits>
23866 <format>$1 $2</format>
23868 <numberFormat pattern="(7\d)(\d{5})">
23869 <leadingDigits>7</leadingDigits>
23870 <format>$1 $2</format>
23872 <numberFormat pattern="(\d{5})">
23873 <leadingDigits>[2-6]</leadingDigits>
23874 <format>$1</format>
23876 </availableFormats>
23878 <nationalNumberPattern>[2-8]\d{4,6}</nationalNumberPattern>
23879 <possibleNumberPattern>\d{5,7}</possibleNumberPattern>
23882 <nationalNumberPattern>
23888 </nationalNumberPattern>
23889 <possibleNumberPattern>\d{5,7}</possibleNumberPattern>
23890 <exampleNumber>22123</exampleNumber>
23893 <nationalNumberPattern>
23898 </nationalNumberPattern>
23899 <possibleNumberPattern>\d{6,7}</possibleNumberPattern>
23900 <exampleNumber>601234</exampleNumber>
23903 <!-- The 800 number series is new, and is used by companies such as the ANZ bank in Samoa to
23904 provide 24 hour eMerchant support. It is marked as "Customized Services" in the plan
23905 for now, so may be also used for other purposes than toll free, but until we have
23906 further evidence of these we will keep it as toll free. -->
23907 <nationalNumberPattern>800\d{3}</nationalNumberPattern>
23908 <possibleNumberPattern>\d{6}</possibleNumberPattern>
23909 <exampleNumber>800123</exampleNumber>
23911 <!-- Current research suggests other types of numbers are not used in Samoa. -->
23915 <territory id="YE" countryCode="967" internationalPrefix="00"
23916 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
23918 <sourceUrl>http://www.itu.int/oth/T02020000E7/en</sourceUrl>
23921 <numberFormat pattern="([1-7])(\d{3})(\d{3,4})">
23926 <format>$1 $2 $3</format>
23928 <numberFormat pattern="(7\d{2})(\d{3})(\d{3})">
23929 <leadingDigits>7[0137]</leadingDigits>
23930 <format>$1 $2 $3</format>
23932 </availableFormats>
23934 <nationalNumberPattern>[1-7]\d{6,8}</nationalNumberPattern>
23935 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
23938 <nationalNumberPattern>
23951 </nationalNumberPattern>
23952 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
23953 <exampleNumber>1234567</exampleNumber>
23956 <!-- Adding 70 from numbers found online. -->
23957 <nationalNumberPattern>7[0137]\d{7}</nationalNumberPattern>
23958 <possibleNumberPattern>\d{9}</possibleNumberPattern>
23959 <exampleNumber>712345678</exampleNumber>
23961 <!-- No tollFree or premiumRate information can be found. -->
23965 <territory id="YT" countryCode="262" internationalPrefix="00" nationalPrefix="0"
23966 nationalPrefixFormattingRule="$NP$FG" leadingDigits="269|63">
23968 <!-- Some information at the following source, but most from collection of internet data.
23970 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_France</sourceUrl>
23971 <!-- Verifies the fixed-line prefixes, but the mobile prefixes listed here seem out of date.
23973 <sourceUrl>http://www.comores-online.com/mwezinet/internet/262</sourceUrl>
23975 <!-- Formatting as per La Réunion. -->
23977 <nationalNumberPattern>[268]\d{8}</nationalNumberPattern>
23978 <possibleNumberPattern>\d{9}</possibleNumberPattern>
23981 <nationalNumberPattern>2696[0-4]\d{4}</nationalNumberPattern>
23982 <exampleNumber>269601234</exampleNumber>
23985 <nationalNumberPattern>639\d{6}</nationalNumberPattern>
23986 <exampleNumber>639123456</exampleNumber>
23988 <!-- Same as in France. -->
23990 <nationalNumberPattern>80\d{7}</nationalNumberPattern>
23991 <exampleNumber>801234567</exampleNumber>
23995 <!-- South Africa -->
23996 <territory id="ZA" countryCode="27" internationalPrefix="00"
23997 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
23998 mobileNumberPortableRegion="true">
24000 <sourceUrl>http://www.itu.int/oth/T02020000C1/en</sourceUrl>
24001 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_South_Africa</sourceUrl>
24004 <numberFormat pattern="(860)(\d{3})(\d{3})">
24005 <leadingDigits>860</leadingDigits>
24006 <format>$1 $2 $3</format>
24008 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
24016 <format>$1 $2 $3</format>
24018 <numberFormat pattern="(\d{2})(\d{3,4})">
24019 <leadingDigits>8[1-4]</leadingDigits>
24020 <format>$1 $2</format>
24022 <numberFormat pattern="(\d{2})(\d{3})(\d{2,3})">
24023 <leadingDigits>8[1-4]</leadingDigits>
24024 <format>$1 $2 $3</format>
24026 </availableFormats>
24028 <nationalNumberPattern>
24034 </nationalNumberPattern>
24035 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
24038 <!-- Wikipedia is missing 020, and the 024 code it lists for Somerset West stopped being
24040 <nationalNumberPattern>
24048 </nationalNumberPattern>
24049 <possibleNumberPattern>\d{9}</possibleNumberPattern>
24050 <exampleNumber>101234567</exampleNumber>
24053 <!-- Wikipedia says 085 is for cellular: ITU says it is protected. Also note that we are
24054 still supporting numbers beginning with 8 that are fewer than 9 digits since they are
24055 in prominent places online, even though the ITU document says numbers must be 10 digits
24056 long (including the national prefix). -->
24057 <nationalNumberPattern>
24063 </nationalNumberPattern>
24064 <exampleNumber>711234567</exampleNumber>
24067 <nationalNumberPattern>80\d{7}</nationalNumberPattern>
24068 <possibleNumberPattern>\d{9}</possibleNumberPattern>
24069 <exampleNumber>801234567</exampleNumber>
24072 <nationalNumberPattern>
24075 </nationalNumberPattern>
24076 <possibleNumberPattern>\d{9}</possibleNumberPattern>
24077 <exampleNumber>862345678</exampleNumber>
24080 <nationalNumberPattern>860\d{6}</nationalNumberPattern>
24081 <possibleNumberPattern>\d{9}</possibleNumberPattern>
24082 <exampleNumber>860123456</exampleNumber>
24085 <nationalNumberPattern>87\d{7}</nationalNumberPattern>
24086 <possibleNumberPattern>\d{9}</possibleNumberPattern>
24087 <exampleNumber>871234567</exampleNumber>
24090 <!-- MaxiCall numbers cost as much as national long distance, so they are classified as UAN
24092 <nationalNumberPattern>861\d{6}</nationalNumberPattern>
24093 <possibleNumberPattern>\d{9}</possibleNumberPattern>
24094 <exampleNumber>861123456</exampleNumber>
24099 <territory id="ZM" countryCode="260" internationalPrefix="00"
24100 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
24102 <sourceUrl>http://www.itu.int/oth/T02020000E8/en</sourceUrl>
24105 <numberFormat pattern="([29]\d)(\d{7})">
24106 <leadingDigits>[29]</leadingDigits>
24107 <format>$1 $2</format>
24109 <numberFormat pattern="(800)(\d{3})(\d{3})">
24110 <leadingDigits>8</leadingDigits>
24111 <format>$1 $2 $3</format>
24113 </availableFormats>
24115 <nationalNumberPattern>[289]\d{8}</nationalNumberPattern>
24116 <possibleNumberPattern>\d{9}</possibleNumberPattern>
24119 <nationalNumberPattern>21[1-8]\d{6}</nationalNumberPattern>
24120 <exampleNumber>211234567</exampleNumber>
24123 <!-- Adding extra prefixes 50 and 6[1-57-9] since SMS messages have been successfully
24124 delivered to these numbers, and numbers like this can be found on the Internet. Adding
24125 prefix 960 based on information received from MTN Zambia. The 97 range has been
24126 expanded based on their IR21 document, which states the range 97[1-9] is used. -->
24127 <nationalNumberPattern>
24133 </nationalNumberPattern>
24134 <exampleNumber>955123456</exampleNumber>
24137 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
24138 <exampleNumber>800123456</exampleNumber>
24143 <territory id="ZW" countryCode="263" internationalPrefix="00"
24144 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
24146 <sourceUrl>http://www.itu.int/oth/T02020000E9/en</sourceUrl>
24149 <!-- One-digit area codes -->
24150 <numberFormat pattern="([49])(\d{3})(\d{2,5})">
24155 <format>$1 $2 $3</format>
24157 <!-- Mobile numbers -->
24158 <numberFormat pattern="([179]\d)(\d{3})(\d{3,4})">
24163 <format>$1 $2 $3</format>
24165 <numberFormat pattern="(86\d{2})(\d{3})(\d{3})">
24166 <leadingDigits>86[24]</leadingDigits>
24167 <format>$1 $2 $3</format>
24169 <!-- Three-digit area codes (listed before the two-digit ones since some overlap) -->
24170 <numberFormat pattern="([2356]\d{2})(\d{3,5})">
24190 <format>$1 $2</format>
24192 <numberFormat pattern="(\d{3})(\d{3})(\d{3,4})">
24213 <format>$1 $2 $3</format>
24215 <!-- Two-digit area codes -->
24216 <numberFormat pattern="([1-356]\d)(\d{3,5})">
24241 <format>$1 $2</format>
24243 <numberFormat pattern="([1-356]\d)(\d{3})(\d{3})">
24268 <format>$1 $2 $3</format>
24270 <!-- Four-digit area codes -->
24271 <numberFormat pattern="([25]\d{3})(\d{3,5})">
24282 <format>$1 $2</format>
24284 <numberFormat pattern="([25]\d{3})(\d{3})(\d{3})">
24295 <format>$1 $2 $3</format>
24297 <!-- VOIP numbers -->
24298 <numberFormat pattern="(8\d{3})(\d{6})">
24299 <leadingDigits>86</leadingDigits>
24300 <format>$1 $2</format>
24302 </availableFormats>
24304 <!-- A complicated nationalNumberPattern is necessary here, since the numbers are extremely
24305 variable in length and the possible prefixes clash with the country code. -->
24306 <nationalNumberPattern>
24313 </nationalNumberPattern>
24314 <possibleNumberPattern>\d{3,10}</possibleNumberPattern>
24317 <!-- Numbering is grouped by subscriber-number length. -->
24318 <nationalNumberPattern>
24378 </nationalNumberPattern>
24379 <exampleNumber>1312345</exampleNumber>
24381 <!-- The ITU document list 8622 and 8644 as VoIP, but an online search reveals that they are
24382 also being used by the carriers as mobile prefixes. -->
24384 <nationalNumberPattern>
24390 </nationalNumberPattern>
24391 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
24392 <exampleNumber>711234567</exampleNumber>
24395 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
24396 <possibleNumberPattern>\d{10}</possibleNumberPattern>
24397 <exampleNumber>8001234567</exampleNumber>
24399 <!-- No premiumRate information can be found. -->
24401 <nationalNumberPattern>
24410 </nationalNumberPattern>
24411 <possibleNumberPattern>\d{10}</possibleNumberPattern>
24412 <exampleNumber>8686123456</exampleNumber>
24416 <!-- Universal International Toll Free Number -->
24417 <territory id="001" countryCode="800" leadingZeroPossible="true">
24419 <sourceUrl>http://www.itu.int/en/ITU-T/inr/unum/Pages/uifn.aspx</sourceUrl>
24422 <numberFormat pattern="(\d{4})(\d{4})">
24423 <format>$1 $2</format>
24425 </availableFormats>
24427 <nationalNumberPattern>\d{8}</nationalNumberPattern>
24428 <possibleNumberPattern>\d{8}</possibleNumberPattern>
24429 <exampleNumber>12345678</exampleNumber>
24432 <nationalNumberPattern>NA</nationalNumberPattern>
24433 <possibleNumberPattern>NA</possibleNumberPattern>
24436 <nationalNumberPattern>NA</nationalNumberPattern>
24437 <possibleNumberPattern>NA</possibleNumberPattern>
24440 <nationalNumberPattern>\d{8}</nationalNumberPattern>
24444 <!-- Universal International Shared Cost Number -->
24445 <territory id="001" countryCode="808" leadingZeroPossible="true">
24447 <sourceUrl>http://www.itu.int/rec/T-REC-E.169-200205-I/en</sourceUrl>
24450 <numberFormat pattern="(\d{4})(\d{4})">
24451 <format>$1 $2</format>
24453 </availableFormats>
24455 <nationalNumberPattern>\d{8}</nationalNumberPattern>
24456 <possibleNumberPattern>\d{8}</possibleNumberPattern>
24457 <exampleNumber>12345678</exampleNumber>
24460 <nationalNumberPattern>NA</nationalNumberPattern>
24461 <possibleNumberPattern>NA</possibleNumberPattern>
24464 <nationalNumberPattern>NA</nationalNumberPattern>
24465 <possibleNumberPattern>NA</possibleNumberPattern>
24468 <nationalNumberPattern>\d{8}</nationalNumberPattern>
24472 <!-- Inmarsat Global Limited -->
24473 <territory id="001" countryCode="870">
24475 <sourceUrl>http://www.itu.int/oth/T0202000065/en</sourceUrl>
24476 <sourceUrl>http://www.inmarsat.com</sourceUrl>
24479 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
24480 <format>$1 $2 $3</format>
24482 </availableFormats>
24484 <nationalNumberPattern>[35-7]\d{8}</nationalNumberPattern>
24485 <possibleNumberPattern>\d{9}</possibleNumberPattern>
24486 <exampleNumber>301234567</exampleNumber>
24489 <nationalNumberPattern>NA</nationalNumberPattern>
24490 <possibleNumberPattern>NA</possibleNumberPattern>
24493 <!-- Assigning these to mobile since Inmarsat considers them to be mobile numbers. -->
24494 <nationalNumberPattern>
24499 </nationalNumberPattern>
24504 <!-- Number length has been derived from examples found online. -->
24505 <territory id="001" countryCode="878">
24507 <sourceUrl>http://www.itu.int/oth/T02020000E5/en</sourceUrl>
24510 <!-- Formatting chosen based on online examples. -->
24511 <numberFormat pattern="(\d{2})(\d{5})(\d{5})">
24512 <format>$1 $2 $3</format>
24514 </availableFormats>
24516 <nationalNumberPattern>1\d{11}</nationalNumberPattern>
24517 <possibleNumberPattern>\d{12}</possibleNumberPattern>
24518 <exampleNumber>101234567890</exampleNumber>
24521 <nationalNumberPattern>NA</nationalNumberPattern>
24522 <possibleNumberPattern>NA</possibleNumberPattern>
24525 <nationalNumberPattern>NA</nationalNumberPattern>
24526 <possibleNumberPattern>NA</possibleNumberPattern>
24529 <nationalNumberPattern>10\d{10}</nationalNumberPattern>
24534 <!-- Globalstar also reports using this prefix, but we cannot find any online numbers with the
24535 Globalstar prefixes, so are not sure how exactly these work, and what length the numbers
24536 are. For this reason, we only support Iridium numbers at the moment. -->
24537 <territory id="001" countryCode="881">
24539 <sourceUrl>http://www.iridium.com</sourceUrl>
24540 <sourceUrl>http://www.itu.int/oth/T0202000069/en</sourceUrl>
24543 <!-- Formatting chosen based on ITU document and Iridium website FAQ. -->
24544 <numberFormat pattern="(\d)(\d{3})(\d{5})">
24545 <leadingDigits>[67]</leadingDigits>
24546 <format>$1 $2 $3</format>
24548 </availableFormats>
24550 <nationalNumberPattern>[67]\d{8}</nationalNumberPattern>
24551 <possibleNumberPattern>\d{9}</possibleNumberPattern>
24552 <exampleNumber>612345678</exampleNumber>
24555 <nationalNumberPattern>NA</nationalNumberPattern>
24556 <possibleNumberPattern>NA</possibleNumberPattern>
24559 <nationalNumberPattern>[67]\d{8}</nationalNumberPattern>
24563 <territory id="001" countryCode="882">
24565 <!-- BebbiCell (Formerly Global Networks Switzerland AG) +88234 -->
24566 <sourceUrl>http://www.itu.int/oth/T0202000054/en</sourceUrl>
24567 <sourceUrl>http://www.gsm.aq/numberplan.php</sourceUrl>
24568 <sourceUrl>http://www.global.aq</sourceUrl>
24569 <!-- Maritime Communications Partner (MCP) +88232 -->
24570 <sourceUrl>http://www.itu.int/oth/T02020000F4/en</sourceUrl>
24571 <!-- Oration Technologies +88237 -->
24572 <sourceUrl>http://www.itu.int/oth/T02020000A0/en</sourceUrl>
24573 <!-- Telespazio S.p.A. +88213 -->
24574 <sourceUrl>http://www.itu.int/oth/T02020000CC/en</sourceUrl>
24575 <!-- Thuraya +88216 -->
24576 <sourceUrl>http://www.itu.int/oth/T02020000CF/en</sourceUrl>
24579 <numberFormat pattern="(\d{2})(\d{4})(\d{3})">
24580 <leadingDigits>3[23]</leadingDigits>
24581 <format>$1 $2 $3</format>
24583 <numberFormat pattern="(\d{2})(\d{5})">
24588 <format>$1 $2</format>
24590 <numberFormat pattern="(\d{2})(\d{4})(\d{4})">
24591 <leadingDigits>34[57]</leadingDigits>
24592 <format>$1 $2 $3</format>
24594 <numberFormat pattern="(\d{3})(\d{4})(\d{4})">
24595 <leadingDigits>348</leadingDigits>
24596 <format>$1 $2 $3</format>
24598 <numberFormat pattern="(\d{2})(\d{2})(\d{4})">
24599 <leadingDigits>1</leadingDigits>
24600 <format>$1 $2 $3</format>
24602 <numberFormat pattern="(\d{2})(\d{3,4})(\d{4})">
24603 <leadingDigits>16</leadingDigits>
24604 <format>$1 $2 $3</format>
24606 <numberFormat pattern="(\d{2})(\d{4,5})(\d{5})">
24607 <leadingDigits>16</leadingDigits>
24608 <format>$1 $2 $3</format>
24610 </availableFormats>
24612 <nationalNumberPattern>[13]\d{6,11}</nationalNumberPattern>
24613 <possibleNumberPattern>\d{7,12}</possibleNumberPattern>
24614 <exampleNumber>3451234567</exampleNumber>
24617 <nationalNumberPattern>NA</nationalNumberPattern>
24618 <possibleNumberPattern>NA</possibleNumberPattern>
24621 <!-- Bebbicell Mobile numbers, MCP & Oration. We are guessing the number length for
24622 Oration based on numbers found online. -->
24623 <nationalNumberPattern>
24632 </nationalNumberPattern>
24633 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
24636 <!-- Telespazio S.p.A., Thuraya and Bebbicell VOIP numbers. -->
24637 <nationalNumberPattern>
24652 </nationalNumberPattern>
24653 <possibleNumberPattern>\d{7,12}</possibleNumberPattern>
24656 <nationalNumberPattern>348[57]\d{7}</nationalNumberPattern>
24657 <possibleNumberPattern>\d{11}</possibleNumberPattern>
24661 <territory id="001" countryCode="883">
24663 <!-- bandwidth.com -->
24664 <sourceUrl>http://www.itu.int/oth/T02020000FB/en</sourceUrl>
24666 <sourceUrl>http://www.itu.int/oth/T02020000FC/en</sourceUrl>
24668 <sourceUrl>http://www.itu.int/oth/T02020000F3/en</sourceUrl>
24671 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
24672 <leadingDigits>510</leadingDigits>
24673 <format>$1 $2 $3</format>
24675 <numberFormat pattern="(\d{3})(\d{3})(\d{3})(\d{3})">
24676 <leadingDigits>510</leadingDigits>
24677 <format>$1 $2 $3 $4</format>
24679 <!-- When only 8 digits follow the "area code" formatting as XXXX XXXX
24680 seems preferred (see Bandwidth.com and SipMe). -->
24681 <numberFormat pattern="(\d{4})(\d{4})(\d{4})">
24682 <leadingDigits>51[13]</leadingDigits>
24683 <format>$1 $2 $3</format>
24685 </availableFormats>
24687 <!-- Wikipedia also listed a few other +883 ranges, but no information on their lengths and
24688 costs can be found online, so we don't include them here for now. -->
24689 <nationalNumberPattern>51\d{7}(?:\d{3})?</nationalNumberPattern>
24690 <possibleNumberPattern>\d{9}(?:\d{3})?</possibleNumberPattern>
24691 <exampleNumber>510012345</exampleNumber>
24694 <nationalNumberPattern>NA</nationalNumberPattern>
24695 <possibleNumberPattern>NA</possibleNumberPattern>
24698 <nationalNumberPattern>NA</nationalNumberPattern>
24699 <possibleNumberPattern>NA</possibleNumberPattern>
24702 <nationalNumberPattern>
24707 </nationalNumberPattern>
24711 <!-- United Nations- OCHA -->
24712 <!-- Numbers here are classified as UAN, as they are non-geographical and universally
24713 accessible. In addition, the end-user tariff to reach these numbers is lower or similar to
24714 the tariff of a national call. -->
24715 <territory id="001" countryCode="888" leadingZeroPossible="true">
24717 <sourceUrl>http://www.itu.int/oth/T02020000FA/en</sourceUrl>
24720 <numberFormat pattern="(\d{3})(\d{3})(\d{5})">
24721 <format>$1 $2 $3</format>
24723 </availableFormats>
24725 <nationalNumberPattern>\d{11}</nationalNumberPattern>
24726 <possibleNumberPattern>\d{11}</possibleNumberPattern>
24727 <exampleNumber>12345678901</exampleNumber>
24730 <nationalNumberPattern>NA</nationalNumberPattern>
24731 <possibleNumberPattern>NA</possibleNumberPattern>
24734 <nationalNumberPattern>NA</nationalNumberPattern>
24735 <possibleNumberPattern>NA</possibleNumberPattern>
24738 <nationalNumberPattern>\d{11}</nationalNumberPattern>
24742 <!-- Universal International Premium Rate Number -->
24743 <territory id="001" countryCode="979" leadingZeroPossible="true">
24745 <sourceUrl>http://www.itu.int/rec/T-REC-E.169-200205-I/en</sourceUrl>
24748 <numberFormat pattern="(\d)(\d{4})(\d{4})">
24749 <format>$1 $2 $3</format>
24751 </availableFormats>
24753 <nationalNumberPattern>\d{9}</nationalNumberPattern>
24754 <possibleNumberPattern>\d{9}</possibleNumberPattern>
24755 <exampleNumber>123456789</exampleNumber>
24758 <nationalNumberPattern>NA</nationalNumberPattern>
24759 <possibleNumberPattern>NA</possibleNumberPattern>
24762 <nationalNumberPattern>NA</nationalNumberPattern>
24763 <possibleNumberPattern>NA</possibleNumberPattern>
24766 <nationalNumberPattern>\d{9}</nationalNumberPattern>
24770 </phoneNumberMetadata>