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})">
253 <format>$1 $2 $3</format>
257 <nationalNumberPattern>[2-7]\d{8}</nationalNumberPattern>
258 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
261 <nationalNumberPattern>
267 </nationalNumberPattern>
268 <exampleNumber>234567890</exampleNumber>
271 <nationalNumberPattern>
276 </nationalNumberPattern>
277 <possibleNumberPattern>\d{9}</possibleNumberPattern>
278 <exampleNumber>701234567</exampleNumber>
282 <!-- Antigua and Barbuda -->
283 <territory id="AG" countryCode="1" leadingDigits="268" nationalPrefix="1"
284 internationalPrefix="011">
286 <sourceUrl>http://www.itu.int/oth/T0202000008/en</sourceUrl>
289 <!-- NANPA country - uses US formatting rules -->
290 <nationalNumberPattern>[2589]\d{9}</nationalNumberPattern>
291 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
294 <!-- 268 468 is not in the plan, but has been added after numbers with this prefix have been
295 found in online searches. -->
296 <nationalNumberPattern>
304 </nationalNumberPattern>
305 <exampleNumber>2684601234</exampleNumber>
308 <!-- 268 776/778/779 are not in the plan, but have been added after numbers with these
309 prefixes have been found in online searches. Same for 268 780/782/784/786. -->
310 <nationalNumberPattern>
320 </nationalNumberPattern>
321 <possibleNumberPattern>\d{10}</possibleNumberPattern>
322 <exampleNumber>2684641234</exampleNumber>
325 <nationalNumberPattern>26840[69]\d{4}</nationalNumberPattern>
326 <possibleNumberPattern>\d{10}</possibleNumberPattern>
327 <exampleNumber>2684061234</exampleNumber>
330 <nationalNumberPattern>
339 </nationalNumberPattern>
340 <possibleNumberPattern>\d{10}</possibleNumberPattern>
341 <exampleNumber>8002123456</exampleNumber>
344 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
345 <possibleNumberPattern>\d{10}</possibleNumberPattern>
346 <exampleNumber>9002123456</exampleNumber>
349 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
350 <nationalNumberPattern>
358 </nationalNumberPattern>
359 <possibleNumberPattern>\d{10}</possibleNumberPattern>
360 <exampleNumber>5002345678</exampleNumber>
363 <!-- This is included as Centrex in the plan. -->
364 <nationalNumberPattern>26848[01]\d{4}</nationalNumberPattern>
365 <possibleNumberPattern>\d{10}</possibleNumberPattern>
366 <exampleNumber>2684801234</exampleNumber>
371 <territory id="AI" countryCode="1" leadingDigits="264" nationalPrefix="1"
372 internationalPrefix="011">
374 <sourceUrl>http://www.itu.int/oth/T0202000007/en</sourceUrl>
377 <!-- NANPA country - uses US formatting rules -->
378 <nationalNumberPattern>[2589]\d{9}</nationalNumberPattern>
379 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
382 <nationalNumberPattern>
387 </nationalNumberPattern>
388 <exampleNumber>2644612345</exampleNumber>
391 <nationalNumberPattern>
404 </nationalNumberPattern>
405 <possibleNumberPattern>\d{10}</possibleNumberPattern>
406 <exampleNumber>2642351234</exampleNumber>
409 <nationalNumberPattern>
418 </nationalNumberPattern>
419 <possibleNumberPattern>\d{10}</possibleNumberPattern>
420 <exampleNumber>8002123456</exampleNumber>
423 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
424 <possibleNumberPattern>\d{10}</possibleNumberPattern>
425 <exampleNumber>9002123456</exampleNumber>
428 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
429 <nationalNumberPattern>
437 </nationalNumberPattern>
438 <possibleNumberPattern>\d{10}</possibleNumberPattern>
439 <exampleNumber>5002345678</exampleNumber>
444 <territory id="AL" countryCode="355" internationalPrefix="00"
445 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
446 mobileNumberPortableRegion="true">
448 <sourceUrl>http://www.itu.int/oth/T0202000002/en</sourceUrl>
451 <!-- Formats mostly follow http://tirana.usembassy.gov/list_of_doctors.html -->
452 <numberFormat pattern="(4)(\d{3})(\d{4})">
453 <leadingDigits>4[0-6]</leadingDigits>
454 <format>$1 $2 $3</format>
456 <numberFormat pattern="(6[6-9])(\d{3})(\d{4})">
457 <leadingDigits>6</leadingDigits>
458 <format>$1 $2 $3</format>
460 <numberFormat pattern="(\d{2})(\d{3})(\d{3})">
465 <format>$1 $2 $3</format>
467 <numberFormat pattern="(\d{3})(\d{3,5})">
473 <format>$1 $2</format>
477 <nationalNumberPattern>
482 </nationalNumberPattern>
483 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
486 <nationalNumberPattern>
512 </nationalNumberPattern>
513 <possibleNumberPattern>\d{5,8}</possibleNumberPattern>
514 <exampleNumber>22345678</exampleNumber>
517 <nationalNumberPattern>6[6-9]\d{7}</nationalNumberPattern>
518 <possibleNumberPattern>\d{9}</possibleNumberPattern>
519 <exampleNumber>661234567</exampleNumber>
522 <nationalNumberPattern>800\d{4}</nationalNumberPattern>
523 <possibleNumberPattern>\d{7}</possibleNumberPattern>
524 <exampleNumber>8001234</exampleNumber>
527 <!-- It is named "Shared Revenue Services" in the plan, but as there is a separate "Shared
528 Cost Services", it is highly likely these numbers are premium rate numbers. No
529 information/example is found in the Internet. -->
530 <nationalNumberPattern>900\d{3}</nationalNumberPattern>
531 <possibleNumberPattern>\d{6}</possibleNumberPattern>
532 <exampleNumber>900123</exampleNumber>
535 <nationalNumberPattern>808\d{3}</nationalNumberPattern>
536 <possibleNumberPattern>\d{6}</possibleNumberPattern>
537 <exampleNumber>808123</exampleNumber>
540 <nationalNumberPattern>700\d{5}</nationalNumberPattern>
541 <possibleNumberPattern>\d{8}</possibleNumberPattern>
542 <exampleNumber>70012345</exampleNumber>
547 <!-- We think the national dialling prefix is 0 - it seems this was a change in 2005 (or 2008)
548 along with the new city codes. However, their official document makes no mention of it,
549 websites disagree, and we are not sure if the change has actually been made. -->
550 <territory id="AM" countryCode="374" internationalPrefix="00"
551 nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)"
552 mobileNumberPortableRegion="true" >
554 <sourceUrl>http://www.itu.int/oth/T020200000A/en</sourceUrl>
555 <sourceUrl>http://en.wikipedia.org/wiki/%2B374</sourceUrl>
556 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Nagorno-Karabakh_Republic</sourceUrl>
559 <numberFormat pattern="(\d{2})(\d{6})">
564 <format>$1 $2</format>
566 <numberFormat pattern="(\d{2})(\d{6})" nationalPrefixFormattingRule="$NP$FG">
572 <format>$1 $2</format>
574 <numberFormat pattern="(\d{3})(\d{5})">
575 <leadingDigits>[23]</leadingDigits>
576 <format>$1 $2</format>
578 <numberFormat pattern="(\d{3})(\d{2})(\d{3})" nationalPrefixFormattingRule="$NP $FG">
583 <format>$1 $2 $3</format>
587 <nationalNumberPattern>[1-9]\d{7}</nationalNumberPattern>
588 <possibleNumberPattern>\d{5,8}</possibleNumberPattern>
591 <!-- Includes telephone numbers in Nagorno-Karabakh Republic, physically located inside
592 Azerbaijan, which use prefix 47. -->
593 <nationalNumberPattern>
607 </nationalNumberPattern>
608 <exampleNumber>10123456</exampleNumber>
611 <!-- Part of the range 97 is used by Nagorno-Karabakh Republic. -->
612 <nationalNumberPattern>
619 </nationalNumberPattern>
620 <possibleNumberPattern>\d{8}</possibleNumberPattern>
621 <exampleNumber>77123456</exampleNumber>
624 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
625 <possibleNumberPattern>\d{8}</possibleNumberPattern>
626 <exampleNumber>80012345</exampleNumber>
629 <nationalNumberPattern>90[016]\d{5}</nationalNumberPattern>
630 <possibleNumberPattern>\d{8}</possibleNumberPattern>
631 <exampleNumber>90012345</exampleNumber>
634 <nationalNumberPattern>80[1-4]\d{5}</nationalNumberPattern>
635 <possibleNumberPattern>\d{8}</possibleNumberPattern>
636 <exampleNumber>80112345</exampleNumber>
639 <nationalNumberPattern>60[2-6]\d{5}</nationalNumberPattern>
640 <possibleNumberPattern>\d{8}</possibleNumberPattern>
641 <exampleNumber>60271234</exampleNumber>
646 <territory id="AO" countryCode="244" internationalPrefix="00">
648 <sourceUrl>http://www.itu.int/oth/T0202000006/en</sourceUrl>
651 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
652 <format>$1 $2 $3</format>
656 <nationalNumberPattern>[29]\d{8}</nationalNumberPattern>
657 <possibleNumberPattern>\d{9}</possibleNumberPattern>
660 <nationalNumberPattern>
665 </nationalNumberPattern>
666 <exampleNumber>222123456</exampleNumber>
669 <!-- Expanded the 92 prefix possibilities to match numbers found online. Unitel
670 apparently launched the prefix 94 on 25th April 2012, and Movicel has 99. -->
671 <nationalNumberPattern>9[1-49]\d{7}</nationalNumberPattern>
672 <exampleNumber>923123456</exampleNumber>
677 <!-- The national prefix for parsing here consists of a 0 (optional), followed by the area code
678 (which is captured, so that it can be retained), followed by 15, which is the mobile token,
679 which will be stripped if present. We expect the following combinations: 0AC15 and AC15
680 (where the 0 and 15 will be stripped, and it will be transformed into 9AC), 0, and 15 (in
681 the latter two cases we just strip the 0 or 15 as appropriate and leave the number as is.)
683 <territory id="AR" countryCode="54" internationalPrefix="00" nationalPrefix="0"
684 nationalPrefixForParsing="
781 nationalPrefixTransformRule="9$1" nationalPrefixFormattingRule="$NP$FG"
782 mobileNumberPortableRegion="true">
784 <sourceUrl>http://www.itu.int/oth/T0202000009/en</sourceUrl>
785 <!-- On the following link, click on Indicativos Interurbanos to access detailed
787 <sourceUrl>http://www.cnc.gov.ar/infotecnica/numeracion/Index.asp</sourceUrl>
788 <!-- Download XLS spreadsheet from "Númeración Geográfica" link on following page: -->
789 <sourceUrl>http://www.cnc.gob.ar/asignaciones-a-la-fecha_p445</sourceUrl>
790 <sourceUrl>http://en.wikipedia.org/wiki/+54</sourceUrl>
793 <numberFormat pattern="([68]\d{2})(\d{3})(\d{4})">
794 <leadingDigits>[68]</leadingDigits>
795 <format>$1-$2-$3</format>
797 <!-- Format local numbers in two groups. The leading digits are 2-9 since the ITU document
798 says that the digit zero and one will not be present at the start of the subscriber
799 number (which starts with an "Exchange characteristic"). -->
800 <numberFormat pattern="(\d{2})(\d{4})" nationalPrefixFormattingRule="$FG">
801 <leadingDigits>[2-9]</leadingDigits>
802 <format>$1-$2</format>
803 <intlFormat>NA</intlFormat>
805 <numberFormat pattern="(\d{3})(\d{4})" nationalPrefixFormattingRule="$FG">
806 <leadingDigits>[2-9]</leadingDigits>
807 <format>$1-$2</format>
808 <intlFormat>NA</intlFormat>
810 <numberFormat pattern="(\d{4})(\d{4})" nationalPrefixFormattingRule="$FG">
811 <leadingDigits>[2-9]</leadingDigits>
812 <format>$1-$2</format>
813 <intlFormat>NA</intlFormat>
815 <numberFormat pattern="(9)(11)(\d{4})(\d{4})">
816 <leadingDigits>911</leadingDigits>
817 <format>$2 15-$3-$4</format>
818 <intlFormat>$1 $2 $3-$4</intlFormat>
820 <numberFormat pattern="(9)(\d{3})(\d{3})(\d{4})">
821 <!-- The regular expressions below were generated semi-automatically from data extracted
822 from the XLS spreadsheet downloaded from the "Númeración Geográfica" link cited
823 above. Each pattern captures all 3-3-4 prefixes for its length, but may also capture
826 In cases where a range contains both 3-3-4 and 4-2-4 prefixes, the most commonly used
827 one should be considered the default.
828 * If there are more distinct 4-2-4 prefixes, then the regular expression should
829 INCLUDE only the explicitly mentioned 3-3-4 prefixes.
830 * If there are more distinct 3-3-4 prefixes, then the regular expression should
831 EXCLUDE only the explicitly mentioned 4-2-4 prefixes.
832 This should help maximize the chances of new ranges automatically being assigned to
835 In the final (most specific) regular expression, the few remaining ambiguous cases
836 are decided by comparing usage counts. Any manual edits to these expressions not
837 reflected in the XLS spreadsheet must be clearly called out below:
839 Added Manually as 3-3-4 format:
840 * 2981 (General Roca, RÃo Negro) : Numbers found online suggest 3-3-4
843 https://github.com/googlei18n/libphonenumber/issues/611
844 https://github.com/googlei18n/libphonenumber/issues/559
846 <!-- Do NOT copy this into the section below. Removing the leading '9' will make it match
847 only 2 digits and the first <leadingDigits> section must always match 3 digits. -->
854 <!-- If modified, copy this expression into the section below, minus the leading '9' -->
875 <!-- Note that some patterns appear as both 3 and 4 digit area codes. In these cases
876 (to avoid going to 6 digits of discrimination) we simply pick the one with the
877 most uses. Patterns excluded from this expression will be treated as 4-2-4:
878 - XXXX (usage count as 3-digit code:usage count as 4-digit code)
879 - 2646 (7:15) - excluded
880 - 3435 (39:63) - excluded
881 - 3436 (16:54) - excluded
883 - 3455 (13:94) - excluded
884 - 3456 (3:93) - excluded
886 - 3585 (21:42) - excluded
889 - 3856 (19:44) - excluded
890 - 3876 (56:99) - excluded
892 - 3886 (3:137) - excluded
894 <!-- If modified, copy this expression into the section below, minus the leading '9' -->
940 <format>$2 15-$3-$4</format>
941 <intlFormat>$1 $2 $3-$4</intlFormat>
943 <!-- Both 4-3-3 and 4-2-4 have been seen online; we prefer the latter since it matches the
944 Argentinian ITU doc and wikipedia. -->
945 <numberFormat pattern="(9)(\d{4})(\d{2})(\d{4})">
946 <leadingDigits>9[23]</leadingDigits>
947 <format>$2 15-$3-$4</format>
948 <intlFormat>$1 $2 $3-$4</intlFormat>
950 <numberFormat pattern="(11)(\d{4})(\d{4})" nationalPrefixOptionalWhenFormatting="true">
951 <leadingDigits>1</leadingDigits>
952 <format>$1 $2-$3</format>
954 <!-- These patterns are a copy of the mobile patterns with the leading 9 removed. -->
955 <numberFormat pattern="(\d{3})(\d{3})(\d{4})" nationalPrefixOptionalWhenFormatting="true">
956 <!-- Never modify this manually, always copy from above and remove leading '9' -->
975 <!-- Never modify this manually, always copy from above and remove leading '9' -->
1019 <format>$1 $2-$3</format>
1021 <numberFormat pattern="(\d{4})(\d{2})(\d{4})" nationalPrefixOptionalWhenFormatting="true">
1022 <leadingDigits>[23]</leadingDigits>
1023 <format>$1 $2-$3</format>
1025 <!-- Format short numbers as a block. -->
1026 <numberFormat pattern="(\d{3})" nationalPrefixFormattingRule="$FG">
1032 <intlFormat>NA</intlFormat>
1036 <!-- We restrict the second digit after 1 here so we can recognise and strip the 15 mobile
1037 carrier prefix when we see it. -->
1038 <nationalNumberPattern>
1042 </nationalNumberPattern>
1043 <possibleNumberPattern>\d{6,11}</possibleNumberPattern>
1045 <noInternationalDialling>
1046 <nationalNumberPattern>810\d{7}</nationalNumberPattern>
1047 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1048 <exampleNumber>8101234567</exampleNumber>
1049 </noInternationalDialling>
1051 <!-- Also covering fixed satellite service numbers (670). -->
1052 <nationalNumberPattern>
1132 </nationalNumberPattern>
1133 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
1134 <exampleNumber>1123456789</exampleNumber>
1137 <!-- Also covers mobile satellite services (675 numbers). -->
1138 <!-- 4-digit area codes are not covered here in detail - we only check the digit after the
1139 area code is in the range 2-9. The four-digit area-code checking is done in detail if
1140 we attempt to strip the caller-pays token (15) from the number. -->
1141 <nationalNumberPattern>
1165 </nationalNumberPattern>
1166 <possibleNumberPattern>\d{6,11}</possibleNumberPattern>
1167 <exampleNumber>91123456789</exampleNumber>
1170 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
1171 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1172 <exampleNumber>8001234567</exampleNumber>
1175 <nationalNumberPattern>60[04579]\d{7}</nationalNumberPattern>
1176 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1177 <exampleNumber>6001234567</exampleNumber>
1180 <nationalNumberPattern>810\d{7}</nationalNumberPattern>
1181 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1182 <exampleNumber>8101234567</exampleNumber>
1186 <!-- American Samoa -->
1187 <territory id="AS" countryCode="1" leadingDigits="684" nationalPrefix="1"
1188 internationalPrefix="011">
1190 <sourceUrl>http://www.itu.int/oth/T0202000004/en</sourceUrl>
1193 <!-- NANPA country - uses US formatting rules -->
1194 <nationalNumberPattern>[5689]\d{9}</nationalNumberPattern>
1195 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
1198 <nationalNumberPattern>
1208 </nationalNumberPattern>
1209 <exampleNumber>6846221234</exampleNumber>
1212 <!-- Added 25[246] and 272, operated by Blue Sky. Added 731, 770, operated by ASTCA. -->
1213 <nationalNumberPattern>
1224 </nationalNumberPattern>
1225 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1226 <exampleNumber>6847331234</exampleNumber>
1229 <nationalNumberPattern>
1238 </nationalNumberPattern>
1239 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1240 <exampleNumber>8002123456</exampleNumber>
1243 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
1244 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1245 <exampleNumber>9002123456</exampleNumber>
1248 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
1249 <nationalNumberPattern>
1257 </nationalNumberPattern>
1258 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1259 <exampleNumber>5002345678</exampleNumber>
1264 <territory id="AT" countryCode="43" internationalPrefix="00"
1265 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
1266 mobileNumberPortableRegion="true">
1268 <sourceUrl>http://www.rtr.at/en/tk/E129</sourceUrl>
1271 <numberFormat pattern="(1)(\d{3,12})">
1272 <leadingDigits>1</leadingDigits>
1273 <format>$1 $2</format>
1275 <!-- The following three patterns are the most common for prefixes 050, 057 and 059, as
1276 found on Austrian web pages. -->
1277 <numberFormat pattern="(5\d)(\d{3,5})">
1278 <leadingDigits>5[079]</leadingDigits>
1279 <format>$1 $2</format>
1281 <numberFormat pattern="(5\d)(\d{3})(\d{3,4})">
1282 <leadingDigits>5[079]</leadingDigits>
1283 <format>$1 $2 $3</format>
1285 <numberFormat pattern="(5\d)(\d{4})(\d{4,7})">
1286 <leadingDigits>5[079]</leadingDigits>
1287 <format>$1 $2 $3</format>
1289 <numberFormat pattern="(\d{3})(\d{3,10})">
1306 <format>$1 $2</format>
1308 <numberFormat pattern="(\d{4})(\d{3,9})">
1329 <format>$1 $2</format>
1333 <nationalNumberPattern>[1-9]\d{3,12}</nationalNumberPattern>
1334 <possibleNumberPattern>\d{3,13}</possibleNumberPattern>
1337 <!-- Note that the full area code is not validated - just the first 3 digits. This also
1338 means that even though for most Austrian numbers the minimum length is 7, we allow 6
1339 since we don't differentiate below between 3 and 4 digit area codes for reasons of
1341 <nationalNumberPattern>
1393 </nationalNumberPattern>
1394 <exampleNumber>1234567890</exampleNumber>
1397 <nationalNumberPattern>
1404 </nationalNumberPattern>
1405 <possibleNumberPattern>\d{7,13}</possibleNumberPattern>
1406 <exampleNumber>644123456</exampleNumber>
1409 <nationalNumberPattern>80[02]\d{6,10}</nationalNumberPattern>
1410 <possibleNumberPattern>\d{9,13}</possibleNumberPattern>
1411 <exampleNumber>800123456</exampleNumber>
1414 <nationalNumberPattern>
1422 </nationalNumberPattern>
1423 <possibleNumberPattern>\d{9,13}</possibleNumberPattern>
1424 <exampleNumber>900123456</exampleNumber>
1427 <nationalNumberPattern>
1432 </nationalNumberPattern>
1433 <possibleNumberPattern>\d{9,13}</possibleNumberPattern>
1434 <exampleNumber>810123456</exampleNumber>
1437 <nationalNumberPattern>780\d{6,10}</nationalNumberPattern>
1438 <possibleNumberPattern>\d{9,13}</possibleNumberPattern>
1439 <exampleNumber>780123456</exampleNumber>
1442 <nationalNumberPattern>
1451 </nationalNumberPattern>
1452 <possibleNumberPattern>\d{5,13}</possibleNumberPattern>
1453 <exampleNumber>50123</exampleNumber>
1458 <!-- Metadata shared with Cocos Islands (CC) and Christmas Islands (CX) -->
1459 <territory id="AU" countryCode="61" mainCountryForCode="true"
1460 internationalPrefix="(?:14(?:1[14]|34|4[17]|[56]6|7[47]|88))?001[14-689]"
1461 preferredInternationalPrefix="0011" nationalPrefix="0"
1462 mobileNumberPortableRegion="true">
1464 <sourceUrl>http://www.itu.int/oth/T020200000D/en</sourceUrl>
1465 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Australia</sourceUrl>
1468 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
1469 pattern="([2378])(\d{4})(\d{4})">
1470 <leadingDigits>[2378]</leadingDigits>
1471 <format>$1 $2 $3</format>
1473 <numberFormat nationalPrefixFormattingRule="$NP$FG"
1474 pattern="(\d{3})(\d{3})(\d{3})">
1479 <format>$1 $2 $3</format>
1481 <numberFormat nationalPrefixFormattingRule="$NP$FG"
1482 pattern="(16)(\d{3})(\d{2,4})">
1483 <leadingDigits>16</leadingDigits>
1484 <format>$1 $2 $3</format>
1486 <numberFormat nationalPrefixFormattingRule="$FG"
1487 pattern="(1[389]\d{2})(\d{3})(\d{3})">
1500 <format>$1 $2 $3</format>
1502 <numberFormat nationalPrefixFormattingRule="$FG"
1503 pattern="(180)(2\d{3})">
1504 <leadingDigits>180</leadingDigits>
1505 <leadingDigits>1802</leadingDigits>
1506 <format>$1 $2</format>
1508 <numberFormat nationalPrefixFormattingRule="$FG"
1509 pattern="(19\d)(\d{3})">
1510 <leadingDigits>19[13]</leadingDigits>
1511 <format>$1 $2</format>
1513 <numberFormat nationalPrefixFormattingRule="$FG"
1514 pattern="(19\d{2})(\d{4})">
1515 <leadingDigits>19[67]</leadingDigits>
1516 <format>$1 $2</format>
1518 <numberFormat nationalPrefixFormattingRule="$FG"
1519 pattern="(13)(\d{2})(\d{2})">
1520 <leadingDigits>13[1-9]</leadingDigits>
1521 <format>$1 $2 $3</format>
1525 <nationalNumberPattern>[1-578]\d{5,9}</nationalNumberPattern>
1526 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
1528 <noInternationalDialling>
1529 <nationalNumberPattern>
1540 </nationalNumberPattern>
1541 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
1542 <exampleNumber>1300123456</exampleNumber>
1543 </noInternationalDialling>
1545 <!-- Excludes prefixes used by Cocos Islands and Christmas Islands -->
1546 <nationalNumberPattern>
1559 </nationalNumberPattern>
1560 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
1561 <exampleNumber>212345678</exampleNumber>
1564 <!-- Includes MobileSat and Thuraya satellite services. According to the wikipedia page,
1565 other ranges 14[1-3] are not currently used. Note CC and CX should be updated as well
1566 if this pattern changes. -->
1567 <nationalNumberPattern>
1582 </nationalNumberPattern>
1583 <possibleNumberPattern>\d{9}</possibleNumberPattern>
1584 <exampleNumber>412345678</exampleNumber>
1587 <nationalNumberPattern>16\d{3,7}</nationalNumberPattern>
1588 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
1589 <exampleNumber>1612345</exampleNumber>
1592 <nationalNumberPattern>
1597 </nationalNumberPattern>
1598 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
1599 <exampleNumber>1800123456</exampleNumber>
1602 <nationalNumberPattern>190[0126]\d{6}</nationalNumberPattern>
1603 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1604 <exampleNumber>1900123456</exampleNumber>
1607 <!-- Local-rate (SmartNumbers) are put here because they are a reverse-charge network,
1608 although they charge a small local call connect fee (around 25c). These start with 13
1610 <nationalNumberPattern>
1614 </nationalNumberPattern>
1615 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
1616 <exampleNumber>1300123456</exampleNumber>
1618 <!-- Wikipedia was the source for these types of numbers, and number allocation search here
1619 http://web.acma.gov.au/numb/openAccess/inquiry/allocationSearch.do confirms this. (Search
1620 from 0500000000 to 0590000000) -->
1622 <nationalNumberPattern>500\d{6}</nationalNumberPattern>
1623 <possibleNumberPattern>\d{9}</possibleNumberPattern>
1624 <exampleNumber>500123456</exampleNumber>
1627 <nationalNumberPattern>550\d{6}</nationalNumberPattern>
1628 <possibleNumberPattern>\d{9}</possibleNumberPattern>
1629 <exampleNumber>550123456</exampleNumber>
1634 <territory id="AW" countryCode="297" internationalPrefix="00">
1636 <sourceUrl>http://www.itu.int/oth/T020200000B/en</sourceUrl>
1639 <numberFormat pattern="(\d{3})(\d{4})">
1640 <format>$1 $2</format>
1644 <nationalNumberPattern>[25-9]\d{6}</nationalNumberPattern>
1645 <possibleNumberPattern>\d{7}</possibleNumberPattern>
1648 <nationalNumberPattern>
1653 </nationalNumberPattern>
1654 <exampleNumber>5212345</exampleNumber>
1657 <!-- The prefixes 662, 994 & 96[45], while not in the plan, seem to be used in mobile
1658 numbers found online. -->
1659 <nationalNumberPattern>
1677 </nationalNumberPattern>
1678 <exampleNumber>5601234</exampleNumber>
1681 <nationalNumberPattern>800\d{4}</nationalNumberPattern>
1682 <exampleNumber>8001234</exampleNumber>
1685 <nationalNumberPattern>900\d{4}</nationalNumberPattern>
1686 <exampleNumber>9001234</exampleNumber>
1689 <nationalNumberPattern>
1692 </nationalNumberPattern>
1693 <exampleNumber>5011234</exampleNumber>
1697 <!-- Ã…land Islands. -->
1698 <!-- Metadata shared with Finland. -->
1699 <territory id="AX" countryCode="358" internationalPrefix="00|99[049]" nationalPrefix="0"
1700 nationalPrefixFormattingRule="$NP$FG">
1702 <sourceUrl>https://www.viestintavirasto.fi/internetpuhelin/puhelinverkonnumerointi.html</sourceUrl>
1704 <!-- The general desc and fixed line are numbers different from Finland metadata. -->
1706 <nationalNumberPattern>
1712 </nationalNumberPattern>
1713 <possibleNumberPattern>\d{5,12}</possibleNumberPattern>
1715 <noInternationalDialling>
1716 <!-- According to the national numbering plan, service numbers are in general not accessible
1717 from abroad, although 600/700/800 numbers may be. -->
1718 <nationalNumberPattern>
1736 </nationalNumberPattern>
1737 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
1738 <exampleNumber>100123</exampleNumber>
1739 </noInternationalDialling>
1741 <nationalNumberPattern>18[1-8]\d{3,9}</nationalNumberPattern>
1742 <possibleNumberPattern>\d{6,12}</possibleNumberPattern>
1743 <exampleNumber>1812345678</exampleNumber>
1745 <!-- The mobile, toll free, premium rate and UAN numbers copied from Finland. -->
1747 <nationalNumberPattern>
1750 </nationalNumberPattern>
1751 <possibleNumberPattern>\d{6,11}</possibleNumberPattern>
1752 <exampleNumber>412345678</exampleNumber>
1755 <nationalNumberPattern>800\d{4,7}</nationalNumberPattern>
1756 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
1757 <exampleNumber>8001234567</exampleNumber>
1760 <nationalNumberPattern>[67]00\d{5,6}</nationalNumberPattern>
1761 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
1762 <exampleNumber>600123456</exampleNumber>
1765 <!-- Covers nationwide non-geographic numbers, and nationwide "service numbers", typically
1766 assigned to institutions such as universities, the national post, etc, where they are
1767 not otherwise classified as toll-free or premium-rate numbers. -->
1768 <nationalNumberPattern>
1786 </nationalNumberPattern>
1787 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
1788 <exampleNumber>10112345</exampleNumber>
1793 <territory id="AZ" countryCode="994" internationalPrefix="00" nationalPrefix="0"
1794 nationalPrefixFormattingRule="($NP$FG)" mobileNumberPortableRegion="true">
1796 <sourceUrl>http://www.itu.int/oth/T020200000F/en</sourceUrl>
1799 <numberFormat pattern="(\d{2})(\d{3})(\d{2})(\d{2})">
1810 <format>$1 $2 $3 $4</format>
1812 <numberFormat pattern="(\d{2})(\d{3})(\d{2})(\d{2})" nationalPrefixFormattingRule="$NP$FG">
1813 <leadingDigits>[4-8]</leadingDigits>
1814 <format>$1 $2 $3 $4</format>
1816 <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})"
1817 nationalPrefixFormattingRule="$NP$FG">
1818 <leadingDigits>9</leadingDigits>
1819 <format>$1 $2 $3 $4</format>
1823 <nationalNumberPattern>[1-9]\d{8}</nationalNumberPattern>
1824 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
1827 <nationalNumberPattern>
1840 </nationalNumberPattern>
1841 <exampleNumber>123123456</exampleNumber>
1844 <nationalNumberPattern>
1851 </nationalNumberPattern>
1852 <possibleNumberPattern>\d{9}</possibleNumberPattern>
1853 <exampleNumber>401234567</exampleNumber>
1856 <!-- 88 is listed as fixed-line for Baku in the ITU document, but online numbers seem to
1857 suggest they are in fact national toll-free numbers. -->
1858 <nationalNumberPattern>88\d{7}</nationalNumberPattern>
1859 <possibleNumberPattern>\d{9}</possibleNumberPattern>
1860 <exampleNumber>881234567</exampleNumber>
1863 <!-- These are marked as Interactive Calls in the ITU document. -->
1864 <nationalNumberPattern>900200\d{3}</nationalNumberPattern>
1865 <possibleNumberPattern>\d{9}</possibleNumberPattern>
1866 <exampleNumber>900200123</exampleNumber>
1870 <!-- Bosnia and Herzegovina -->
1871 <territory id="BA" countryCode="387" internationalPrefix="00"
1872 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
1873 mobileNumberPortableRegion="true">
1875 <!-- accessible from http://www.cra.ba/en/telecom/numbering/ -->
1876 <sourceUrl>http://www.rak.ba/eng/index.php?uid=1272016657</sourceUrl>
1877 <sourceUrl>http://en.wikipedia.org/wiki/+387</sourceUrl>
1880 <numberFormat pattern="(\d{2})(\d{3})(\d{3})">
1881 <leadingDigits>[3-5]</leadingDigits>
1882 <format>$1 $2-$3</format>
1884 <numberFormat pattern="(\d{2})(\d{3})(\d{3})">
1889 <format>$1 $2 $3</format>
1891 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{3})">
1892 <leadingDigits>6[047]</leadingDigits>
1893 <format>$1 $2 $3 $4</format>
1897 <nationalNumberPattern>[3-9]\d{7,8}</nationalNumberPattern>
1898 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
1901 <nationalNumberPattern>
1906 </nationalNumberPattern>
1907 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
1908 <exampleNumber>30123456</exampleNumber>
1911 <nationalNumberPattern>
1918 </nationalNumberPattern>
1919 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
1920 <exampleNumber>61123456</exampleNumber>
1923 <nationalNumberPattern>8[08]\d{6}</nationalNumberPattern>
1924 <possibleNumberPattern>\d{8}</possibleNumberPattern>
1925 <exampleNumber>80123456</exampleNumber>
1928 <nationalNumberPattern>9[0246]\d{6}</nationalNumberPattern>
1929 <possibleNumberPattern>\d{8}</possibleNumberPattern>
1930 <exampleNumber>90123456</exampleNumber>
1933 <!-- Using this category to model national tariff numbers - these are under Shared Cost in
1935 <nationalNumberPattern>8[12]\d{6}</nationalNumberPattern>
1936 <possibleNumberPattern>\d{8}</possibleNumberPattern>
1937 <exampleNumber>82123456</exampleNumber>
1940 <!-- Using this to classify nomad numbers. -->
1941 <nationalNumberPattern>70[23]\d{5}</nationalNumberPattern>
1942 <possibleNumberPattern>\d{8}</possibleNumberPattern>
1943 <exampleNumber>70223456</exampleNumber>
1948 <territory id="BB" countryCode="1" leadingDigits="246" nationalPrefix="1"
1949 internationalPrefix="011">
1951 <sourceUrl>http://www.itu.int/oth/T0202000013/en</sourceUrl>
1954 <!-- NANPA country - uses US formatting rules -->
1955 <nationalNumberPattern>[2589]\d{9}</nationalNumberPattern>
1956 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
1959 <nationalNumberPattern>246[2-9]\d{6}</nationalNumberPattern>
1960 <exampleNumber>2462345678</exampleNumber>
1963 <!-- Prefix 256 was added from bug report. -->
1964 <nationalNumberPattern>
1973 </nationalNumberPattern>
1974 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1975 <exampleNumber>2462501234</exampleNumber>
1978 <nationalNumberPattern>
1987 </nationalNumberPattern>
1988 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1989 <exampleNumber>8002123456</exampleNumber>
1992 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
1993 <possibleNumberPattern>\d{10}</possibleNumberPattern>
1994 <exampleNumber>9002123456</exampleNumber>
1997 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
1998 <nationalNumberPattern>
2006 </nationalNumberPattern>
2007 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2008 <exampleNumber>5002345678</exampleNumber>
2013 <territory id="BD" countryCode="880" internationalPrefix="00[12]?"
2014 preferredInternationalPrefix="00"
2015 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
2017 <sourceUrl>http://www.itu.int/oth/T0202000012/en</sourceUrl>
2018 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Bangladesh</sourceUrl>
2019 <sourceUrl>http://www.btrc.gov.bd/sites/default/files/national_numbering_plan_2005_0.pdf</sourceUrl>
2022 <numberFormat pattern="(2)(\d{7})">
2023 <leadingDigits>2</leadingDigits>
2024 <format>$1-$2</format>
2026 <numberFormat pattern="(\d{2})(\d{4,6})">
2027 <leadingDigits>[3-79]1</leadingDigits>
2028 <format>$1-$2</format>
2030 <!-- Mobile numbers, VOIP, and four-digit fixed-line area codes. -->
2031 <numberFormat pattern="(\d{4})(\d{3,6})">
2063 <format>$1-$2</format>
2065 <numberFormat pattern="(\d{3})(\d{3,7})">
2070 <format>$1-$2</format>
2074 <!-- This is quite complex so we can define that numbers beginning with 88 are not part of the
2075 plan, so the country code can be accurately stripped off. -->
2076 <nationalNumberPattern>
2080 </nationalNumberPattern>
2081 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
2084 <!-- There was a plan to move to 10 digit fixed-line numbers, but this does not seem to have
2085 been realised, judging by online numbers and wikipedia. These patterns are grouped
2086 first by leading digit, then within by number of digits. Several Dhaka prefixes (02 731,
2087 02 910, etc.) are included despite not being mentioned on Wikipedia / ITU due to
2088 online evidence. Another oddity is Chittagong - some numbers have a leading 2, others
2089 do not - both are allowed for now. For some area codes, the subscriber number length
2090 described in our source documentation doesn't match numbers online (e.g. 05222) so we
2091 allow both for now. (This applies to 0431, 04329, 04623, 05327 as well). We have
2092 also added 04452 and 04923 from numbers found online. -->
2093 <nationalNumberPattern>
2366 </nationalNumberPattern>
2367 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
2368 <exampleNumber>27111234</exampleNumber>
2371 <!-- Presuming that mobile numbers with the prefixes 66, 37, 44 and 38 must be followed by
2372 numbers [02-9] or they would clash with fixed-line codes. According to the plan, mobile
2373 numbers should be moving to 1[13-9] anyway. -->
2374 <nationalNumberPattern>
2386 </nationalNumberPattern>
2387 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2388 <exampleNumber>1812345678</exampleNumber>
2391 <!-- Note: Including Tele-voting numbers here as they are free of charge. -->
2392 <nationalNumberPattern>80[03]\d{7}</nationalNumberPattern>
2393 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2394 <exampleNumber>8001234567</exampleNumber>
2397 <nationalNumberPattern>
2403 </nationalNumberPattern>
2404 <possibleNumberPattern>\d{10}</possibleNumberPattern>
2405 <exampleNumber>9604123456</exampleNumber>
2410 <territory id="BE" countryCode="32" internationalPrefix="00"
2411 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
2412 mobileNumberPortableRegion="true">
2414 <sourceUrl>http://www.bipt.be/en/operators/telecommunication/Numbering/Database</sourceUrl>
2415 <sourceUrl>http://www.bipt.be/public/files/en/474/20140829153659_Belgian_numbering_plan</sourceUrl>
2416 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Belgium</sourceUrl>
2419 <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})">
2420 <leadingDigits>4[6-9]</leadingDigits>
2421 <format>$1 $2 $3 $4</format>
2423 <numberFormat pattern="(\d)(\d{3})(\d{2})(\d{2})">
2429 <format>$1 $2 $3 $4</format>
2431 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
2440 <format>$1 $2 $3 $4</format>
2442 <numberFormat pattern="(\d{3})(\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 <nationalNumberPattern>
2469 </nationalNumberPattern>
2470 <possibleNumberPattern>\d{8}</possibleNumberPattern>
2471 <exampleNumber>12345678</exampleNumber>
2474 <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)">
3178 <format>$1 $2-$3</format>
3180 <numberFormat nationalPrefixFormattingRule="($FG)"
3181 pattern="(\d{2})(\d{4})(\d{4})"
3182 carrierCodeFormattingRule="$NP $CC ($FG)">
3183 <leadingDigits>[1-9][1-9]</leadingDigits>
3184 <format>$1 $2-$3</format>
3186 <numberFormat pattern="([34]00\d)(\d{4})">
3187 <leadingDigits>[34]00</leadingDigits>
3188 <format>$1-$2</format>
3190 <numberFormat nationalPrefixFormattingRule="$NP$FG"
3191 pattern="([3589]00)(\d{2,3})(\d{4})">
3192 <leadingDigits>[3589]00</leadingDigits>
3193 <format>$1 $2 $3</format>
3197 <nationalNumberPattern>
3200 </nationalNumberPattern>
3201 <possibleNumberPattern>\d{8,11}</possibleNumberPattern>
3203 <noInternationalDialling>
3204 <nationalNumberPattern>[34]00\d{5}</nationalNumberPattern>
3205 <possibleNumberPattern>\d{8}</possibleNumberPattern>
3206 <exampleNumber>40041234</exampleNumber>
3207 </noInternationalDialling>
3209 <!-- According to this publication, the prefixes 11 53, 11 54 and 11 57 are to be used for
3210 mobile phones prior to the introduction of a ninth digit. It is not clear whether they
3211 are still valid as fixed-line numbers, so we are leaving them here in the meantime:
3212 http://www.anatel.gov.br/Portal/exibirPortalNoticias.do?acao=carregaNoticia&codigo=22406
3214 <nationalNumberPattern>
3223 </nationalNumberPattern>
3224 <exampleNumber>1123456789</exampleNumber>
3227 <!-- Since 2012, Brazil has been migrating from 10 to 11 digits by inserting a 9 before the
3228 last 8 digits. The following pattern is divided into 3 sections: ranges for which the
3229 migration has been completed, ranges which are in transition, and ranges which are
3230 still in the old format. (Ranges which were supposed to have been deprecated in
3231 Oct. 2013 are still working as of May 2015.) Note that mobile radio services are
3232 still 10 digits, with the subscriber number (the last 8 digits) beginning with 7. -->
3233 <nationalNumberPattern>
3248 </nationalNumberPattern>
3249 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
3250 <exampleNumber>11961234567</exampleNumber>
3253 <nationalNumberPattern>800\d{6,7}</nationalNumberPattern>
3254 <exampleNumber>800123456</exampleNumber>
3257 <nationalNumberPattern>[359]00\d{6,7}</nationalNumberPattern>
3258 <exampleNumber>300123456</exampleNumber>
3261 <nationalNumberPattern>[34]00\d{5}</nationalNumberPattern>
3262 <possibleNumberPattern>\d{8}</possibleNumberPattern>
3263 <exampleNumber>40041234</exampleNumber>
3268 <territory id="BS" countryCode="1" leadingDigits="242" nationalPrefix="1"
3269 internationalPrefix="011">
3271 <sourceUrl>http://www.itu.int/oth/T0202000010/en</sourceUrl>
3274 <!-- NANPA country - uses US formatting rules -->
3275 <nationalNumberPattern>[2589]\d{9}</nationalNumberPattern>
3276 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
3279 <nationalNumberPattern>
3301 </nationalNumberPattern>
3302 <exampleNumber>2423456789</exampleNumber>
3305 <nationalNumberPattern>
3329 </nationalNumberPattern>
3330 <possibleNumberPattern>\d{10}</possibleNumberPattern>
3331 <exampleNumber>2423591234</exampleNumber>
3334 <!-- 242 300 is a Domestic Toll Free service. -->
3335 <nationalNumberPattern>
3345 </nationalNumberPattern>
3346 <possibleNumberPattern>\d{10}</possibleNumberPattern>
3347 <exampleNumber>8002123456</exampleNumber>
3350 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
3351 <possibleNumberPattern>\d{10}</possibleNumberPattern>
3352 <exampleNumber>9002123456</exampleNumber>
3355 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
3356 <nationalNumberPattern>
3364 </nationalNumberPattern>
3365 <possibleNumberPattern>\d{10}</possibleNumberPattern>
3366 <exampleNumber>5002345678</exampleNumber>
3371 <territory id="BT" countryCode="975" internationalPrefix="00">
3373 <sourceUrl>http://www.itu.int/oth/T0202000019/en</sourceUrl>
3377 http://www.tourism.gov.bt/tour-operators/bhutan-abbot-tours-and-travels.html -->
3378 <numberFormat pattern="([17]7)(\d{2})(\d{2})(\d{2})">
3383 <format>$1 $2 $3 $4</format>
3385 <numberFormat pattern="([2-8])(\d{3})(\d{3})">
3390 <format>$1 $2 $3</format>
3394 <nationalNumberPattern>[1-8]\d{6,7}</nationalNumberPattern>
3395 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
3398 <nationalNumberPattern>
3407 </nationalNumberPattern>
3408 <possibleNumberPattern>\d{6,7}</possibleNumberPattern>
3409 <exampleNumber>2345678</exampleNumber>
3412 <!-- The 77 prefix is not yet in the ITU document but numbers online indicate this prefix
3414 <nationalNumberPattern>[17]7\d{6}</nationalNumberPattern>
3415 <possibleNumberPattern>\d{8}</possibleNumberPattern>
3416 <exampleNumber>17123456</exampleNumber>
3418 <!-- No information on other types of phone numbers for Bhutan has been found. -->
3422 <territory id="BW" countryCode="267" internationalPrefix="00">
3424 <sourceUrl>http://www.itu.int/oth/T020200001C/en</sourceUrl>
3427 <numberFormat pattern="(\d{3})(\d{4})">
3428 <leadingDigits>[2-6]</leadingDigits>
3429 <format>$1 $2</format>
3431 <numberFormat pattern="(7\d)(\d{3})(\d{3})">
3432 <leadingDigits>7</leadingDigits>
3433 <format>$1 $2 $3</format>
3435 <numberFormat pattern="(90)(\d{5})">
3436 <leadingDigits>9</leadingDigits>
3437 <format>$1 $2</format>
3441 <nationalNumberPattern>[2-79]\d{6,7}</nationalNumberPattern>
3442 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
3445 <nationalNumberPattern>
3477 </nationalNumberPattern>
3478 <possibleNumberPattern>\d{7}</possibleNumberPattern>
3479 <exampleNumber>2401234</exampleNumber>
3482 <nationalNumberPattern>
3488 </nationalNumberPattern>
3489 <possibleNumberPattern>\d{8}</possibleNumberPattern>
3490 <exampleNumber>71123456</exampleNumber>
3492 <!-- No reliable information about toll-free numbers can be found; many are written on the
3493 internet like 0800 123 456, but this is not supported by any documentation and no
3494 numbers can be found that actually work. -->
3496 <nationalNumberPattern>90\d{5}</nationalNumberPattern>
3497 <possibleNumberPattern>\d{7}</possibleNumberPattern>
3498 <exampleNumber>9012345</exampleNumber>
3501 <nationalNumberPattern>79[12][01]\d{4}</nationalNumberPattern>
3502 <possibleNumberPattern>\d{8}</possibleNumberPattern>
3503 <exampleNumber>79101234</exampleNumber>
3508 <!-- Information on national prefix provided by a Belarussian person. -->
3509 <territory id="BY" countryCode="375" preferredInternationalPrefix="8~10"
3510 internationalPrefix="810" nationalPrefixForParsing="8?0?"
3511 nationalPrefix="8" mobileNumberPortableRegion="true">
3513 <sourceUrl>http://www.eng.beltelecom.by/en/subscribers/phone-codes</sourceUrl>
3516 <numberFormat nationalPrefixFormattingRule="$NP 0$FG"
3517 pattern="(\d{2})(\d{3})(\d{2})(\d{2})">
3532 <format>$1 $2-$3-$4</format>
3534 <numberFormat nationalPrefixFormattingRule="$NP 0$FG"
3535 pattern="(\d{3})(\d{2})(\d{2})(\d{2})">
3567 <format>$1 $2-$3-$4</format>
3569 <numberFormat nationalPrefixFormattingRule="$NP 0$FG"
3570 pattern="(\d{4})(\d{2})(\d{3})">
3603 <format>$1 $2-$3</format>
3605 <numberFormat nationalPrefixFormattingRule="$NP $FG"
3606 pattern="([89]\d{2})(\d{3})(\d{4})">
3611 <format>$1 $2 $3</format>
3613 <numberFormat nationalPrefixFormattingRule="$NP $FG"
3614 pattern="(8\d{2})(\d{4})(\d{4})">
3615 <leadingDigits>82</leadingDigits>
3616 <format>$1 $2 $3</format>
3620 <nationalNumberPattern>
3623 </nationalNumberPattern>
3624 <!-- Numbers are often written without the city code. -->
3625 <possibleNumberPattern>\d{7,11}</possibleNumberPattern>
3627 <!-- Toll-free and premium rate numbers are not available from abroad. -->
3628 <noInternationalDialling>
3629 <nationalNumberPattern>
3635 </nationalNumberPattern>
3636 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
3637 <exampleNumber>82012345678</exampleNumber>
3638 </noInternationalDialling>
3640 <nationalNumberPattern>
3673 </nationalNumberPattern>
3674 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
3675 <!-- Using test number for Grodno from the plan. -->
3676 <exampleNumber>152450911</exampleNumber>
3679 <nationalNumberPattern>
3688 </nationalNumberPattern>
3689 <possibleNumberPattern>\d{9}</possibleNumberPattern>
3690 <!-- Using test number for BelCel from the plan. -->
3691 <exampleNumber>294911911</exampleNumber>
3694 <!-- Putting Interactive Polling Service (free) here too. -->
3695 <nationalNumberPattern>
3700 </nationalNumberPattern>
3701 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
3702 <exampleNumber>8011234567</exampleNumber>
3705 <!-- Putting Interactive Polling Service (paid) here too. -->
3706 <nationalNumberPattern>
3711 </nationalNumberPattern>
3712 <possibleNumberPattern>\d{10}</possibleNumberPattern>
3713 <exampleNumber>9021234567</exampleNumber>
3716 <!-- 249 prefix for Beltelcom's Maxiphone added based on online info. -->
3717 <nationalNumberPattern>249\d{6}</nationalNumberPattern>
3718 <possibleNumberPattern>\d{9}</possibleNumberPattern>
3719 <exampleNumber>249123456</exampleNumber>
3724 <!-- The trunk prefix, formally 0, was dropped in the last reorganisation of the numbering plan.
3726 <territory id="BZ" countryCode="501" internationalPrefix="00" leadingZeroPossible="true">
3728 <sourceUrl>http://www.itu.int/oth/T0202000016/en</sourceUrl>
3731 <numberFormat pattern="(\d{3})(\d{4})">
3732 <leadingDigits>[2-8]</leadingDigits>
3733 <!-- Adding hyphen following the Belize Telemedia formatting rules. -->
3734 <format>$1-$2</format>
3736 <numberFormat pattern="(0)(800)(\d{4})(\d{3})">
3737 <leadingDigits>0</leadingDigits>
3738 <format>$1-$2-$3-$4</format>
3742 <nationalNumberPattern>
3745 </nationalNumberPattern>
3746 <possibleNumberPattern>\d{7}(?:\d{4})?</possibleNumberPattern>
3749 <nationalNumberPattern>[234578][02]\d{5}</nationalNumberPattern>
3750 <possibleNumberPattern>\d{7}</possibleNumberPattern>
3751 <exampleNumber>2221234</exampleNumber>
3754 <!-- 62[6-9], 63X and 6[67][2-9] were added as we have been able to successfully send SMSs
3755 to these numbers or many numbers have been found online. -->
3756 <nationalNumberPattern>6[0-367]\d{5}</nationalNumberPattern>
3757 <possibleNumberPattern>\d{7}</possibleNumberPattern>
3758 <exampleNumber>6221234</exampleNumber>
3760 <!-- We don't know how these would be dialled internationally - it is possible that they can't
3761 be dialled internationally at all - so we represent the leading 0 as part of the number.
3762 Information from http://www.belizetelemedia.net. -->
3764 <nationalNumberPattern>0800\d{7}</nationalNumberPattern>
3765 <possibleNumberPattern>\d{11}</possibleNumberPattern>
3766 <exampleNumber>08001234123</exampleNumber>
3771 <territory id="CA" countryCode="1" internationalPrefix="011" nationalPrefix="1"
3772 mobileNumberPortableRegion="true">
3774 <sourceUrl>http://www.cnac.ca/canadian_dial_plan/canadian_dial_plan.htm</sourceUrl>
3777 <!-- NANPA country - uses US formatting rules -->
3778 <nationalNumberPattern>
3781 </nationalNumberPattern>
3782 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
3785 <nationalNumberPattern>
3831 </nationalNumberPattern>
3832 <exampleNumber>2042345678</exampleNumber>
3835 <nationalNumberPattern>
3880 </nationalNumberPattern>
3881 <exampleNumber>2042345678</exampleNumber>
3884 <nationalNumberPattern>
3894 </nationalNumberPattern>
3895 <exampleNumber>8002123456</exampleNumber>
3898 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
3899 <possibleNumberPattern>\d{10}</possibleNumberPattern>
3900 <exampleNumber>9002123456</exampleNumber>
3903 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
3904 <nationalNumberPattern>
3912 </nationalNumberPattern>
3913 <possibleNumberPattern>\d{10}</possibleNumberPattern>
3914 <exampleNumber>5002345678</exampleNumber>
3918 <!-- Cocos Islands -->
3919 <!-- Metadata shared with Australia. -->
3920 <!-- References state Cocos Islands have fixed line numbers starting +61 8 9162. -->
3921 <territory id="CC" countryCode="61" preferredInternationalPrefix="0011"
3922 internationalPrefix="(?:14(?:1[14]|34|4[17]|[56]6|7[47]|88))?001[14-689]"
3925 <sourceUrl>http://en.wikipedia.org/wiki/List_of_country_calling_codes</sourceUrl>
3926 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Australia</sourceUrl>
3928 <!-- Uses AU formatting rules. -->
3929 <!-- General desc and fixed line rules different from Australia. -->
3931 <nationalNumberPattern>[1458]\d{5,9}</nationalNumberPattern>
3932 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
3935 <nationalNumberPattern>89162\d{4}</nationalNumberPattern>
3936 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
3937 <exampleNumber>891621234</exampleNumber>
3939 <!-- Mobile, toll free, premium rate, personal number and VOIP copied from Australia. -->
3941 <nationalNumberPattern>
3956 </nationalNumberPattern>
3957 <possibleNumberPattern>\d{9}</possibleNumberPattern>
3958 <exampleNumber>412345678</exampleNumber>
3961 <nationalNumberPattern>
3970 </nationalNumberPattern>
3971 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
3972 <exampleNumber>1800123456</exampleNumber>
3975 <nationalNumberPattern>190[0126]\d{6}</nationalNumberPattern>
3976 <possibleNumberPattern>\d{10}</possibleNumberPattern>
3977 <exampleNumber>1900123456</exampleNumber>
3980 <nationalNumberPattern>500\d{6}</nationalNumberPattern>
3981 <possibleNumberPattern>\d{9}</possibleNumberPattern>
3982 <exampleNumber>500123456</exampleNumber>
3985 <nationalNumberPattern>550\d{6}</nationalNumberPattern>
3986 <possibleNumberPattern>\d{9}</possibleNumberPattern>
3987 <exampleNumber>550123456</exampleNumber>
3991 <!-- Congo, Dem. Rep. of the (formerly Zaire) -->
3992 <territory id="CD" countryCode="243" internationalPrefix="00"
3993 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
3995 <sourceUrl>http://www.itu.int/oth/T0202000037/en</sourceUrl>
3998 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
3999 <leadingDigits>12</leadingDigits>
4000 <format>$1 $2 $3</format>
4002 <numberFormat pattern="([89]\d{2})(\d{3})(\d{3})">
4007 <format>$1 $2 $3</format>
4009 <numberFormat pattern="(\d{2})(\d{2})(\d{3})">
4010 <leadingDigits>88</leadingDigits>
4011 <format>$1 $2 $3</format>
4013 <numberFormat pattern="(\d{2})(\d{5})">
4014 <leadingDigits>[1-6]</leadingDigits>
4015 <format>$1 $2</format>
4019 <nationalNumberPattern>
4023 </nationalNumberPattern>
4024 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
4027 <nationalNumberPattern>
4033 </nationalNumberPattern>
4034 <exampleNumber>1234567</exampleNumber>
4037 <!-- As of May'13 the 88 range looks as if it is defunct. The ITU document lists "Yozma
4038 Timeturns" as the operator, but their website (http://www.ytt.cd) is offline and the
4039 holdings company http://www.timeturnsholdings.com/products does not show a link for
4040 DRC. While there are still numbers of the form "88\d{5}" online, none of the ones
4041 tried were valid. If the holdings company does not respond to requests about this
4042 range and unless we receive further information, we will remove this range. -->
4043 <nationalNumberPattern>
4049 </nationalNumberPattern>
4050 <exampleNumber>991234567</exampleNumber>
4054 <!-- Central African Republic -->
4055 <territory id="CF" countryCode="236" internationalPrefix="00">
4057 <sourceUrl>http://www.itu.int/oth/T0202000028/en</sourceUrl>
4060 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
4061 <format>$1 $2 $3 $4</format>
4065 <nationalNumberPattern>[278]\d{7}</nationalNumberPattern>
4066 <possibleNumberPattern>\d{8}</possibleNumberPattern>
4069 <nationalNumberPattern>2[12]\d{6}</nationalNumberPattern>
4070 <exampleNumber>21612345</exampleNumber>
4073 <nationalNumberPattern>7[0257]\d{6}</nationalNumberPattern>
4074 <exampleNumber>70012345</exampleNumber>
4077 <nationalNumberPattern>8776\d{4}</nationalNumberPattern>
4078 <exampleNumber>87761234</exampleNumber>
4082 <!-- Congo (Rep. of the) (Brazzaville) -->
4083 <territory id="CG" countryCode="242" internationalPrefix="00" leadingZeroPossible="true">
4085 <sourceUrl>http://www.itu.int/oth/T020200002E/en</sourceUrl>
4088 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
4089 <leadingDigits>[02]</leadingDigits>
4090 <format>$1 $2 $3</format>
4092 <numberFormat pattern="(\d)(\d{4})(\d{4})">
4093 <leadingDigits>8</leadingDigits>
4094 <format>$1 $2 $3</format>
4098 <nationalNumberPattern>[028]\d{8}</nationalNumberPattern>
4099 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4102 <nationalNumberPattern>222[1-589]\d{5}</nationalNumberPattern>
4103 <exampleNumber>222123456</exampleNumber>
4106 <nationalNumberPattern>0[14-6]\d{7}</nationalNumberPattern>
4107 <exampleNumber>061234567</exampleNumber>
4109 <!-- Referred to as a "Green number" in the telephone plan. -->
4111 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
4112 <exampleNumber>800123456</exampleNumber>
4116 <!-- Switzerland -->
4117 <territory id="CH" countryCode="41" internationalPrefix="00"
4118 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
4119 mobileNumberPortableRegion="true">
4121 <!-- Under Technical prescriptions: Numbering plan for international carriers. -->
4122 <sourceUrl>http://www.bakom.admin.ch/themen/telekom/00479/00604/index.html?lang=en</sourceUrl>
4125 <numberFormat pattern="([2-9]\d)(\d{3})(\d{2})(\d{2})">
4130 <format>$1 $2 $3 $4</format>
4132 <numberFormat pattern="([89]\d{2})(\d{3})(\d{3})">
4137 <format>$1 $2 $3</format>
4139 <numberFormat pattern="(\d{3})(\d{2})(\d{3})(\d{2})(\d{2})">
4140 <leadingDigits>860</leadingDigits>
4141 <format>$1 $2 $3 $4 $5</format>
4145 <nationalNumberPattern>
4148 </nationalNumberPattern>
4149 <possibleNumberPattern>\d{9}(?:\d{3})?</possibleNumberPattern>
4152 <nationalNumberPattern>
4161 </nationalNumberPattern>
4162 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4163 <exampleNumber>212345678</exampleNumber>
4166 <nationalNumberPattern>7[5-9]\d{7}</nationalNumberPattern>
4167 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4168 <exampleNumber>781234567</exampleNumber>
4171 <!-- https://www.eofcom.admin.ch/eofcom/public/listEofcom_e164Allocated.do -->
4172 <nationalNumberPattern>74[0248]\d{6}</nationalNumberPattern>
4173 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4174 <exampleNumber>740123456</exampleNumber>
4177 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
4178 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4179 <exampleNumber>800123456</exampleNumber>
4182 <nationalNumberPattern>90[016]\d{6}</nationalNumberPattern>
4183 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4184 <exampleNumber>900123456</exampleNumber>
4187 <nationalNumberPattern>84[0248]\d{6}</nationalNumberPattern>
4188 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4189 <exampleNumber>840123456</exampleNumber>
4192 <nationalNumberPattern>878\d{6}</nationalNumberPattern>
4193 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4194 <exampleNumber>878123456</exampleNumber>
4197 <!-- Used for corporate networks. -->
4198 <nationalNumberPattern>5[18]\d{7}</nationalNumberPattern>
4199 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4200 <exampleNumber>581234567</exampleNumber>
4203 <nationalNumberPattern>860\d{9}</nationalNumberPattern>
4204 <possibleNumberPattern>\d{12}</possibleNumberPattern>
4205 <exampleNumber>860123456789</exampleNumber>
4209 <!-- Côte d'Ivoire -->
4210 <territory id="CI" countryCode="225" internationalPrefix="00" leadingZeroPossible="true">
4212 <sourceUrl>http://www.itu.int/oth/T0202000031/en</sourceUrl>
4215 <!-- Using format from online yellow pages over format implied in national numbering plan.
4217 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
4218 <format>$1 $2 $3 $4</format>
4222 <nationalNumberPattern>[02-7]\d{7}</nationalNumberPattern>
4223 <possibleNumberPattern>\d{8}</possibleNumberPattern>
4226 <nationalNumberPattern>
4242 </nationalNumberPattern>
4243 <exampleNumber>21234567</exampleNumber>
4246 <!-- Added the prefixes 4[0-2] (Moov), 5[5-9] & 6[15] because SMS messages have been
4247 successfully delivered. Supported by numbers found on the internet. Also added 43
4248 (Moov) based on numbers found online. The prefix 56 was assigned to MTN in July 2013:
4249 http://www.atci.ci/images/stories/pdf/decisions-dg/decision_002.pdf
4250 The prefix 75 is from an open-source bug report.
4251 50 has been removed since Warid seems to have stopped operation in Côte d'Ivoire. -->
4252 <nationalNumberPattern>
4260 </nationalNumberPattern>
4261 <exampleNumber>01234567</exampleNumber>
4265 <!-- Cook Islands -->
4266 <territory id="CK" countryCode="682" internationalPrefix="00">
4268 <sourceUrl>http://www.itu.int/oth/T020200002F/en</sourceUrl>
4271 <numberFormat pattern="(\d{2})(\d{3})">
4272 <format>$1 $2</format>
4276 <nationalNumberPattern>[2-57]\d{4}</nationalNumberPattern>
4277 <possibleNumberPattern>\d{5}</possibleNumberPattern>
4280 <nationalNumberPattern>
4286 </nationalNumberPattern>
4287 <exampleNumber>21234</exampleNumber>
4290 <nationalNumberPattern>
4295 </nationalNumberPattern>
4296 <exampleNumber>71234</exampleNumber>
4301 <!-- Carriers listed here: http://www.turismochile.com/datos/carrier.php -->
4302 <territory id="CL" countryCode="56"
4303 internationalPrefix="(?:0|1(?:1[0-69]|2[0-57]|5[13-58]|69|7[0167]|8[018]))0"
4305 nationalPrefixForParsing="0|(1(?:1[0-69]|2[0-57]|5[13-58]|69|7[0167]|8[018]))"
4306 nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
4308 <sourceUrl>http://www.itu.int/oth/T020200002A/en</sourceUrl>
4309 <sourceUrl>http://en.wikipedia.org/wiki/%2B56</sourceUrl>
4310 <sourceUrl>http://www.subtel.gob.cl/base_numeracion/tabla_numeracion_ido_idd.xlsx</sourceUrl>
4312 <!-- When dialling mobile numbers from landlines, or vice versa, you need a prefix of 0, which
4313 we strip here. National destinations may be dialled with a carrier if they are not local
4314 so we extract these carrier codes as well. -->
4316 <numberFormat pattern="(\d)(\d{4})(\d{4})"
4317 nationalPrefixFormattingRule="($FG)"
4318 carrierCodeFormattingRule="$CC ($FG)">
4319 <leadingDigits>22</leadingDigits>
4320 <format>$1 $2 $3</format>
4322 <numberFormat pattern="(\d{2})(\d{3})(\d{4})"
4323 nationalPrefixFormattingRule="($FG)"
4324 carrierCodeFormattingRule="$CC ($FG)">
4330 <format>$1 $2 $3</format>
4332 <numberFormat pattern="(9)(\d{4})(\d{4})">
4333 <leadingDigits>9</leadingDigits>
4334 <format>$1 $2 $3</format>
4336 <numberFormat pattern="(44)(\d{3})(\d{4})">
4337 <leadingDigits>44</leadingDigits>
4338 <format>$1 $2 $3</format>
4340 <numberFormat nationalPrefixFormattingRule="$FG"
4341 pattern="([68]00)(\d{3})(\d{3,4})">
4346 <format>$1 $2 $3</format>
4348 <numberFormat nationalPrefixFormattingRule="$FG"
4349 pattern="(600)(\d{3})(\d{2})(\d{3})">
4350 <leadingDigits>60</leadingDigits>
4351 <format>$1 $2 $3 $4</format>
4353 <numberFormat nationalPrefixFormattingRule="$FG"
4354 pattern="(1230)(\d{3})(\d{4})">
4355 <leadingDigits>1</leadingDigits>
4356 <format>$1 $2 $3</format>
4358 <numberFormat pattern="(\d{5})(\d{4})"
4359 nationalPrefixFormattingRule="($FG)"
4360 carrierCodeFormattingRule="$CC ($FG)">
4361 <leadingDigits>219</leadingDigits>
4362 <format>$1 $2</format>
4364 <!-- Format some short numbers as a block. -->
4365 <numberFormat nationalPrefixFormattingRule="$FG"
4366 pattern="(\d{4,5})">
4367 <leadingDigits>[1-9]</leadingDigits>
4369 <intlFormat>NA</intlFormat>
4373 <nationalNumberPattern>
4379 </nationalNumberPattern>
4380 <possibleNumberPattern>\d{7,11}</possibleNumberPattern>
4382 <noInternationalDialling>
4383 <nationalNumberPattern>600\d{7,8}</nationalNumberPattern>
4384 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
4385 <exampleNumber>6001234567</exampleNumber>
4386 </noInternationalDialling>
4388 <!-- In mid-2013, Chile switched from 8 digits to 9 digits for fixed-line numbers, by
4389 inserting a '2' after the area code (which are 2 digits, with the exception of '2').
4390 As of Aug. 2014, all of the prefixes have been switched over to the new plan.
4391 IMPORTANT: The fact that Santiago numbers have a prefix of "22", and that numbers in
4392 other areas have '2' as their third digit, is likely to change in the future. At some
4393 stage, Santiago numbers will probably switch to prefix "2\d", and the third digit in
4394 other areas will probably be allowed to take on other values.
4395 See: http://www.gob.cl/especiales/informate-de-la-nueva-forma-de-marcar/
4396 http://www.subtel.cl/index.php?option=com_content&view=article&id=3081:&catid=3:noticias
4398 <nationalNumberPattern>
4409 </nationalNumberPattern>
4410 <!-- Area codes do not need to be dialled when dialling within the same area, so the
4411 smallest possible number is length 7. -->
4412 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
4413 <exampleNumber>221234567</exampleNumber>
4416 <nationalNumberPattern>9[4-9]\d{7}</nationalNumberPattern>
4417 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
4418 <exampleNumber>961234567</exampleNumber>
4420 <!-- Toll free patterns have been collected by looking at numbers on the internet, rather than
4421 from a definitive source. -->
4423 <!-- 1230 numbers are used by Visa/Mastercard helplines in Chile -->
4424 <nationalNumberPattern>
4427 </nationalNumberPattern>
4428 <possibleNumberPattern>\d{9,11}</possibleNumberPattern>
4429 <exampleNumber>800123456</exampleNumber>
4432 <!-- http://empresa.movistar.cl/nuestros_productos/soluciones_telefonia_ip/servicios/servicio_600.php -->
4433 <nationalNumberPattern>600\d{7,8}</nationalNumberPattern>
4434 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
4435 <exampleNumber>6001234567</exampleNumber>
4438 <nationalNumberPattern>44\d{7}</nationalNumberPattern>
4439 <possibleNumberPattern>\d{9}</possibleNumberPattern>
4440 <exampleNumber>441234567</exampleNumber>
4445 <territory id="CM" countryCode="237" internationalPrefix="00">
4447 <sourceUrl>http://www.itu.int/oth/T0202000024/en</sourceUrl>
4448 <sourceUrl>http://www.itu.int/dms_pub/itu-t/opb/sp/T-SP-OB.1063-2014-OAS-PDF-E.pdf</sourceUrl>
4451 <!-- Formatting in the ITU update document aligns with formatting online (all 2 digit
4452 groups). For the new number format with 9 digits the first digit has it's own group.
4454 <numberFormat pattern="([26])(\d{2})(\d{2})(\d{2})(\d{2})">
4455 <leadingDigits>[26]</leadingDigits>
4456 <format>$1 $2 $3 $4 $5</format>
4458 <numberFormat pattern="([2357-9]\d)(\d{2})(\d{2})(\d{2})">
4463 <format>$1 $2 $3 $4</format>
4465 <numberFormat pattern="(800)(\d{2})(\d{3})">
4466 <leadingDigits>80</leadingDigits>
4467 <format>$1 $2 $3</format>
4471 <nationalNumberPattern>[235-9]\d{7,8}</nationalNumberPattern>
4472 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
4475 <!-- Temporarily allow both old (22|33) and new 2(22|33) format. -->
4476 <!-- CDMA numbers are described in a subcategory to fixed line numbers in the ITU update
4477 document, so those prefixes are added to fixed line (24[23]). -->
4478 <nationalNumberPattern>
4488 </nationalNumberPattern>
4489 <exampleNumber>222123456</exampleNumber>
4492 <!-- Temporarily allow both old [579]\d{7} and new 6[5-79]\d{7} format. -->
4493 <nationalNumberPattern>
4496 </nationalNumberPattern>
4497 <exampleNumber>671234567</exampleNumber>
4500 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
4501 <possibleNumberPattern>\d{8}</possibleNumberPattern>
4502 <exampleNumber>80012345</exampleNumber>
4505 <!-- These numbers are listed as value-added in the guide, and in practice seem to begin
4506 with 88 (usually 880). No information can be found as to whether these are premium rate
4508 <nationalNumberPattern>88\d{6}</nationalNumberPattern>
4509 <possibleNumberPattern>\d{8}</possibleNumberPattern>
4510 <exampleNumber>88012345</exampleNumber>
4515 <!-- The international/national prefix patterns must not collide with valid prefixes such
4516 as 170, 176, 177 and 178. 179XX00 is a valid calling prefix, see: www.chahaoba.com/179 -->
4517 <territory id="CN" countryCode="86" internationalPrefix="(1(?:[129]\d{3}|79\d{2}))?00"
4518 preferredInternationalPrefix="00" nationalPrefix="0"
4519 nationalPrefixForParsing="(1(?:[129]\d{3}|79\d{2}))|0">
4521 <sourceUrl>http://www.itu.int/oth/T020200002B/en</sourceUrl>
4524 <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(80\d{2})(\d{4})"
4525 nationalPrefixOptionalWhenFormatting="true"
4526 carrierCodeFormattingRule="$CC $FG">
4527 <leadingDigits>80[2678]</leadingDigits>
4528 <format>$1 $2</format>
4530 <numberFormat pattern="([48]00)(\d{3})(\d{4})">
4531 <leadingDigits>[48]00</leadingDigits>
4532 <format>$1 $2 $3</format>
4534 <!-- 100xx and 95xxx(x) short numbers without area codes. Without this rule, these short
4535 numbers will be formatted incorrectly by the AsYouTypeFormatter because they overlap
4536 with area codes 010, 095x. These numbers are defined in ShortNumberMetadata.xml but
4537 must be accounted for here. Note although ITU says the format is more like 95 xxx, in
4538 reality no space is used when writing such numbers in China. -->
4539 <numberFormat pattern="(\d{5,6})">
4545 <intlFormat>NA</intlFormat>
4547 <!-- 100xx and 95xxx(x) numbers with area codes (these numbers without an area code are now
4548 dealt with by ShortNumberMetadata.xml) and 96xxx(x) numbers with area codes (we don't
4549 support these as short numbers because they are only unique within a province, not
4550 within a country). -->
4551 <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(\d{2})(\d{5,6})"
4552 carrierCodeFormattingRule="$CC $FG">
4577 <format>$1 $2</format>
4579 <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(\d{3})(\d{5,6})"
4580 carrierCodeFormattingRule="$CC $FG">
4581 <leadingDigits>[3-9]</leadingDigits>
4582 <leadingDigits>[3-9]\d{2}[19]</leadingDigits>
4589 <format>$1 $2</format>
4591 <!-- Local numbers -->
4592 <!-- Chinese fixed-line numbers can be dialed from a cell phone without area code and they
4593 can be 7 to 8 digits. This rule is here to make formatting work with such numbers, as
4594 people frequently store them in their cellphones. It has to stay before formatting
4595 rules for fixed-line numbers to make AsYouTypeFormatter work with these numbers. The
4596 leadingDigits prefix makes sure it doesn't clash with mobile numbers. -->
4597 <numberFormat pattern="(\d{3,4})(\d{4})">
4598 <leadingDigits>[2-9]</leadingDigits>
4599 <format>$1 $2</format>
4600 <intlFormat>NA</intlFormat>
4602 <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(21)(\d{4})(\d{4,6})"
4603 nationalPrefixOptionalWhenFormatting="true"
4604 carrierCodeFormattingRule="$CC $FG">
4605 <leadingDigits>21</leadingDigits>
4606 <format>$1 $2 $3</format>
4608 <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="([12]\d)(\d{4})(\d{4})"
4609 nationalPrefixOptionalWhenFormatting="true"
4610 carrierCodeFormattingRule="$CC $FG">
4615 <!-- Note the leadingDigitsPattern for 4 digits is the same as 3 digits, -->
4630 <format>$1 $2 $3</format>
4632 <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(\d{3})(\d{4})(\d{4})"
4633 nationalPrefixOptionalWhenFormatting="true"
4634 carrierCodeFormattingRule="$CC $FG">
4663 <format>$1 $2 $3</format>
4665 <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(\d{3})(\d{3})(\d{4})"
4666 nationalPrefixOptionalWhenFormatting="true"
4667 carrierCodeFormattingRule="$CC $FG">
4724 <format>$1 $2 $3</format>
4726 <numberFormat pattern="(\d{3})(\d{4})(\d{4})" carrierCodeFormattingRule="$CC $FG">
4727 <leadingDigits>1[3-578]</leadingDigits>
4728 <format>$1 $2 $3</format>
4730 <numberFormat pattern="(10800)(\d{3})(\d{4})">
4731 <leadingDigits>108</leadingDigits>
4732 <leadingDigits>1080</leadingDigits>
4733 <leadingDigits>10800</leadingDigits>
4734 <format>$1 $2 $3</format>
4736 <numberFormat pattern="(\d{3})(\d{7,8})">
4737 <leadingDigits>950</leadingDigits>
4738 <format>$1 $2</format>
4742 <nationalNumberPattern>
4746 </nationalNumberPattern>
4747 <possibleNumberPattern>\d{4,12}</possibleNumberPattern>
4749 <noInternationalDialling>
4750 <nationalNumberPattern>
4758 </nationalNumberPattern>
4759 <possibleNumberPattern>\d{10,12}</possibleNumberPattern>
4760 <exampleNumber>4001234567</exampleNumber>
4761 </noInternationalDialling>
4763 <!-- 0432 increased to 8 digits on October 24, 2009. 0791 increased to 8 digits on August
4764 28, 2011. 0551 increased to 8 digits and 0565 was cancelled on Dec 8, 2012. 0871
4765 increased to 8 digits on December 16, 2012. 0475 is the prefix for Tongliao but is not
4767 10xxx and 95xxx(x) numbers with area codes are also included here, as they behave
4768 exactly like fixed-line numbers. We don't support them for 4-digit area codes though,
4769 as they don't seem to be used there based on making actual phone calls.
4771 <nationalNumberPattern>
4880 </nationalNumberPattern>
4881 <exampleNumber>1012345678</exampleNumber>
4884 <!-- 170, 176, 177 and 178 prefixes are introduced in early 2014 for 4G networks. -->
4885 <nationalNumberPattern>
4892 </nationalNumberPattern>
4893 <possibleNumberPattern>\d{11}</possibleNumberPattern>
4894 <exampleNumber>13123456789</exampleNumber>
4896 <!-- Toll free, premium rate, and VoIP numbers are not clearly defined in the official Chinese
4897 number plan, and do not seem to have been standardized. The information below is
4898 collected from searching the web. -->
4899 <!-- http://en.wikipedia.org/wiki/Toll-free_telephone_number -->
4901 <nationalNumberPattern>
4905 </nationalNumberPattern>
4906 <possibleNumberPattern>\d{10,12}</possibleNumberPattern>
4907 <exampleNumber>8001234567</exampleNumber>
4910 <nationalNumberPattern>16[08]\d{5}</nationalNumberPattern>
4911 <possibleNumberPattern>\d{8}</possibleNumberPattern>
4912 <exampleNumber>16812345</exampleNumber>
4915 <!-- 96xxx(x) numbers with area codes are included here. Their costs are not well
4916 documented, but they are thought to be mostly local costs with certain exceptions. We
4917 don't support them for 4-digit area codes though, as they don't seem to be used there
4918 based on online searches. -->
4919 <nationalNumberPattern>
4975 </nationalNumberPattern>
4976 <possibleNumberPattern>\d{7,11}</possibleNumberPattern>
4977 <exampleNumber>4001234567</exampleNumber>
4982 <!-- Extra international dialling prefixes from http://www.claro.com.co and
4983 http://www.tigo.com.co. -->
4984 <!-- 05 and 005 are for Orbitel: co.orbitel.com -->
4985 <territory id="CO" countryCode="57" internationalPrefix="00(?:4(?:[14]4|56)|[579])"
4986 nationalPrefix="0" nationalPrefixForParsing="0([3579]|4(?:44|56))?"
4987 mobileNumberPortableRegion="true">
4989 <sourceUrl>http://www.itu.int/oth/T020200002C/en</sourceUrl>
4990 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Colombia</sourceUrl>
4993 <numberFormat pattern="(\d)(\d{7})" carrierCodeFormattingRule="$NP$CC $FG"
4994 nationalPrefixFormattingRule="($FG)">
5014 <format>$1 $2</format>
5016 <numberFormat pattern="(\d{3})(\d{7})" carrierCodeFormattingRule="$NP$CC $FG">
5017 <leadingDigits>3</leadingDigits>
5018 <format>$1 $2</format>
5020 <numberFormat pattern="(1)(\d{3})(\d{7})" nationalPrefixFormattingRule="$NP$FG">
5036 <format>$1-$2-$3</format>
5037 <intlFormat>$1 $2 $3</intlFormat>
5041 <nationalNumberPattern>
5046 </nationalNumberPattern>
5047 <possibleNumberPattern>\d{7,11}</possibleNumberPattern>
5050 <nationalNumberPattern>[124-8][2-9]\d{6}</nationalNumberPattern>
5051 <possibleNumberPattern>\d{8}</possibleNumberPattern>
5052 <exampleNumber>12345678</exampleNumber>
5055 <nationalNumberPattern>
5062 </nationalNumberPattern>
5063 <possibleNumberPattern>\d{10}</possibleNumberPattern>
5064 <exampleNumber>3211234567</exampleNumber>
5067 <nationalNumberPattern>1800\d{7}</nationalNumberPattern>
5068 <possibleNumberPattern>\d{11}</possibleNumberPattern>
5069 <exampleNumber>18001234567</exampleNumber>
5072 <nationalNumberPattern>
5077 </nationalNumberPattern>
5078 <possibleNumberPattern>\d{11}</possibleNumberPattern>
5079 <exampleNumber>19001234567</exampleNumber>
5084 <territory id="CR" countryCode="506" internationalPrefix="00"
5085 nationalPrefixForParsing="(19(?:0[012468]|1[09]|20|66|77|99))"
5086 carrierCodeFormattingRule="$CC $FG">
5088 <sourceUrl>http://www.itu.int/oth/T0202000030/en</sourceUrl>
5089 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Costa_Rica</sourceUrl>
5092 <numberFormat pattern="(\d{4})(\d{4})">
5097 <format>$1 $2</format>
5099 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
5100 <leadingDigits>[89]0</leadingDigits>
5101 <format>$1-$2-$3</format>
5105 <nationalNumberPattern>[24-9]\d{7,9}</nationalNumberPattern>
5106 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
5109 <nationalNumberPattern>2[24-7]\d{6}</nationalNumberPattern>
5110 <possibleNumberPattern>\d{8}</possibleNumberPattern>
5111 <exampleNumber>22123456</exampleNumber>
5114 <nationalNumberPattern>
5125 </nationalNumberPattern>
5126 <possibleNumberPattern>\d{8}</possibleNumberPattern>
5127 <exampleNumber>83123456</exampleNumber>
5130 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
5131 <possibleNumberPattern>\d{10}</possibleNumberPattern>
5132 <exampleNumber>8001234567</exampleNumber>
5135 <!-- Includes "mass calls" numbers with prefix 905. -->
5136 <nationalNumberPattern>90[059]\d{7}</nationalNumberPattern>
5137 <possibleNumberPattern>\d{10}</possibleNumberPattern>
5138 <exampleNumber>9001234567</exampleNumber>
5141 <!-- Including trunking service numbers starting with 5100. -->
5142 <!-- Prefixes for VOIP simplified from wikipidea 4xxx xxxx -->
5143 <!-- Prefix 210x xxxx present before, taken from ITU doc -->
5144 <nationalNumberPattern>
5148 </nationalNumberPattern>
5149 <possibleNumberPattern>\d{8}</possibleNumberPattern>
5150 <exampleNumber>40001234</exampleNumber>
5155 <territory id="CU" countryCode="53" internationalPrefix="119"
5156 nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)">
5158 <sourceUrl>http://www.itu.int/oth/T0202000033/en</sourceUrl>
5161 <numberFormat pattern="(\d)(\d{6,7})">
5162 <leadingDigits>7</leadingDigits>
5163 <format>$1 $2</format>
5165 <numberFormat pattern="(\d{2})(\d{4,6})">
5166 <leadingDigits>[2-4]</leadingDigits>
5167 <format>$1 $2</format>
5169 <numberFormat pattern="(\d)(\d{7})" nationalPrefixFormattingRule="$NP$FG">
5170 <leadingDigits>5</leadingDigits>
5171 <format>$1 $2</format>
5175 <nationalNumberPattern>[2-57]\d{5,7}</nationalNumberPattern>
5176 <possibleNumberPattern>\d{4,8}</possibleNumberPattern>
5179 <nationalNumberPattern>
5191 </nationalNumberPattern>
5192 <exampleNumber>71234567</exampleNumber>
5195 <nationalNumberPattern>5\d{7}</nationalNumberPattern>
5196 <possibleNumberPattern>\d{8}</possibleNumberPattern>
5197 <exampleNumber>51234567</exampleNumber>
5202 <territory id="CV" countryCode="238" internationalPrefix="0">
5204 <sourceUrl>http://www.itu.int/oth/T0202000026/en</sourceUrl>
5207 <numberFormat pattern="(\d{3})(\d{2})(\d{2})">
5208 <format>$1 $2 $3</format>
5212 <nationalNumberPattern>[259]\d{6}</nationalNumberPattern>
5213 <possibleNumberPattern>\d{7}</possibleNumberPattern>
5216 <nationalNumberPattern>
5226 </nationalNumberPattern>
5227 <exampleNumber>2211234</exampleNumber>
5230 <!-- It seems, contrary to their numbering plan, the entire 9X range is used for mobile
5231 phones. SMS messages has been successfully sent to numbers starting with 95 and 97 for
5232 example, and there are plenty of numbers on the internet that start with these
5234 <nationalNumberPattern>
5239 </nationalNumberPattern>
5240 <exampleNumber>9911234</exampleNumber>
5245 <territory id="CW" countryCode="599" internationalPrefix="00" mainCountryForCode="true">
5247 <sourceUrl>http://www.itu.int/oth/T02020000F5/en</sourceUrl>
5249 <!-- All the formatting patterns for country-code 599 are here. -->
5251 <numberFormat pattern="(\d{3})(\d{4})">
5252 <leadingDigits>[13-7]</leadingDigits>
5253 <format>$1 $2</format>
5255 <numberFormat pattern="(9)(\d{3})(\d{4})">
5256 <leadingDigits>9</leadingDigits>
5257 <format>$1 $2 $3</format>
5261 <nationalNumberPattern>[169]\d{6,7}</nationalNumberPattern>
5262 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
5265 <nationalNumberPattern>
5277 </nationalNumberPattern>
5278 <exampleNumber>94151234</exampleNumber>
5281 <nationalNumberPattern>
5292 </nationalNumberPattern>
5293 <exampleNumber>95181234</exampleNumber>
5296 <nationalNumberPattern>955\d{5}</nationalNumberPattern>
5297 <exampleNumber>95581234</exampleNumber>
5300 <!-- Value-added services are lumped together under shared cost, since we are not sure
5301 exactly what they are. -->
5302 <nationalNumberPattern>
5307 </nationalNumberPattern>
5308 <possibleNumberPattern>\d{7}</possibleNumberPattern>
5309 <exampleNumber>1011234</exampleNumber>
5313 <!-- Christmas Islands -->
5314 <!-- Metadata shared with Australia. -->
5315 <!-- References state Christmas Islands have fixed line numbers starting +61 8 9164. -->
5316 <territory id="CX" countryCode="61" preferredInternationalPrefix="0011"
5317 internationalPrefix="(?:14(?:1[14]|34|4[17]|[56]6|7[47]|88))?001[14-689]"
5320 <sourceUrl>http://en.wikipedia.org/wiki/List_of_country_calling_codes</sourceUrl>
5321 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Australia</sourceUrl>
5323 <!-- Uses AU formatting rules. -->
5324 <!-- General desc and fixed line rules different from Australia. -->
5326 <nationalNumberPattern>[1458]\d{5,9}</nationalNumberPattern>
5327 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
5330 <nationalNumberPattern>89164\d{4}</nationalNumberPattern>
5331 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
5332 <exampleNumber>891641234</exampleNumber>
5334 <!-- Mobile, toll free, premium rate, personal number and VOIP copied from Australia. -->
5336 <nationalNumberPattern>
5351 </nationalNumberPattern>
5352 <possibleNumberPattern>\d{9}</possibleNumberPattern>
5353 <exampleNumber>412345678</exampleNumber>
5356 <nationalNumberPattern>
5365 </nationalNumberPattern>
5366 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
5367 <exampleNumber>1800123456</exampleNumber>
5370 <nationalNumberPattern>190[0126]\d{6}</nationalNumberPattern>
5371 <possibleNumberPattern>\d{10}</possibleNumberPattern>
5372 <exampleNumber>1900123456</exampleNumber>
5375 <nationalNumberPattern>500\d{6}</nationalNumberPattern>
5376 <possibleNumberPattern>\d{9}</possibleNumberPattern>
5377 <exampleNumber>500123456</exampleNumber>
5380 <nationalNumberPattern>550\d{6}</nationalNumberPattern>
5381 <possibleNumberPattern>\d{9}</possibleNumberPattern>
5382 <exampleNumber>550123456</exampleNumber>
5387 <territory id="CY" countryCode="357" internationalPrefix="00" mobileNumberPortableRegion="true">
5389 <sourceUrl>http://www.itu.int/oth/T0202000034/en</sourceUrl>
5392 <!-- Format from http://www.cyprusyellowpages.com -->
5393 <numberFormat pattern="(\d{2})(\d{6})">
5394 <format>$1 $2</format>
5398 <nationalNumberPattern>[257-9]\d{7}</nationalNumberPattern>
5399 <possibleNumberPattern>\d{8}</possibleNumberPattern>
5402 <nationalNumberPattern>2[2-6]\d{6}</nationalNumberPattern>
5403 <exampleNumber>22345678</exampleNumber>
5406 <!-- Includes paging numbers (they are mixed into the same block). -->
5407 <nationalNumberPattern>9[5-79]\d{6}</nationalNumberPattern>
5408 <exampleNumber>96123456</exampleNumber>
5411 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
5412 <exampleNumber>80001234</exampleNumber>
5415 <nationalNumberPattern>90[09]\d{5}</nationalNumberPattern>
5416 <exampleNumber>90012345</exampleNumber>
5419 <nationalNumberPattern>80[1-9]\d{5}</nationalNumberPattern>
5420 <exampleNumber>80112345</exampleNumber>
5423 <nationalNumberPattern>700\d{5}</nationalNumberPattern>
5424 <exampleNumber>70012345</exampleNumber>
5427 <!-- Using for Corporate Network numbers and Universal Service numbers. -->
5428 <nationalNumberPattern>
5433 </nationalNumberPattern>
5434 <exampleNumber>77123456</exampleNumber>
5439 <territory id="CZ" countryCode="420" internationalPrefix="00" mobileNumberPortableRegion="true">
5441 <sourceUrl>http://www.itu.int/oth/T0202000035/en</sourceUrl>
5442 <sourceUrl>http://en.wikipedia.org/wiki/%2B420</sourceUrl>
5445 <numberFormat pattern="([2-9]\d{2})(\d{3})(\d{3})">
5450 <format>$1 $2 $3</format>
5452 <numberFormat pattern="(96\d)(\d{3})(\d{3})(\d{3})">
5453 <leadingDigits>96</leadingDigits>
5454 <format>$1 $2 $3 $4</format>
5456 <numberFormat pattern="(9\d)(\d{3})(\d{3})(\d{3})">
5457 <leadingDigits>9[36]</leadingDigits>
5458 <format>$1 $2 $3 $4</format>
5462 <nationalNumberPattern>
5465 </nationalNumberPattern>
5466 <possibleNumberPattern>\d{9,12}</possibleNumberPattern>
5469 <nationalNumberPattern>
5476 </nationalNumberPattern>
5477 <exampleNumber>212345678</exampleNumber>
5480 <nationalNumberPattern>
5488 </nationalNumberPattern>
5489 <exampleNumber>601123456</exampleNumber>
5492 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
5493 <exampleNumber>800123456</exampleNumber>
5496 <!-- Includes premium rate dial-up. -->
5497 <nationalNumberPattern>
5502 </nationalNumberPattern>
5503 <exampleNumber>900123456</exampleNumber>
5506 <nationalNumberPattern>8[134]\d{7}</nationalNumberPattern>
5507 <exampleNumber>811234567</exampleNumber>
5510 <nationalNumberPattern>70[01]\d{6}</nationalNumberPattern>
5511 <exampleNumber>700123456</exampleNumber>
5514 <nationalNumberPattern>9[17]0\d{6}</nationalNumberPattern>
5515 <exampleNumber>910123456</exampleNumber>
5518 <!-- Numbers belonging to private communication networks are included here. These are
5519 classified as Institutional networks, belonging to institutions like the police, armed
5520 forces and railways, along with a couple of formerly government-owned banks. These
5521 numbers are reachable by the public. -->
5522 <nationalNumberPattern>
5527 </nationalNumberPattern>
5528 <exampleNumber>972123456</exampleNumber>
5531 <nationalNumberPattern>
5536 </nationalNumberPattern>
5537 <possibleNumberPattern>\d{9,12}</possibleNumberPattern>
5538 <exampleNumber>93123456789</exampleNumber>
5543 <territory id="DE" countryCode="49" internationalPrefix="00"
5544 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
5545 mobileNumberPortableRegion="true">
5547 <sourceUrl>http://www.itu.int/oth/T0202000051/en</sourceUrl>
5548 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_germany</sourceUrl>
5551 <!-- Mobile number formatting rules. We follow the ITU document here for guidance on how
5552 these should best be formatted, even though actual usage varies. -->
5553 <numberFormat pattern="(1\d{2})(\d{7,8})">
5554 <leadingDigits>1[67]</leadingDigits>
5555 <format>$1 $2</format>
5557 <numberFormat pattern="(1\d{3})(\d{7})">
5558 <leadingDigits>15</leadingDigits>
5559 <format>$1 $2</format>
5561 <numberFormat pattern="(\d{2})(\d{3,11})">
5567 <format>$1 $2</format>
5569 <!-- The order of the rules on 3-5 digits area code matter as fallback is used here. -->
5570 <!-- 3 digit area codes. -->
5571 <numberFormat pattern="(\d{3})(\d{3,11})">
5590 <format>$1 $2</format>
5592 <!-- 4 digit area codes. -->
5593 <numberFormat pattern="(\d{4})(\d{2,11})">
5678 <format>$1 $2</format>
5680 <!-- 5 digit area codes. -->
5681 <numberFormat pattern="(3\d{4})(\d{1,10})">
5682 <leadingDigits>3</leadingDigits>
5683 <format>$1 $2</format>
5685 <!-- Note: this is getting ridiculous! How can we format these better? -->
5686 <numberFormat pattern="(800)(\d{7,12})">
5687 <leadingDigits>800</leadingDigits>
5688 <format>$1 $2</format>
5690 <!-- Voicemail access numbers for the carrier Blau. -->
5691 <numberFormat pattern="(177)(99)(\d{7,8})">
5692 <leadingDigits>177</leadingDigits>
5693 <leadingDigits>1779</leadingDigits>
5694 <leadingDigits>17799</leadingDigits>
5695 <format>$1 $2 $3</format>
5697 <numberFormat pattern="(\d{3})(\d)(\d{4,10})">
5712 <format>$1 $2 $3</format>
5714 <numberFormat pattern="(1\d{2})(\d{5,11})">
5715 <leadingDigits>181</leadingDigits>
5716 <format>$1 $2</format>
5718 <!-- Where we have seen prefixes in use for the IVPN/User Group numbers, we format it the
5719 way it is generally written. For other prefixes, we fall back to using a three-digit
5720 prefix since we have currently no more information to allow us to format these more
5722 <numberFormat pattern="(18\d{3})(\d{6})">
5723 <leadingDigits>185</leadingDigits>
5724 <leadingDigits>1850</leadingDigits>
5725 <leadingDigits>18500</leadingDigits>
5726 <format>$1 $2</format>
5728 <numberFormat pattern="(18\d{2})(\d{7})">
5729 <leadingDigits>18[68]</leadingDigits>
5730 <format>$1 $2</format>
5732 <numberFormat pattern="(18\d)(\d{8})">
5733 <leadingDigits>18[2-579]</leadingDigits>
5734 <format>$1 $2</format>
5736 <numberFormat pattern="(700)(\d{4})(\d{4})">
5737 <leadingDigits>700</leadingDigits>
5738 <format>$1 $2 $3</format>
5740 <numberFormat pattern="(138)(\d{4})">
5741 <leadingDigits>138</leadingDigits>
5742 <format>$1 $2</format>
5746 <!-- When deciding whether to assume a leading 49 is a country code or not, the number is
5747 examined to see if it is valid with the 49 as part of the number. Due to the variable
5748 length of German numbers, this test is hard to do. The national pattern is hence
5749 stricter for numbers starting with 49, to try and remove the country code if the number
5750 begins with 49 whenever possible. -->
5751 <nationalNumberPattern>
5765 </nationalNumberPattern>
5766 <possibleNumberPattern>\d{2,15}</possibleNumberPattern>
5769 <!-- The numbering plan defines rather optimistic longest-number limits - online numbers
5770 don't seem to respect this. The max-length is hence extended. -->
5771 <nationalNumberPattern>
5798 </nationalNumberPattern>
5799 <exampleNumber>30123456</exampleNumber>
5803 http://www.bundesnetzagentur.de/SharedDocs/Downloads/DE/BNetzA/Sachgebiete/Telekommunikation/Regulierung/Nummernverwaltung/Mobilfunkdienste/NummernplanMobileDienstepdf.pdf?__blob=publicationFile
5804 numbers beginning with 162, 163 and 17 can all be 10 or 11 digits long.
5805 The ranges 15[056] have been removed from the ITU doc, but information found online
5806 indicates that they may still be working.
5808 <nationalNumberPattern>
5817 </nationalNumberPattern>
5818 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
5819 <exampleNumber>15123456789</exampleNumber>
5822 <nationalNumberPattern>
5827 </nationalNumberPattern>
5828 <possibleNumberPattern>\d{4,14}</possibleNumberPattern>
5829 <exampleNumber>16412345</exampleNumber>
5832 <nationalNumberPattern>800\d{7,12}</nationalNumberPattern>
5833 <possibleNumberPattern>\d{10,15}</possibleNumberPattern>
5834 <exampleNumber>8001234567890</exampleNumber>
5837 <!-- Includes the more expensive of the "televoting" line numbers. See the shared cost
5838 section for more information. -->
5839 <nationalNumberPattern>
5845 </nationalNumberPattern>
5846 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
5847 <exampleNumber>9001234567</exampleNumber>
5850 <!-- Includes some mass-traffic numbers, used for e.g. phone voting, raffles, since their
5851 costs when dialling from a fixed-line phone is similar.
5853 http://www.billiger-telefonieren.de/0180-0137-0900-sonderrufnummern/
5855 http://www.bundesnetzagentur.de/SharedDocs/Downloads/DE/Sachgebiete/Telekommunikation/Unternehmen_Institutionen/Nummerierung/Rufnummern/0137/0137_Nummernplan.pdf?__blob=publicationFile&v=2
5857 <nationalNumberPattern>
5865 </nationalNumberPattern>
5866 <possibleNumberPattern>\d{7,14}</possibleNumberPattern>
5867 <exampleNumber>18012345</exampleNumber>
5870 <nationalNumberPattern>700\d{8}</nationalNumberPattern>
5871 <possibleNumberPattern>\d{11}</possibleNumberPattern>
5872 <exampleNumber>70012345678</exampleNumber>
5875 <!-- Using UAN for numbers marked in the plan as being assigned to International Virtual
5876 Private Networks (0181) & User Groups (018[2-9]). These seem in practice to be assigned
5877 to companies. More information here: http://de.wikipedia.org/wiki/Vorwahl_01 -->
5878 <nationalNumberPattern>
5883 </nationalNumberPattern>
5884 <possibleNumberPattern>\d{8,14}</possibleNumberPattern>
5885 <exampleNumber>18500123456</exampleNumber>
5888 <nationalNumberPattern>17799\d{7,8}</nationalNumberPattern>
5889 <possibleNumberPattern>\d{12,13}</possibleNumberPattern>
5890 <exampleNumber>177991234567</exampleNumber>
5895 <territory id="DJ" countryCode="253" internationalPrefix="00">
5897 <sourceUrl>http://www.itu.int/oth/T020200003A/en</sourceUrl>
5900 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
5901 <format>$1 $2 $3 $4</format>
5905 <nationalNumberPattern>[27]\d{7}</nationalNumberPattern>
5906 <possibleNumberPattern>\d{8}</possibleNumberPattern>
5909 <!-- Includes "Numéro long CDMA fixe" numbers. -->
5910 <nationalNumberPattern>
5915 </nationalNumberPattern>
5916 <exampleNumber>21360003</exampleNumber>
5919 <nationalNumberPattern>77[6-8]\d{5}</nationalNumberPattern>
5920 <exampleNumber>77831001</exampleNumber>
5925 <territory id="DK" countryCode="45" internationalPrefix="00" mobileNumberPortableRegion="true">
5927 <sourceUrl>http://www.dba.erhvervsstyrelsen.dk/numbering-lists</sourceUrl>
5930 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
5931 <format>$1 $2 $3 $4</format>
5935 <nationalNumberPattern>[2-9]\d{7}</nationalNumberPattern>
5936 <possibleNumberPattern>\d{8}</possibleNumberPattern>
5938 <!-- Note that "mainly mobile" and "mainly fixed-line" are put under both number types to be
5941 <nationalNumberPattern>
5947 </nationalNumberPattern>
5948 <exampleNumber>32123456</exampleNumber>
5951 <nationalNumberPattern>
5957 </nationalNumberPattern>
5958 <exampleNumber>20123456</exampleNumber>
5961 <nationalNumberPattern>80\d{6}</nationalNumberPattern>
5962 <exampleNumber>80123456</exampleNumber>
5965 <nationalNumberPattern>90\d{6}</nationalNumberPattern>
5966 <exampleNumber>90123456</exampleNumber>
5971 <territory id="DM" countryCode="1" leadingDigits="767" nationalPrefix="1"
5972 internationalPrefix="011">
5974 <sourceUrl>http://www.itu.int/oth/T020200003B/en</sourceUrl>
5977 <!-- NANPA country - uses US formatting rules -->
5978 <nationalNumberPattern>[57-9]\d{9}</nationalNumberPattern>
5979 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
5982 <nationalNumberPattern>
5995 </nationalNumberPattern>
5996 <exampleNumber>7674201234</exampleNumber>
5999 <!-- Adding 61[237], 285 and 295 since online numbers have been found with this prefix. -->
6000 <nationalNumberPattern>
6009 </nationalNumberPattern>
6010 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6011 <exampleNumber>7672251234</exampleNumber>
6014 <nationalNumberPattern>
6023 </nationalNumberPattern>
6024 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6025 <exampleNumber>8002123456</exampleNumber>
6028 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
6029 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6030 <exampleNumber>9002123456</exampleNumber>
6033 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
6034 <nationalNumberPattern>
6042 </nationalNumberPattern>
6043 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6044 <exampleNumber>5002345678</exampleNumber>
6048 <!-- Dominican Rep. -->
6049 <territory id="DO" countryCode="1" leadingDigits="8[024]9" nationalPrefix="1"
6050 internationalPrefix="011" mobileNumberPortableRegion="true">
6052 <sourceUrl>http://www.itu.int/oth/T020200003C/en</sourceUrl>
6055 <!-- NANPA country - uses US formatting rules -->
6056 <nationalNumberPattern>[589]\d{9}</nationalNumberPattern>
6057 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
6060 <!-- The ITU data seems to be somewhat incomplete. We ensure that the fully-specified mobile
6061 prefixes in the document are classified as such by excluding them from the fixed-line
6062 ranges, but other than this have a generic rule. -->
6063 <nationalNumberPattern>
6113 </nationalNumberPattern>
6114 <exampleNumber>8092345678</exampleNumber>
6117 <nationalNumberPattern>8[024]9[2-9]\d{6}</nationalNumberPattern>
6118 <exampleNumber>8092345678</exampleNumber>
6121 <nationalNumberPattern>
6130 </nationalNumberPattern>
6131 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6132 <exampleNumber>8002123456</exampleNumber>
6135 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
6136 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6137 <exampleNumber>9002123456</exampleNumber>
6140 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
6141 <nationalNumberPattern>
6149 </nationalNumberPattern>
6150 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6151 <exampleNumber>5002345678</exampleNumber>
6156 <territory id="DZ" countryCode="213" internationalPrefix="00"
6157 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
6159 <sourceUrl>http://www.itu.int/oth/T0202000003/en</sourceUrl>
6160 <sourceUrl>http://www.arpt.dz</sourceUrl>
6163 <!-- Formatting from http://www.pagesjaunes-dz.com. -->
6164 <numberFormat pattern="([1-4]\d)(\d{2})(\d{2})(\d{2})">
6165 <leadingDigits>[1-4]</leadingDigits>
6166 <format>$1 $2 $3 $4</format>
6168 <numberFormat pattern="([5-8]\d{2})(\d{2})(\d{2})(\d{2})">
6169 <leadingDigits>[5-8]</leadingDigits>
6170 <format>$1 $2 $3 $4</format>
6172 <numberFormat pattern="(9\d)(\d{3})(\d{2})(\d{2})">
6173 <leadingDigits>9</leadingDigits>
6174 <format>$1 $2 $3 $4</format>
6178 <nationalNumberPattern>
6183 </nationalNumberPattern>
6184 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
6187 <!-- We include the VSAT lines here. -->
6188 <nationalNumberPattern>
6196 </nationalNumberPattern>
6197 <exampleNumber>12345678</exampleNumber>
6200 <!-- Adding 65 and 78 from numbers found online. Also, prefix 670 is added since the carrier
6201 Mobilis Algeria provided it, and 54 for Nedjma. Prefixes 67[1-4] were also added for
6202 Mobilis Algeria based on evidence found online. -->
6203 <nationalNumberPattern>
6212 </nationalNumberPattern>
6213 <possibleNumberPattern>\d{9}</possibleNumberPattern>
6214 <exampleNumber>551234567</exampleNumber>
6217 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
6218 <possibleNumberPattern>\d{9}</possibleNumberPattern>
6219 <exampleNumber>800123456</exampleNumber>
6222 <nationalNumberPattern>80[3-689]1\d{5}</nationalNumberPattern>
6223 <possibleNumberPattern>\d{9}</possibleNumberPattern>
6224 <exampleNumber>808123456</exampleNumber>
6226 <!-- The Algerian plan doesn't specify where the costs start to be considered "premium", so we
6227 draw an arbitrary line here and say that from 50 Da up they will be considered premium.
6230 <nationalNumberPattern>80[12]1\d{5}</nationalNumberPattern>
6231 <possibleNumberPattern>\d{9}</possibleNumberPattern>
6232 <exampleNumber>801123456</exampleNumber>
6235 <nationalNumberPattern>98[23]\d{6}</nationalNumberPattern>
6236 <possibleNumberPattern>\d{9}</possibleNumberPattern>
6237 <exampleNumber>983123456</exampleNumber>
6242 <territory id="EC" countryCode="593" internationalPrefix="00"
6243 nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)"
6244 mobileNumberPortableRegion="true">
6246 <sourceUrl>http://en.wikipedia.org/wiki/+593</sourceUrl>
6247 <sourceUrl>http://www.conatel.gob.ec/site_conatel/index.php?option=com_content&view=category&layout=blog&id=52&Itemid=153</sourceUrl>
6248 <sourceUrl>http://www.itu.int/oth/T020200003D/en</sourceUrl>
6251 <numberFormat pattern="(\d)(\d{3})(\d{4})">
6256 <format>$1 $2-$3</format>
6257 <intlFormat>$1-$2-$3</intlFormat>
6259 <!-- Formatting for the new longer mobile numbers comes from the advertisements about the
6260 change on the http://www.conatel.gob.ec site. -->
6261 <numberFormat pattern="(\d{2})(\d{3})(\d{4})" nationalPrefixFormattingRule="$NP$FG">
6262 <leadingDigits>9</leadingDigits>
6263 <format>$1 $2 $3</format>
6265 <numberFormat pattern="(1800)(\d{3})(\d{3,4})" nationalPrefixFormattingRule="$FG">
6266 <leadingDigits>1</leadingDigits>
6267 <format>$1 $2 $3</format>
6271 <nationalNumberPattern>
6275 </nationalNumberPattern>
6276 <possibleNumberPattern>\d{7,11}</possibleNumberPattern>
6279 <nationalNumberPattern>[2-7][2-7]\d{6}</nationalNumberPattern>
6280 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
6281 <exampleNumber>22123456</exampleNumber>
6284 <nationalNumberPattern>
6291 </nationalNumberPattern>
6292 <possibleNumberPattern>\d{9}</possibleNumberPattern>
6293 <exampleNumber>991234567</exampleNumber>
6296 <nationalNumberPattern>1800\d{6,7}</nationalNumberPattern>
6297 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
6298 <exampleNumber>18001234567</exampleNumber>
6301 <nationalNumberPattern>[2-7]890\d{4}</nationalNumberPattern>
6302 <possibleNumberPattern>\d{8}</possibleNumberPattern>
6303 <exampleNumber>28901234</exampleNumber>
6308 <territory id="EE" countryCode="372" internationalPrefix="00" mobileNumberPortableRegion="true">
6310 <sourceUrl>http://www.itu.int/oth/T0202000043/en</sourceUrl>
6311 <sourceUrl>http://www.tja.ee/public/Legislation_side/Numbering_/Estonian_NP_eng.htm</sourceUrl>
6314 <numberFormat pattern="([3-79]\d{2})(\d{4})">
6342 <format>$1 $2</format>
6344 <numberFormat pattern="(70)(\d{2})(\d{4})">
6345 <leadingDigits>70</leadingDigits>
6346 <format>$1 $2 $3</format>
6348 <numberFormat pattern="(8000)(\d{3})(\d{3})">
6349 <leadingDigits>800</leadingDigits>
6350 <leadingDigits>8000</leadingDigits>
6351 <format>$1 $2 $3</format>
6353 <numberFormat pattern="([458]\d{3})(\d{3,4})">
6370 <format>$1 $2</format>
6374 <nationalNumberPattern>
6378 </nationalNumberPattern>
6379 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
6381 <noInternationalDialling>
6382 <nationalNumberPattern>
6385 </nationalNumberPattern>
6386 <possibleNumberPattern>\d{4,7}</possibleNumberPattern>
6387 <exampleNumber>8002123</exampleNumber>
6388 </noInternationalDialling>
6390 <nationalNumberPattern>
6398 </nationalNumberPattern>
6399 <possibleNumberPattern>\d{7}</possibleNumberPattern>
6400 <exampleNumber>3212345</exampleNumber>
6403 <!-- 7 digit mobile numbers currently in use with special prefixes are preserved - new
6404 numbers are 8 digits. -->
6405 <nationalNumberPattern>
6420 </nationalNumberPattern>
6421 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
6422 <exampleNumber>51234567</exampleNumber>
6425 <nationalNumberPattern>
6431 </nationalNumberPattern>
6432 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
6433 <exampleNumber>80012345</exampleNumber>
6436 <!-- Supporting eFax numbers here as well. We aren't sure the exact cost, but have
6437 had user reports that they are expensive to dial. -->
6438 <nationalNumberPattern>
6443 </nationalNumberPattern>
6444 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
6445 <exampleNumber>9001234</exampleNumber>
6448 <nationalNumberPattern>70[0-2]\d{5}</nationalNumberPattern>
6449 <possibleNumberPattern>\d{8}</possibleNumberPattern>
6450 <exampleNumber>70012345</exampleNumber>
6453 <!-- All 4-5 digit numbers listed in the plan as being a "short number for a service" are
6455 <nationalNumberPattern>
6466 </nationalNumberPattern>
6467 <possibleNumberPattern>\d{4,5}</possibleNumberPattern>
6468 <exampleNumber>12123</exampleNumber>
6473 <territory id="EG" countryCode="20" internationalPrefix="00"
6474 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
6475 mobileNumberPortableRegion="true">
6477 <sourceUrl>http://www.itu.int/oth/T020200003E/en</sourceUrl>
6480 <!-- Note that no explicit formatting rule is here for 5-digit numbers starting with a 16
6481 or 19. These are formatted without national prefix, as a block, so do not need to be
6483 <numberFormat pattern="(\d)(\d{7,8})">
6484 <leadingDigits>[23]</leadingDigits>
6485 <format>$1 $2</format>
6487 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
6492 <format>$1 $2 $3</format>
6494 <numberFormat pattern="(\d{2})(\d{6,7})">
6500 <format>$1 $2</format>
6504 <nationalNumberPattern>
6509 </nationalNumberPattern>
6510 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
6513 <!-- Short numbers used for businesses (starting with 16 or 19) are covered here. Note also
6514 that the plan says numbers starting with 15 should be followed by seven digit
6515 subscriber numbers, but some numbers we have found online are in fact six digit.
6516 Subscriber numbers starting with 5 are also permitted for the area codes 040, with 5, 6
6517 and 7 for the area code 050, with 5 and 7 for 082, with 6 for 084, with 7 for 086 and
6518 092 and with 5 and 6 for 96. -->
6519 <nationalNumberPattern>
6555 </nationalNumberPattern>
6556 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
6557 <exampleNumber>234567890</exampleNumber>
6560 <!-- Adding the extra prefixes 102 and 121 from user reports that Vodafone and Mobinil have
6561 started allocating numbers beginning with these prefixes, along with 115 from numbers
6562 found online. Etisalat is using 110. -->
6563 <nationalNumberPattern>
6569 </nationalNumberPattern>
6570 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6571 <exampleNumber>1001234567</exampleNumber>
6574 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
6575 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6576 <exampleNumber>8001234567</exampleNumber>
6579 <nationalNumberPattern>900\d{7}</nationalNumberPattern>
6580 <possibleNumberPattern>\d{10}</possibleNumberPattern>
6581 <exampleNumber>9001234567</exampleNumber>
6585 <!-- Western Sahara -->
6586 <!-- Country calling code shared with Morocco (MA). -->
6587 <!-- Two area codes are defined in the Morocco ITU document; 05288 XXXXX and 05289 XXXXX -->
6588 <territory id="EH" countryCode="212" leadingDigits="528[89]" internationalPrefix="00"
6589 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
6591 <sourceUrl>http://www.itu.int/oth/T0202000090/en</sourceUrl>
6593 <!-- Uses MA formatting rules and shares general description
6594 (non-geographical numbers for Morocco are still valid). -->
6596 <nationalNumberPattern>[5689]\d{8}</nationalNumberPattern>
6597 <!-- Closed numbering plan. -->
6598 <possibleNumberPattern>\d{9}</possibleNumberPattern>
6601 <nationalNumberPattern>528[89]\d{5}</nationalNumberPattern>
6602 <exampleNumber>528812345</exampleNumber>
6604 <!-- The following sections are copied verbatim from Morocco to allow these non-geographical
6605 numbers to be recognized as available from within Western Sahara. -->
6607 <nationalNumberPattern>
6613 </nationalNumberPattern>
6614 <exampleNumber>650123456</exampleNumber>
6617 <nationalNumberPattern>80\d{7}</nationalNumberPattern>
6618 <exampleNumber>801234567</exampleNumber>
6621 <nationalNumberPattern>89\d{7}</nationalNumberPattern>
6622 <exampleNumber>891234567</exampleNumber>
6627 <territory id="ER" countryCode="291" internationalPrefix="00"
6628 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
6630 <sourceUrl>http://www.itu.int/oth/T0202000042/en</sourceUrl>
6633 <numberFormat pattern="(\d)(\d{3})(\d{3})">
6634 <format>$1 $2 $3</format>
6638 <nationalNumberPattern>[178]\d{6}</nationalNumberPattern>
6639 <possibleNumberPattern>\d{6,7}</possibleNumberPattern>
6642 <nationalNumberPattern>
6651 </nationalNumberPattern>
6652 <exampleNumber>8370362</exampleNumber><!-- Test number from plan. -->
6655 <!-- It is unclear in the plan whether the 07 mobile prefix superseded the previous 017[1-3]
6656 numbers or was in addition to them, so we support both here. -->
6657 <nationalNumberPattern>
6660 </nationalNumberPattern>
6661 <possibleNumberPattern>\d{7}</possibleNumberPattern>
6662 <exampleNumber>7123456</exampleNumber>
6667 <territory id="ES" countryCode="34" internationalPrefix="00" mobileNumberPortableRegion="true">
6669 <sourceUrl>http://www.mityc.es/telecomunicaciones/es-ES/Servicios/Numeracion/Paginas/Plan.aspx</sourceUrl>
6672 <numberFormat pattern="([5-9]\d{2})(\d{2})(\d{2})(\d{2})">
6677 <format>$1 $2 $3 $4</format>
6681 <nationalNumberPattern>[5-9]\d{8}</nationalNumberPattern>
6682 <possibleNumberPattern>\d{9}</possibleNumberPattern>
6684 <!-- The pattern is complex because the Lleida Networks mobile ranges are inside the
6685 fixed-line ranges. -->
6687 <nationalNumberPattern>
6721 </nationalNumberPattern>
6722 <exampleNumber>810123456</exampleNumber>
6724 <!-- The ranges 969060900 to 969061099 and 973900000 to 973909999 are mobile according to
6725 information received from Lleida Networks. -->
6727 <nationalNumberPattern>
6739 </nationalNumberPattern>
6740 <exampleNumber>612345678</exampleNumber>
6743 <nationalNumberPattern>[89]00\d{6}</nationalNumberPattern>
6744 <exampleNumber>800123456</exampleNumber>
6747 <nationalNumberPattern>80[367]\d{6}</nationalNumberPattern>
6748 <exampleNumber>803123456</exampleNumber>
6751 <nationalNumberPattern>90[12]\d{6}</nationalNumberPattern>
6752 <exampleNumber>901123456</exampleNumber>
6755 <nationalNumberPattern>70\d{7}</nationalNumberPattern>
6756 <exampleNumber>701234567</exampleNumber>
6758 <!-- Modelling non-geographic nomadic numbers as UAN. -->
6760 <nationalNumberPattern>51\d{7}</nationalNumberPattern>
6761 <exampleNumber>511234567</exampleNumber>
6766 <territory id="ET" countryCode="251" internationalPrefix="00"
6767 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
6769 <sourceUrl>http://www.itu.int/oth/T0202000044/en</sourceUrl>
6772 <numberFormat pattern="([1-59]\d)(\d{3})(\d{4})">
6773 <format>$1 $2 $3</format>
6777 <nationalNumberPattern>[1-59]\d{8}</nationalNumberPattern>
6778 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
6781 <nationalNumberPattern>
6896 </nationalNumberPattern>
6897 <exampleNumber>111112345</exampleNumber>
6900 <!-- The data here is not regularly updated by the Ethiopian authorities, and many more
6901 numbers are visible online than are reported in the ITU document. This pattern is
6902 therefore somewhat more relaxed than in the ITU document. According to the ETC, the
6903 prefix 93 is assigned to Addis Ababa Mobile and 95[89] to some CDMA providers. -->
6904 <nationalNumberPattern>
6909 </nationalNumberPattern>
6910 <possibleNumberPattern>\d{9}</possibleNumberPattern>
6911 <exampleNumber>911234567</exampleNumber>
6916 <!-- Metadata shared with Ã…land (AX) -->
6917 <territory id="FI" countryCode="358" internationalPrefix="00|99[049]" nationalPrefix="0"
6918 nationalPrefixFormattingRule="$NP$FG" mainCountryForCode="true"
6919 mobileNumberPortableRegion="true">
6921 <sourceUrl>https://www.viestintavirasto.fi/internetpuhelin/puhelinverkonnumerointi.html</sourceUrl>
6924 <numberFormat pattern="(\d{3})(\d{3,7})">
6931 <format>$1 $2</format>
6933 <numberFormat pattern="(\d{2})(\d{4,10})">
6940 <format>$1 $2</format>
6942 <numberFormat pattern="(\d)(\d{4,11})">
6947 <format>$1 $2</format>
6951 <nationalNumberPattern>
6954 </nationalNumberPattern>
6955 <possibleNumberPattern>\d{5,12}</possibleNumberPattern>
6957 <noInternationalDialling>
6958 <!-- According to the national numbering plan, service numbers are in general not accessible
6959 from abroad, although 600/700/800 numbers may be. -->
6960 <nationalNumberPattern>
6978 </nationalNumberPattern>
6979 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
6980 <exampleNumber>100123</exampleNumber>
6981 </noInternationalDialling>
6983 <!-- This is limited to geographic numbers - non-geographic nationwide subscriber numbers
6984 are listed under UAN. It also excludes Ã…land numbers. -->
6985 <nationalNumberPattern>
6996 </nationalNumberPattern>
6997 <exampleNumber>1312345678</exampleNumber>
7000 <nationalNumberPattern>
7003 </nationalNumberPattern>
7004 <possibleNumberPattern>\d{6,11}</possibleNumberPattern>
7005 <exampleNumber>412345678</exampleNumber>
7008 <nationalNumberPattern>800\d{4,7}</nationalNumberPattern>
7009 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
7010 <exampleNumber>8001234567</exampleNumber>
7013 <nationalNumberPattern>[67]00\d{5,6}</nationalNumberPattern>
7014 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
7015 <exampleNumber>600123456</exampleNumber>
7018 <!-- Covers nationwide non-geographic numbers, and nationwide "service numbers", typically
7019 assigned to institutions such as universities, the national post, etc, where they are
7020 not otherwise classified as toll-free or premium-rate numbers. -->
7021 <nationalNumberPattern>
7039 </nationalNumberPattern>
7040 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
7041 <exampleNumber>10112345</exampleNumber>
7046 <territory id="FJ" countryCode="679" internationalPrefix="0(?:0|52)"
7047 preferredInternationalPrefix="00" leadingZeroPossible="true">
7049 <sourceUrl>http://www.itu.int/oth/T0202000048/en</sourceUrl>
7050 <sourceUrl>http://www.tfl.com.fj</sourceUrl>
7053 <numberFormat pattern="(\d{3})(\d{4})">
7054 <leadingDigits>[36-9]</leadingDigits>
7055 <format>$1 $2</format>
7057 <numberFormat pattern="(\d{4})(\d{3})(\d{4})">
7058 <leadingDigits>0</leadingDigits>
7059 <format>$1 $2 $3</format>
7063 <nationalNumberPattern>
7066 </nationalNumberPattern>
7067 <possibleNumberPattern>\d{7}(?:\d{4})?</possibleNumberPattern>
7070 <!-- Adding the prefixes 30X, 31X and 62X, since numbers with these prefixes have been found
7071 online, including in the white pages. 35X and 85X were found in the exchanges listed on
7072 http://www.tfl.com.fj. -->
7073 <nationalNumberPattern>
7079 </nationalNumberPattern>
7080 <possibleNumberPattern>\d{7}</possibleNumberPattern>
7081 <exampleNumber>3212345</exampleNumber>
7084 <!-- Adding 7[5-8], 8[03679], and 9[034678] from numbers found online and numbers where SMSs
7085 have been received from. Adding 9[15] and 84 from Vodafone Fiji IR21. -->
7086 <nationalNumberPattern>
7092 </nationalNumberPattern>
7093 <possibleNumberPattern>\d{7}</possibleNumberPattern>
7094 <exampleNumber>7012345</exampleNumber>
7097 <!-- Information found on http://www.tfl.com.fj. It is not clear if these are
7098 internationally diallable, or if so, how. -->
7099 <nationalNumberPattern>0800\d{7}</nationalNumberPattern>
7100 <possibleNumberPattern>\d{11}</possibleNumberPattern>
7101 <exampleNumber>08001234567</exampleNumber>
7105 <!-- Falkland Islands (Malvinas) -->
7106 <territory id="FK" countryCode="500" internationalPrefix="00">
7108 <sourceUrl>http://www.itu.int/oth/T0202000046/en</sourceUrl>
7110 <!-- All numbers are formatted together, as a block. -->
7112 <nationalNumberPattern>[2-7]\d{4}</nationalNumberPattern>
7113 <possibleNumberPattern>\d{5}</possibleNumberPattern>
7116 <nationalNumberPattern>[2-47]\d{4}</nationalNumberPattern>
7117 <exampleNumber>31234</exampleNumber>
7120 <nationalNumberPattern>[56]\d{4}</nationalNumberPattern>
7121 <exampleNumber>51234</exampleNumber>
7125 <!-- Micronesia, Federated States of -->
7126 <territory id="FM" countryCode="691" internationalPrefix="00">
7128 <sourceUrl>http://www.itu.int/oth/T020200008B/en</sourceUrl>
7131 <numberFormat pattern="(\d{3})(\d{4})">
7132 <format>$1 $2</format>
7136 <nationalNumberPattern>[39]\d{6}</nationalNumberPattern>
7137 <possibleNumberPattern>\d{7}</possibleNumberPattern>
7140 <nationalNumberPattern>
7143 </nationalNumberPattern>
7144 <exampleNumber>3201234</exampleNumber>
7147 <!-- Note that most ranges are used for both fixed and mobile but numbers starting with 970
7148 are exclusively mobile. -->
7149 <nationalNumberPattern>
7152 </nationalNumberPattern>
7153 <exampleNumber>3501234</exampleNumber>
7157 <!-- Faroe Islands -->
7158 <territory id="FO" countryCode="298" internationalPrefix="00"
7159 nationalPrefixForParsing="(10(?:01|[12]0|88))"
7160 carrierCodeFormattingRule="$CC $FG">
7162 <sourceUrl>http://www.itu.int/oth/T0202000047/en</sourceUrl>
7164 <!-- All numbers are formatted together, as a block. -->
7166 <numberFormat pattern="(\d{6})">
7171 <nationalNumberPattern>[2-9]\d{5}</nationalNumberPattern>
7172 <possibleNumberPattern>\d{6}</possibleNumberPattern>
7175 <nationalNumberPattern>
7181 </nationalNumberPattern>
7182 <exampleNumber>201234</exampleNumber>
7185 <nationalNumberPattern>
7191 </nationalNumberPattern>
7192 <exampleNumber>211234</exampleNumber>
7195 <nationalNumberPattern>80[257-9]\d{3}</nationalNumberPattern>
7196 <exampleNumber>802123</exampleNumber>
7199 <nationalNumberPattern>
7205 </nationalNumberPattern>
7206 <exampleNumber>901123</exampleNumber>
7209 <nationalNumberPattern>
7214 </nationalNumberPattern>
7215 <exampleNumber>601234</exampleNumber>
7220 <territory id="FR" countryCode="33" internationalPrefix="00" nationalPrefix="0"
7221 nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
7223 <sourceUrl>http://www.itu.int/oth/T020200004A/en</sourceUrl>
7224 <sourceUrl>http://www.arcep.fr/index.php?id=8146</sourceUrl>
7225 <sourceUrl>http://en.wikipedia.org/wiki/%2B33</sourceUrl>
7227 <!-- Short numbers will be formatted as a block without a national prefix. -->
7229 <numberFormat pattern="([1-79])(\d{2})(\d{2})(\d{2})(\d{2})">
7230 <leadingDigits>[1-79]</leadingDigits>
7231 <format>$1 $2 $3 $4 $5</format>
7233 <numberFormat pattern="(1\d{2})(\d{3})" nationalPrefixFormattingRule="$FG">
7234 <leadingDigits>11</leadingDigits>
7235 <format>$1 $2</format>
7236 <intlFormat>NA</intlFormat>
7238 <numberFormat nationalPrefixFormattingRule="$NP $FG"
7239 pattern="(8\d{2})(\d{2})(\d{2})(\d{2})">
7240 <leadingDigits>8</leadingDigits>
7241 <format>$1 $2 $3 $4</format>
7245 <nationalNumberPattern>[1-9]\d{8}</nationalNumberPattern>
7246 <possibleNumberPattern>\d{9}</possibleNumberPattern>
7249 <nationalNumberPattern>[1-5]\d{8}</nationalNumberPattern>
7250 <exampleNumber>123456789</exampleNumber>
7253 <nationalNumberPattern>
7256 </nationalNumberPattern>
7257 <exampleNumber>612345678</exampleNumber>
7260 <nationalNumberPattern>80\d{7}</nationalNumberPattern>
7261 <exampleNumber>801234567</exampleNumber>
7264 <nationalNumberPattern>89[1-37-9]\d{6}</nationalNumberPattern>
7265 <exampleNumber>891123456</exampleNumber>
7268 <nationalNumberPattern>
7275 </nationalNumberPattern>
7276 <exampleNumber>810123456</exampleNumber>
7279 <!-- 087 numbers used to be used for this. -->
7280 <nationalNumberPattern>9\d{8}</nationalNumberPattern>
7281 <exampleNumber>912345678</exampleNumber>
7286 <!-- Note: We cannot set nationalPrefix="0" while fixed line numbers can start with a zero
7287 as this breaks parsing (it treats all leading zeros as national prefixes. -->
7288 <territory id="GA" countryCode="241" internationalPrefix="00" leadingZeroPossible="true" >
7290 <sourceUrl>http://www.itu.int/oth/T020200004E/en</sourceUrl>
7291 <sourceUrl>http://www.arcep.ga</sourceUrl>
7294 <!-- If no leading zero was supplied, format with the national prefix. -->
7295 <numberFormat pattern="(\d)(\d{2})(\d{2})(\d{2})" nationalPrefixFormattingRule="0$FG">
7296 <leadingDigits>[2-7]</leadingDigits>
7297 <format>$1 $2 $3 $4</format>
7299 <!-- This already has a leading zero so we format is "as is". -->
7300 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
7301 <leadingDigits>0</leadingDigits>
7302 <format>$1 $2 $3 $4</format>
7306 <nationalNumberPattern>0?\d{7}</nationalNumberPattern>
7307 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
7309 <!-- A 7-digit fixed-line plan was scheduled to be implemented on June 17, 2012 to unify fixed
7310 line and mobile numbering. However, this has only partially happened; mobile numbers can
7311 now be dialed without a leading zero, but fixed line numbers still require it. Their own
7312 website still lists fixed line numbers as "+241 01 44 68 11" and upon ringing they will
7313 not connect from outside the country without the 0. This was last tested March 2014. -->
7315 <nationalNumberPattern>01\d{6}</nationalNumberPattern>
7316 <possibleNumberPattern>\d{8}</possibleNumberPattern>
7317 <exampleNumber>01441234</exampleNumber>
7320 <!-- Mobile numbers can be 7 or 8 digits (with or without a leading zero). -->
7321 <nationalNumberPattern>0?[2-7]\d{6}</nationalNumberPattern>
7322 <exampleNumber>06031234</exampleNumber>
7326 <!-- United Kingdom -->
7327 <!-- Note that this excludes Isle of Man, Jersey and Guernsey prefixes for the purposes of
7328 validation, although the formatting rules are shared. -->
7329 <territory id="GB" countryCode="44" internationalPrefix="00"
7330 nationalPrefix="0" preferredExtnPrefix=" x" nationalPrefixFormattingRule="$NP$FG"
7331 mainCountryForCode="true" mobileNumberPortableRegion="true">
7333 <sourceUrl>http://stakeholders.ofcom.org.uk/telecoms/numbering/</sourceUrl>
7334 <sourceUrl>http://en.wikipedia.org/wiki/List_of_United_Kingdom_dialling_codes</sourceUrl>
7335 <sourceUrl>http://www.numberingplans.com/?page=dialling&sub=areacodes&ac=GB</sourceUrl>
7338 <!-- 2d, 55, 56, 70 and 76 pager numbers (excludes 7624) with 10 digits. -->
7339 <numberFormat pattern="(\d{2})(\d{4})(\d{4})">
7359 <format>$1 $2 $3</format>
7361 <!-- 11d, 1d1, 3dd, 9dd with 10 digits. -->
7362 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
7371 <format>$1 $2 $3</format>
7373 <!-- 1dddd with 9 or 10 digits.
7374 These area codes are very rare in GB, and are only available in the following places:
7375 13873(Langholm), 15242(Hornby), 15394(Hawkshead), 15395(Grange-over-Sands),
7376 15396(Sedbergh), 16973(Wigton), 16974(Raughton Head), 16977(Brampton),
7377 17683(Appleby), 17684(Pooley Bridge), 17687(Keswick), 19467(Gosforth). -->
7378 <numberFormat pattern="(\d{5})(\d{4,5})">
7412 <format>$1 $2</format>
7414 <!-- 1ddd with 9 or 10 digits. -->
7415 <numberFormat pattern="(1\d{3})(\d{5,6})">
7416 <leadingDigits>1</leadingDigits>
7417 <format>$1 $2</format>
7419 <!-- 7ddd (not 70, 76) with 10 digits. Note: DOES include 7624 when used for IM. -->
7420 <numberFormat pattern="(7\d{3})(\d{6})">
7433 <format>$1 $2</format>
7435 <!-- 800 1111 : UK ChildLine. -->
7436 <numberFormat pattern="(800)(\d{4})">
7437 <leadingDigits>800</leadingDigits>
7438 <leadingDigits>8001</leadingDigits>
7439 <leadingDigits>80011</leadingDigits>
7440 <leadingDigits>800111</leadingDigits>
7441 <leadingDigits>8001111</leadingDigits>
7442 <format>$1 $2</format>
7444 <!-- 845 46 47 : UK NHS Direct. -->
7445 <numberFormat pattern="(845)(46)(4\d)">
7446 <leadingDigits>845</leadingDigits>
7447 <leadingDigits>8454</leadingDigits>
7448 <leadingDigits>84546</leadingDigits>
7449 <leadingDigits>845464</leadingDigits>
7450 <format>$1 $2 $3</format>
7452 <!-- 84d, 87d with 10 digits. -->
7453 <numberFormat pattern="(8\d{2})(\d{3})(\d{4})">
7460 <format>$1 $2 $3</format>
7462 <!-- 80d (including 800) with 10 digits. -->
7463 <numberFormat pattern="(80\d)(\d{3})(\d{4})">
7464 <leadingDigits>80</leadingDigits>
7465 <format>$1 $2 $3</format>
7467 <!-- 500, 800 with 9 digits. -->
7468 <numberFormat pattern="([58]00)(\d{6})">
7469 <leadingDigits>[58]00</leadingDigits>
7470 <format>$1 $2</format>
7474 <nationalNumberPattern>\d{7,10}</nationalNumberPattern>
7475 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
7478 <!-- These are a subset of the fixed-line rules, with digits 2-9 as the leading digit of the
7479 subscriber number. There are patterns for 2+8, 3+7 and a combined pattern for all
7480 4+6/4+5 and 5+5/5+4 numbers. Note that numbers matching this pattern are not
7481 necessarily valid numbers. -->
7482 <nationalNumberPattern>
7489 [248][02-9]\d[2-9]\d{4,5}|
7542 </nationalNumberPattern>
7543 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
7544 <exampleNumber>1332456789</exampleNumber>
7547 <!-- http://en.wikipedia.org/wiki/List_of_United_Kingdom_dialling_codes -->
7548 <!-- Pattern matches geographic NSN=10 numbers as follows:
7549 - area code and local number first digit for 2+8,
7550 - area code and local number first digit for 3+7,
7551 - area code only for 4+6 (including areas with embedded 5+5).
7552 Pattern matches geographic NSN=9 numbers as follows:
7553 - area code and local number first two digits for 4+5,
7554 - area code and local number first three digits for 4+5 special case (01768) 88Ddd,
7555 - area code and local number first digit for 5+4 special case (016977) Dddd.
7556 All patterns exclude ranges used in GG, IM, JE. -->
7557 <nationalNumberPattern>
7788 176888[234678]\d{2}|
7790 </nationalNumberPattern>
7791 <exampleNumber>1212345678</exampleNumber>
7794 <!-- http://stakeholders.ofcom.org.uk/telecoms/numbering/telephone-no-availability/numbers-administered/
7795 7100-7599, 7700-7999 with 10 digits; excluding ranges used in GG, IM, JE. -->
7796 <nationalNumberPattern>
7821 </nationalNumberPattern>
7822 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7823 <exampleNumber>7400123456</exampleNumber>
7826 <!-- 76 with 10 digits; excluding ranges used in IM. -->
7827 <nationalNumberPattern>
7838 </nationalNumberPattern>
7839 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7840 <exampleNumber>7640123456</exampleNumber>
7842 <!-- Source for non geographic numbers:
7843 http://en.wikipedia.org/wiki/Non-geographic_telephone_numbers_in_the_United_Kingdom -->
7845 <!-- 800 1111 with 7 digits, 800 with 9 or 10 digits, 808 with 10 digits, 500 with 9 digits.
7847 <nationalNumberPattern>
7856 </nationalNumberPattern>
7857 <possibleNumberPattern>\d{7}(?:\d{2,3})?</possibleNumberPattern>
7858 <exampleNumber>8001234567</exampleNumber>
7861 <!-- 871, 872, 873 with 10 digits are now Controlled Premium Rate Services, so are listed
7862 here as well as 900-909, 910-919, 982-984, 989 with 10 digits.
7863 Note that only 908, 909, 980-989 are reserved for "adult services" while 900-907 and
7864 910-919 are reserved for standard premium rate services. -->
7865 <nationalNumberPattern>
7873 </nationalNumberPattern>
7874 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7875 <exampleNumber>9012345678</exampleNumber>
7878 <!-- Using shared cost to deal with the various revenue sharing number prefixes in the
7879 United Kingdom: 845 46 47 with 7 digits, 842-845, 870 with 10 digits. -->
7880 <nationalNumberPattern>
7888 </nationalNumberPattern>
7889 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
7890 <exampleNumber>8431234567</exampleNumber>
7893 <!-- 70 with 10 digits. -->
7894 <nationalNumberPattern>70\d{8}</nationalNumberPattern>
7895 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7896 <exampleNumber>7012345678</exampleNumber>
7899 <!-- 56 with 10 digits. -->
7900 <nationalNumberPattern>56\d{8}</nationalNumberPattern>
7901 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7902 <exampleNumber>5612345678</exampleNumber>
7905 <!-- 30d, 33d, 34d, 37d, 55 with 10 digits. -->
7906 <nationalNumberPattern>
7911 </nationalNumberPattern>
7912 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7913 <exampleNumber>5512345678</exampleNumber>
7918 <territory id="GD" countryCode="1" leadingDigits="473" nationalPrefix="1"
7919 internationalPrefix="011">
7921 <sourceUrl>http://www.itu.int/oth/T0202000057/en</sourceUrl>
7924 <!-- NANPA country - uses US formatting rules -->
7925 <nationalNumberPattern>[4589]\d{9}</nationalNumberPattern>
7926 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
7929 <nationalNumberPattern>
7956 </nationalNumberPattern>
7957 <exampleNumber>4732691234</exampleNumber>
7960 <nationalNumberPattern>
7974 </nationalNumberPattern>
7975 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7976 <exampleNumber>4734031234</exampleNumber>
7979 <nationalNumberPattern>
7988 </nationalNumberPattern>
7989 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7990 <exampleNumber>8002123456</exampleNumber>
7993 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
7994 <possibleNumberPattern>\d{10}</possibleNumberPattern>
7995 <exampleNumber>9002123456</exampleNumber>
7998 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
7999 <nationalNumberPattern>
8007 </nationalNumberPattern>
8008 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8009 <exampleNumber>5002345678</exampleNumber>
8014 <territory id="GE" countryCode="995" internationalPrefix="00" nationalPrefix="0"
8015 mobileNumberPortableRegion="true">
8017 <sourceUrl>http://www.itu.int/oth/T0202000050/en</sourceUrl>
8018 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Georgia_(country)</sourceUrl>
8021 <!-- Format isn't very strictly defined - the yellow pages omits area code and does 2 2 2,
8022 the communications commission uses 2 3 3. Wikipedia says 3 2 3. Some use 2 6. -->
8023 <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})" nationalPrefixFormattingRule="$NP$FG">
8024 <leadingDigits>[348]</leadingDigits>
8025 <format>$1 $2 $3 $4</format>
8027 <numberFormat pattern="(\d{3})(\d{3})(\d{3})" nationalPrefixFormattingRule="$NP$FG">
8028 <leadingDigits>7</leadingDigits>
8029 <format>$1 $2 $3</format>
8031 <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})" nationalPrefixFormattingRule="$FG">
8032 <leadingDigits>5</leadingDigits>
8033 <format>$1 $2 $3 $4</format>
8036 <noInternationalDialling>
8037 <!-- Online numbers mention that this is not internationally diallable. -->
8038 <nationalNumberPattern>706\d{6}</nationalNumberPattern>
8039 <possibleNumberPattern>\d{9}</possibleNumberPattern>
8040 <exampleNumber>706123456</exampleNumber>
8041 </noInternationalDialling>
8043 <nationalNumberPattern>[34578]\d{8}</nationalNumberPattern>
8044 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
8047 <nationalNumberPattern>
8063 </nationalNumberPattern>
8064 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
8065 <exampleNumber>322123456</exampleNumber>
8068 <!-- The ITU document says 790 instead of 590, but this contradicts their press release
8069 about the change in numbers, and online numbers found. -->
8070 <nationalNumberPattern>
8078 </nationalNumberPattern>
8079 <possibleNumberPattern>\d{9}</possibleNumberPattern>
8080 <exampleNumber>555123456</exampleNumber>
8082 <!-- Information from http://www.yell.ge, examples such as Wissol Petroleum Georgia
8085 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
8086 <possibleNumberPattern>\d{9}</possibleNumberPattern>
8087 <exampleNumber>800123456</exampleNumber>
8090 <!-- http://www.mydivert.com/virtual-numbers/995-virtual-number-National.html -->
8091 <nationalNumberPattern>706\d{6}</nationalNumberPattern>
8092 <possibleNumberPattern>\d{9}</possibleNumberPattern>
8093 <exampleNumber>706123456</exampleNumber>
8095 <!-- It seems there may be special 6 digit numbers beginning with 91, but we are not sure, so
8096 these are omitted for now. -->
8099 <!-- French Guiana (French Dept. of) -->
8100 <!-- Using a national prefix here as online numbers are formatted with it. -->
8101 <territory id="GF" countryCode="594" internationalPrefix="00"
8102 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
8104 <sourceUrl>http://www.itu.int/oth/T020200004C/en</sourceUrl>
8105 <sourceUrl>http://www.arcep.fr/index.php?id=2137&bloc=0594&CMD=RESULTS_NUMEROTATION</sourceUrl>
8106 <sourceUrl>http://www.arcep.fr/uploads/tx_gsavis/11-1297.pdf</sourceUrl>
8109 <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})">
8110 <format>$1 $2 $3 $4</format>
8114 <nationalNumberPattern>[56]\d{8}</nationalNumberPattern>
8115 <possibleNumberPattern>\d{9}</possibleNumberPattern>
8118 <nationalNumberPattern>
8128 </nationalNumberPattern>
8129 <exampleNumber>594101234</exampleNumber>
8132 <nationalNumberPattern>
8139 </nationalNumberPattern>
8140 <exampleNumber>694201234</exampleNumber>
8142 <!-- The 876 prefix is mentioned in the plan, but the plan is from 2006 and in France VOIP
8143 numbers were changed from 087 to the 09 prefix in 2009. It is likely this occurred here
8148 <!-- Inherits formatting rules from the UK. -->
8149 <territory id="GG" countryCode="44" internationalPrefix="00"
8150 nationalPrefix="0" preferredExtnPrefix=" x" nationalPrefixFormattingRule="$NP$FG">
8152 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom</sourceUrl>
8155 <nationalNumberPattern>[135789]\d{6,9}</nationalNumberPattern>
8156 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
8159 <nationalNumberPattern>1481[2-9]\d{5}</nationalNumberPattern>
8160 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8161 <exampleNumber>1481250123</exampleNumber>
8163 <!-- Specific to GG. -->
8165 <!-- 1481 with 10 digits. -->
8166 <nationalNumberPattern>1481\d{6}</nationalNumberPattern>
8167 <exampleNumber>1481456789</exampleNumber>
8170 <!-- 7781, 7839, 7911 with 10 digits. -->
8171 <nationalNumberPattern>
8177 </nationalNumberPattern>
8178 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8179 <exampleNumber>7781123456</exampleNumber>
8181 <!-- Other numbers as per GB. -->
8183 <nationalNumberPattern>
8194 </nationalNumberPattern>
8195 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8196 <exampleNumber>7640123456</exampleNumber>
8199 <nationalNumberPattern>
8208 </nationalNumberPattern>
8209 <possibleNumberPattern>\d{7}(?:\d{2,3})?</possibleNumberPattern>
8210 <exampleNumber>8001234567</exampleNumber>
8213 <nationalNumberPattern>
8221 </nationalNumberPattern>
8222 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8223 <exampleNumber>9012345678</exampleNumber>
8226 <nationalNumberPattern>
8234 </nationalNumberPattern>
8235 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
8236 <exampleNumber>8431234567</exampleNumber>
8239 <nationalNumberPattern>70\d{8}</nationalNumberPattern>
8240 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8241 <exampleNumber>7012345678</exampleNumber>
8244 <nationalNumberPattern>56\d{8}</nationalNumberPattern>
8245 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8246 <exampleNumber>5612345678</exampleNumber>
8249 <nationalNumberPattern>
8254 </nationalNumberPattern>
8255 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8256 <exampleNumber>5512345678</exampleNumber>
8261 <territory id="GH" countryCode="233" internationalPrefix="00"
8262 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
8263 mobileNumberPortableRegion="true">
8265 <sourceUrl>http://www.itu.int/oth/T0202000052/en</sourceUrl>
8266 <sourceUrl>http://www.nca.org.gh/index.php?option=com_content&view=article&id=90&Itemid=65</sourceUrl>
8269 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
8270 <leadingDigits>[235]</leadingDigits>
8271 <format>$1 $2 $3</format>
8273 <numberFormat pattern="(\d{3})(\d{5})">
8274 <leadingDigits>8</leadingDigits>
8275 <format>$1 $2</format>
8279 <nationalNumberPattern>
8282 </nationalNumberPattern>
8283 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
8285 <noInternationalDialling>
8286 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
8287 <possibleNumberPattern>\d{8}</possibleNumberPattern>
8288 <exampleNumber>80012345</exampleNumber>
8289 </noInternationalDialling>
8291 <nationalNumberPattern>
8324 </nationalNumberPattern>
8325 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
8326 <exampleNumber>302345678</exampleNumber>
8329 <nationalNumberPattern>
8338 </nationalNumberPattern>
8339 <possibleNumberPattern>\d{9}</possibleNumberPattern>
8340 <exampleNumber>231234567</exampleNumber>
8343 <!-- Found online references to these numbers, although they are not in the plan since they
8344 are not internationally diallable. -->
8345 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
8346 <possibleNumberPattern>\d{8}</possibleNumberPattern>
8347 <exampleNumber>80012345</exampleNumber>
8349 <!-- No premiumRate information can be found. -->
8353 <territory id="GI" countryCode="350" internationalPrefix="00">
8355 <sourceUrl>http://www.gra.gi/index.php?topic=numbering+plan&section=legislation&site=communications</sourceUrl>
8358 <!-- Most numbers are formatted as a block -->
8359 <numberFormat pattern="(\d{3})(\d{5})">
8360 <leadingDigits>2</leadingDigits>
8361 <format>$1 $2</format>
8365 <nationalNumberPattern>[2568]\d{7}</nationalNumberPattern>
8366 <possibleNumberPattern>\d{8}</possibleNumberPattern>
8369 <nationalNumberPattern>
8381 </nationalNumberPattern>
8382 <exampleNumber>20012345</exampleNumber>
8385 <nationalNumberPattern>
8390 </nationalNumberPattern>
8391 <exampleNumber>57123456</exampleNumber>
8394 <nationalNumberPattern>80\d{6}</nationalNumberPattern>
8395 <exampleNumber>80123456</exampleNumber>
8398 <nationalNumberPattern>8[1-689]\d{6}</nationalNumberPattern>
8399 <exampleNumber>88123456</exampleNumber>
8402 <nationalNumberPattern>87\d{6}</nationalNumberPattern>
8403 <exampleNumber>87123456</exampleNumber>
8408 <territory id="GL" countryCode="299" internationalPrefix="00">
8410 <sourceUrl>http://www.itu.int/oth/T0202000056/en</sourceUrl>
8413 <numberFormat pattern="(\d{2})(\d{2})(\d{2})">
8414 <format>$1 $2 $3</format>
8418 <nationalNumberPattern>[1-689]\d{5}</nationalNumberPattern>
8419 <possibleNumberPattern>\d{6}</possibleNumberPattern>
8422 <!-- Including VSAT numbers here. -->
8423 <nationalNumberPattern>
8431 </nationalNumberPattern>
8432 <exampleNumber>321000</exampleNumber>
8435 <nationalNumberPattern>[245][2-9]\d{4}</nationalNumberPattern>
8436 <exampleNumber>221234</exampleNumber>
8439 <nationalNumberPattern>80\d{4}</nationalNumberPattern>
8440 <exampleNumber>801234</exampleNumber>
8443 <nationalNumberPattern>3[89]\d{4}</nationalNumberPattern>
8444 <exampleNumber>381234</exampleNumber>
8449 <territory id="GM" countryCode="220" internationalPrefix="00">
8451 <sourceUrl>http://www.itu.int/oth/T020200004F/en</sourceUrl>
8454 <numberFormat pattern="(\d{3})(\d{4})">
8455 <format>$1 $2</format>
8459 <nationalNumberPattern>[2-9]\d{6}</nationalNumberPattern>
8460 <possibleNumberPattern>\d{7}</possibleNumberPattern>
8463 <nationalNumberPattern>
8486 </nationalNumberPattern>
8487 <exampleNumber>5661234</exampleNumber>
8490 <nationalNumberPattern>
8495 </nationalNumberPattern>
8496 <exampleNumber>3012345</exampleNumber>
8501 <territory id="GN" countryCode="224" internationalPrefix="00">
8503 <sourceUrl>http://www.itu.int/oth/T020200005B/en</sourceUrl>
8506 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
8507 <leadingDigits>3</leadingDigits>
8508 <format>$1 $2 $3 $4</format>
8510 <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})">
8511 <leadingDigits>[67]</leadingDigits>
8512 <format>$1 $2 $3 $4</format>
8516 <nationalNumberPattern>[367]\d{7,8}</nationalNumberPattern>
8517 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
8520 <nationalNumberPattern>
8530 </nationalNumberPattern>
8531 <possibleNumberPattern>\d{8}</possibleNumberPattern>
8532 <exampleNumber>30241234</exampleNumber>
8535 <!-- Prefixes here match those assigned to carriers, as per the ITU communication Jan 23rd
8537 <nationalNumberPattern>6[02356]\d{7}</nationalNumberPattern>
8538 <possibleNumberPattern>\d{9}</possibleNumberPattern>
8539 <exampleNumber>601123456</exampleNumber>
8542 <!-- Gamma concept network is being listed as VoIP as per
8543 http://www.gammaconcept.com/internet%20sat.html -->
8544 <nationalNumberPattern>722\d{6}</nationalNumberPattern>
8545 <possibleNumberPattern>\d{9}</possibleNumberPattern>
8546 <exampleNumber>722123456</exampleNumber>
8551 <territory id="GP" countryCode="590" internationalPrefix="00"
8552 mainCountryForCode="true" nationalPrefix="0"
8553 nationalPrefixFormattingRule="$NP$FG">
8555 <sourceUrl>http://www.itu.int/oth/T0202000058/en</sourceUrl>
8556 <!-- Linked from http://www.arcep.fr/index.php?id=interactivenumeros -->
8557 <sourceUrl>http://www.arcep.fr/fileadmin/reprise/dossiers/numero/ZABPQ-ZNE.xls</sourceUrl>
8560 <numberFormat pattern="([56]90)(\d{2})(\d{4})">
8561 <format>$1 $2-$3</format>
8565 <nationalNumberPattern>[56]\d{8}</nationalNumberPattern>
8566 <possibleNumberPattern>\d{9}</possibleNumberPattern>
8569 <nationalNumberPattern>
8582 </nationalNumberPattern>
8583 <exampleNumber>590201234</exampleNumber>
8586 <!-- Any ranges assigned from
8587 http://www.arcep.fr/index.php?id=interactivenumeros have been listed as belonging to
8588 Guadeloupe, St Martin and St Barthélemy, since we can't reliably distinguish between
8590 <nationalNumberPattern>
8595 </nationalNumberPattern>
8596 <exampleNumber>690301234</exampleNumber>
8600 <!-- Equatorial Guinea -->
8601 <territory id="GQ" countryCode="240" internationalPrefix="00">
8603 <sourceUrl>http://www.itu.int/oth/T0202000041/en</sourceUrl>
8606 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
8607 <leadingDigits>[235]</leadingDigits>
8608 <format>$1 $2 $3</format>
8610 <numberFormat pattern="(\d{3})(\d{6})">
8611 <leadingDigits>[89]</leadingDigits>
8612 <format>$1 $2</format>
8616 <nationalNumberPattern>[23589]\d{8}</nationalNumberPattern>
8617 <possibleNumberPattern>\d{9}</possibleNumberPattern>
8620 <nationalNumberPattern>
8628 </nationalNumberPattern>
8629 <exampleNumber>333091234</exampleNumber>
8632 <nationalNumberPattern>
8637 </nationalNumberPattern>
8638 <exampleNumber>222123456</exampleNumber>
8640 <!-- Note that personal and sharedCost numbers are said to go under here too - hopefully when
8641 they start allocating them there will be a differentiation of prefixes, but this is not
8644 <nationalNumberPattern>80\d[1-9]\d{5}</nationalNumberPattern>
8645 <exampleNumber>800123456</exampleNumber>
8648 <nationalNumberPattern>90\d[1-9]\d{5}</nationalNumberPattern>
8649 <exampleNumber>900123456</exampleNumber>
8654 <territory id="GR" countryCode="30" internationalPrefix="00" mobileNumberPortableRegion="true">
8656 <sourceUrl>http://www.itu.int/oth/T0202000055/en</sourceUrl>
8657 <sourceUrl>http://en.wikipedia.org/wiki/%2B30</sourceUrl>
8660 <numberFormat pattern="([27]\d)(\d{4})(\d{4})">
8665 <format>$1 $2 $3</format>
8667 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
8672 <format>$1 $2 $3</format>
8674 <numberFormat pattern="(2\d{3})(\d{6})">
8675 <leadingDigits>2[2-9][02-9]</leadingDigits>
8676 <format>$1 $2</format>
8680 <nationalNumberPattern>[26-9]\d{9}</nationalNumberPattern>
8681 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8684 <nationalNumberPattern>
8745 </nationalNumberPattern>
8746 <exampleNumber>2123456789</exampleNumber>
8749 <nationalNumberPattern>69\d{8}</nationalNumberPattern>
8750 <exampleNumber>6912345678</exampleNumber>
8753 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
8754 <exampleNumber>8001234567</exampleNumber>
8757 <nationalNumberPattern>90[19]\d{7}</nationalNumberPattern>
8758 <exampleNumber>9091234567</exampleNumber>
8760 <!-- Including calls with maximum charge of 0,25 EUR/minute here instead of under premium
8763 <nationalNumberPattern>
8769 </nationalNumberPattern>
8770 <exampleNumber>8011234567</exampleNumber>
8773 <nationalNumberPattern>70\d{8}</nationalNumberPattern>
8774 <exampleNumber>7012345678</exampleNumber>
8779 <territory id="GT" countryCode="502" internationalPrefix="00">
8781 <sourceUrl>http://www.itu.int/oth/T020200005A/en</sourceUrl>
8782 <sourceUrl>http://www.sit.gob.gt/index.php?page=plan-de-numeracion</sourceUrl>
8783 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Guatemala</sourceUrl>
8786 <numberFormat pattern="(\d{4})(\d{4})">
8787 <leadingDigits>[2-7]</leadingDigits>
8788 <format>$1 $2</format>
8790 <numberFormat pattern="(\d{4})(\d{3})(\d{4})">
8791 <leadingDigits>1</leadingDigits>
8792 <format>$1 $2 $3</format>
8796 <nationalNumberPattern>
8799 </nationalNumberPattern>
8800 <possibleNumberPattern>\d{8}(?:\d{3})?</possibleNumberPattern>
8803 <nationalNumberPattern>[267][2-9]\d{6}</nationalNumberPattern>
8804 <possibleNumberPattern>\d{8}</possibleNumberPattern>
8805 <exampleNumber>22456789</exampleNumber>
8808 <!-- Wikipedia claims numbers with 3 are also mobile although in ITU document it says that
8809 they are just reserved. -->
8810 <nationalNumberPattern>[345]\d{7}</nationalNumberPattern>
8811 <possibleNumberPattern>\d{8}</possibleNumberPattern>
8812 <exampleNumber>51234567</exampleNumber>
8815 <nationalNumberPattern>18[01]\d{8}</nationalNumberPattern>
8816 <possibleNumberPattern>\d{11}</possibleNumberPattern>
8817 <exampleNumber>18001112222</exampleNumber>
8820 <nationalNumberPattern>19\d{9}</nationalNumberPattern>
8821 <possibleNumberPattern>\d{11}</possibleNumberPattern>
8822 <exampleNumber>19001112222</exampleNumber>
8827 <territory id="GU" countryCode="1" leadingDigits="671" nationalPrefix="1"
8828 internationalPrefix="011">
8830 <sourceUrl>http://www.nationalnanpa.com/nas/public/assigned_code_query_step1.do?method=resetCodeQueryModel</sourceUrl>
8833 <!-- NANPA country - uses US formatting rules -->
8834 <nationalNumberPattern>[5689]\d{9}</nationalNumberPattern>
8835 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
8838 <!-- Added 671 489/555/720/721 based on information from
8839 http://www.area-codes.com/area-code/area-code-671.asp -->
8840 <nationalNumberPattern>
8884 </nationalNumberPattern>
8885 <exampleNumber>6713001234</exampleNumber>
8887 <!-- We assume mobile phone numbers to be the same as fixed-line - further info unavailable
8890 <nationalNumberPattern>
8934 </nationalNumberPattern>
8935 <exampleNumber>6713001234</exampleNumber>
8938 <nationalNumberPattern>
8947 </nationalNumberPattern>
8948 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8949 <exampleNumber>8002123456</exampleNumber>
8952 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
8953 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8954 <exampleNumber>9002123456</exampleNumber>
8957 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
8958 <nationalNumberPattern>
8966 </nationalNumberPattern>
8967 <possibleNumberPattern>\d{10}</possibleNumberPattern>
8968 <exampleNumber>5002345678</exampleNumber>
8972 <!-- Guinea-Bissau -->
8973 <territory id="GW" countryCode="245" internationalPrefix="00">
8975 <sourceUrl>http://www.itu.int/oth/T020200005C/en</sourceUrl>
8978 <numberFormat pattern="(\d{3})(\d{4})">
8979 <format>$1 $2</format>
8983 <nationalNumberPattern>[3-79]\d{6}</nationalNumberPattern>
8984 <possibleNumberPattern>\d{7}</possibleNumberPattern>
8987 <nationalNumberPattern>
8996 </nationalNumberPattern>
8997 <exampleNumber>3201234</exampleNumber>
9000 <nationalNumberPattern>
9005 </nationalNumberPattern>
9006 <exampleNumber>5012345</exampleNumber>
9009 <nationalNumberPattern>40\d{5}</nationalNumberPattern>
9010 <exampleNumber>4012345</exampleNumber>
9015 <territory id="GY" countryCode="592" internationalPrefix="001">
9017 <sourceUrl>http://www.itu.int/oth/T020200005D/en</sourceUrl>
9020 <numberFormat pattern="(\d{3})(\d{4})">
9021 <format>$1 $2</format>
9025 <nationalNumberPattern>[2-4679]\d{6}</nationalNumberPattern>
9026 <possibleNumberPattern>\d{7}</possibleNumberPattern>
9029 <nationalNumberPattern>
9049 </nationalNumberPattern>
9050 <exampleNumber>2201234</exampleNumber>
9053 <!-- The ITU document only describes a few ranges for mobile numbers but there is evidence
9054 that SMS messages have been succesfully sent to numbers in the entire range prefixed
9056 <nationalNumberPattern>6\d{6}</nationalNumberPattern>
9057 <exampleNumber>6091234</exampleNumber>
9060 <nationalNumberPattern>
9065 </nationalNumberPattern>
9066 <exampleNumber>2891234</exampleNumber>
9069 <nationalNumberPattern>9008\d{3}</nationalNumberPattern>
9070 <exampleNumber>9008123</exampleNumber>
9075 <territory id="HK" countryCode="852" internationalPrefix="00" mobileNumberPortableRegion="true">
9077 <sourceUrl>http://www.ofca.gov.hk/en/industry_focus/telecommunications/portability/index.html</sourceUrl>
9080 <numberFormat pattern="(\d{4})(\d{4})">
9088 <format>$1 $2</format>
9090 <numberFormat pattern="(800)(\d{3})(\d{3})">
9091 <leadingDigits>800</leadingDigits>
9092 <format>$1 $2 $3</format>
9094 <numberFormat pattern="(900)(\d{2})(\d{3})(\d{3})">
9095 <leadingDigits>900</leadingDigits>
9096 <format>$1 $2 $3 $4</format>
9098 <numberFormat pattern="(900)(\d{2,5})">
9099 <leadingDigits>900</leadingDigits>
9100 <format>$1 $2</format>
9104 <!-- Slightly more complex pattern to allow the country code to be stripped off if
9106 <nationalNumberPattern>
9110 </nationalNumberPattern>
9111 <possibleNumberPattern>\d{5,11}</possibleNumberPattern>
9114 <nationalNumberPattern>
9119 </nationalNumberPattern>
9120 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9121 <exampleNumber>21234567</exampleNumber>
9124 <nationalNumberPattern>
9133 </nationalNumberPattern>
9134 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9135 <exampleNumber>51234567</exampleNumber>
9138 <nationalNumberPattern>7\d{7}</nationalNumberPattern>
9139 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9140 <exampleNumber>71234567</exampleNumber>
9143 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
9144 <possibleNumberPattern>\d{9}</possibleNumberPattern>
9145 <exampleNumber>800123456</exampleNumber>
9148 <nationalNumberPattern>
9153 </nationalNumberPattern>
9154 <possibleNumberPattern>\d{5,11}</possibleNumberPattern>
9155 <exampleNumber>90012345678</exampleNumber>
9158 <nationalNumberPattern>8[1-3]\d{6}</nationalNumberPattern>
9159 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9160 <exampleNumber>81123456</exampleNumber>
9165 <!-- It seems there is no longer a trunk prefix in use, based on websites like
9166 http://www.howtocallabroad.com/codes.html and on seeing how locals write their numbers in
9167 national format. -->
9168 <territory id="HN" countryCode="504" internationalPrefix="00" >
9170 <sourceUrl>http://www.itu.int/oth/T020200005F/en</sourceUrl>
9173 <numberFormat pattern="(\d{4})(\d{4})">
9174 <format>$1-$2</format>
9178 <nationalNumberPattern>[237-9]\d{7}</nationalNumberPattern>
9179 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9182 <!-- Extra prefixes 227[01389], 228X, 2292 & 260X were added from numbers found online. -->
9183 <nationalNumberPattern>
9224 </nationalNumberPattern>
9225 <exampleNumber>22123456</exampleNumber>
9228 <nationalNumberPattern>[37-9]\d{7}</nationalNumberPattern>
9229 <exampleNumber>91234567</exampleNumber>
9234 <territory id="HR" countryCode="385" internationalPrefix="00"
9235 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
9236 mobileNumberPortableRegion="true">
9238 <sourceUrl>http://www.itu.int/oth/T0202000032/en</sourceUrl>
9239 <sourceUrl>http://en.wikipedia.org/wiki/%2B385</sourceUrl>
9242 <!-- The plan says 1 XXX XXXX but the government and local telecom websites are formatted 1
9243 XXXX XXX, so we prefer that formatting here. These same sources prefer XXX XXX to XX
9245 <numberFormat pattern="(1)(\d{4})(\d{3})">
9246 <leadingDigits>1</leadingDigits>
9247 <format>$1 $2 $3</format>
9249 <numberFormat pattern="(6[09])(\d{4})(\d{3})">
9250 <leadingDigits>6[09]</leadingDigits>
9251 <format>$1 $2 $3</format>
9253 <numberFormat pattern="(62)(\d{3})(\d{3,4})">
9254 <leadingDigits>62</leadingDigits>
9255 <format>$1 $2 $3</format>
9257 <numberFormat pattern="([2-5]\d)(\d{3})(\d{3})">
9258 <leadingDigits>[2-5]</leadingDigits>
9259 <format>$1 $2 $3</format>
9261 <numberFormat pattern="(9\d)(\d{3})(\d{3,4})">
9262 <leadingDigits>9</leadingDigits>
9263 <format>$1 $2 $3</format>
9265 <numberFormat pattern="(9\d)(\d{4})(\d{4})">
9266 <leadingDigits>9</leadingDigits>
9267 <format>$1 $2 $3</format>
9269 <numberFormat pattern="(9\d)(\d{3,4})(\d{3})(\d{3})">
9270 <leadingDigits>9</leadingDigits>
9271 <format>$1 $2 $3 $4</format>
9273 <numberFormat pattern="(\d{2})(\d{2})(\d{2,3})">
9278 <format>$1 $2 $3</format>
9280 <numberFormat pattern="(\d{2})(\d{3,4})(\d{3})">
9285 <format>$1 $2 $3</format>
9287 <numberFormat pattern="(80[01])(\d{2})(\d{2,3})">
9288 <leadingDigits>8</leadingDigits>
9289 <format>$1 $2 $3</format>
9291 <numberFormat pattern="(80[01])(\d{3,4})(\d{3})">
9292 <leadingDigits>8</leadingDigits>
9293 <format>$1 $2 $3</format>
9297 <nationalNumberPattern>
9300 </nationalNumberPattern>
9301 <possibleNumberPattern>\d{6,12}</possibleNumberPattern>
9304 <nationalNumberPattern>
9312 </nationalNumberPattern>
9313 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
9314 <exampleNumber>12345678</exampleNumber>
9317 <!-- ITU numbering plan doesn't specify the length of the numbers with prefix 62, but there
9318 are numbers on the internet with 6 or 7 digits after the prefix. -->
9319 <nationalNumberPattern>62\d{6,7}</nationalNumberPattern>
9320 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
9321 <exampleNumber>62123456</exampleNumber>
9324 <nationalNumberPattern>9[1257-9]\d{6,10}</nationalNumberPattern>
9325 <possibleNumberPattern>\d{8,12}</possibleNumberPattern>
9326 <exampleNumber>912345678</exampleNumber>
9329 <nationalNumberPattern>80[01]\d{4,7}</nationalNumberPattern>
9330 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
9331 <exampleNumber>8001234567</exampleNumber>
9334 <!-- The prefixes 060, 061, 064, 065 and 069 are named as premium rate numbers by
9335 http://www.vipnet.hr/en/poslovni-korisnici/telefon-internet/vip-adsl-usluga#panel_4.
9337 <nationalNumberPattern>
9342 </nationalNumberPattern>
9343 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
9344 <exampleNumber>611234</exampleNumber>
9347 <nationalNumberPattern>7[45]\d{4,7}</nationalNumberPattern>
9348 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
9349 <exampleNumber>741234567</exampleNumber>
9354 <territory id="HT" countryCode="509" internationalPrefix="00">
9356 <sourceUrl>http://www.itu.int/oth/T020200005E/en</sourceUrl>
9357 <sourceUrl>http://www.numberingplans.com/</sourceUrl>
9360 <numberFormat pattern="(\d{2})(\d{2})(\d{4})">
9361 <format>$1 $2 $3</format>
9365 <nationalNumberPattern>[2-489]\d{7}</nationalNumberPattern>
9366 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9369 <!-- The prefix 24 seems to be also used, based on online searches. -->
9370 <nationalNumberPattern>
9376 </nationalNumberPattern>
9377 <exampleNumber>22453300</exampleNumber>
9380 <!-- The prefix 31 seems to be also used, based on online searches. -->
9381 <nationalNumberPattern>
9386 </nationalNumberPattern>
9387 <exampleNumber>34101234</exampleNumber>
9390 <!-- ITU document says numbers with prefix 8 are "value-added services and free numbers
9391 without making any further distinction. However, http://www.numberingplans.com/ seems
9392 to suggest they are free. -->
9393 <nationalNumberPattern>8\d{7}</nationalNumberPattern>
9394 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9395 <exampleNumber>80012345</exampleNumber>
9398 <!-- ITU document suggests 98\d{6}, but http://www.numberingplans.com/ restricts it to
9400 <nationalNumberPattern>98[89]\d{5}</nationalNumberPattern>
9401 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9402 <exampleNumber>98901234</exampleNumber>
9407 <territory id="HU" countryCode="36" internationalPrefix="00"
9408 nationalPrefix="06" nationalPrefixFormattingRule="($FG)"
9409 mobileNumberPortableRegion="true">
9411 <sourceUrl>http://www.itu.int/oth/T0202000061/en</sourceUrl>
9413 <!-- Although the national prefix is necessary for dialling, the preferred format (confirmed
9414 by a Hungarian person and following the yellow pages) is to omit this when formatting.
9415 Yellow pages: http://www.aranyoldalak.hu -->
9417 <numberFormat pattern="(1)(\d{3})(\d{4})">
9418 <leadingDigits>1</leadingDigits>
9419 <format>$1 $2 $3</format>
9421 <numberFormat pattern="(\d{2})(\d{3})(\d{3,4})">
9422 <leadingDigits>[2-9]</leadingDigits>
9423 <format>$1 $2 $3</format>
9427 <nationalNumberPattern>[1-9]\d{7,8}</nationalNumberPattern>
9428 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
9430 <noInternationalDialling>
9431 <nationalNumberPattern>[48]0\d{6}</nationalNumberPattern>
9432 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9433 <exampleNumber>80123456</exampleNumber>
9434 </noInternationalDialling>
9436 <!-- Includes numbers for corporate networks. Note the ITU numbering plan contains a M2M
9437 number in the form of 71\d{10}, which doesn't seem to agree with evidence online. We
9438 keep it as 71\d{7} like before. -->
9439 <nationalNumberPattern>
9460 </nationalNumberPattern>
9461 <exampleNumber>12345678</exampleNumber>
9464 <nationalNumberPattern>
9469 </nationalNumberPattern>
9470 <possibleNumberPattern>\d{9}</possibleNumberPattern>
9471 <exampleNumber>201234567</exampleNumber>
9474 <nationalNumberPattern>80\d{6}</nationalNumberPattern>
9475 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9476 <exampleNumber>80123456</exampleNumber>
9479 <nationalNumberPattern>9[01]\d{6}</nationalNumberPattern>
9480 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9481 <exampleNumber>90123456</exampleNumber>
9484 <nationalNumberPattern>40\d{6}</nationalNumberPattern>
9485 <possibleNumberPattern>\d{8}</possibleNumberPattern>
9486 <exampleNumber>40123456</exampleNumber>
9491 <territory id="ID" countryCode="62" internationalPrefix="0(?:0[1789]|10(?:00|1[67]))"
9492 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
9494 <!-- From 2001, very out of date. -->
9495 <sourceUrl>http://www.itu.int/oth/T0202000064/en</sourceUrl>
9496 <sourceUrl>http://en.wikipedia.org/wiki/%2B62</sourceUrl>
9499 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
9500 pattern="(\d{2})(\d{5,8})">
9505 <format>$1 $2</format>
9507 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
9508 pattern="(\d{3})(\d{5,8})">
9514 <format>$1 $2</format>
9516 <numberFormat pattern="(8\d{2})(\d{3,4})(\d{3,4})">
9517 <leadingDigits>8[1-35-9]</leadingDigits>
9518 <format>$1-$2-$3</format>
9520 <numberFormat pattern="(177)(\d{6,8})">
9521 <leadingDigits>1</leadingDigits>
9522 <format>$1 $2</format>
9524 <!-- http://en.wikipedia.org/wiki/Toll-free_telephone_number, and examples on the web show
9525 that sometimes they are followed by less digits. -->
9526 <numberFormat pattern="(800)(\d{5,7})">
9527 <leadingDigits>800</leadingDigits>
9528 <format>$1 $2</format>
9530 <numberFormat pattern="(80\d)(\d)(\d{3})(\d{3})">
9531 <leadingDigits>80[79]</leadingDigits>
9532 <format>$1 $2 $3 $4</format>
9536 <nationalNumberPattern>[1-9]\d{6,10}</nationalNumberPattern>
9537 <possibleNumberPattern>\d{5,11}</possibleNumberPattern>
9540 <!-- Area codes taken from wikipedia, with missing ones added from
9541 http://www.telkom.co.id/customer-services/area-and-country-code/?type=area.
9542 We also added 0770 after user feedback because it seems to be used on Bintan island.
9543 Where known, fixed mobile prefixes have been represented as Mobile. -->
9544 <!-- Very short (5/6 digit) local numbers in Jakarta seem to be special cases for various
9545 well known companies (Mc Donalds, KFC etc...). Some of these are listed in:
9546 http://cms.binus.edu/datapage/file/io/Spring2014SE/International_Student_Handbook_BINUS.pdf
9547 There seem to be numbers of this length for area code 22 as well based on numbers found
9549 <nationalNumberPattern>
9619 </nationalNumberPattern>
9620 <possibleNumberPattern>\d{5,11}</possibleNumberPattern>
9621 <exampleNumber>612345678</exampleNumber>
9624 <!-- It is unclear exactly which prefixes could be mobile phones, based on the information
9625 on the wikipedia page. However, Bakrie have provided a list of their prefixes, which
9626 are captured below. The pattern covers the area code plus the first one-two digits of
9627 the subscriber number. -->
9628 <nationalNumberPattern>
9704 </nationalNumberPattern>
9705 <possibleNumberPattern>\d{9,11}</possibleNumberPattern>
9706 <exampleNumber>812345678</exampleNumber>
9709 <nationalNumberPattern>
9712 </nationalNumberPattern>
9713 <possibleNumberPattern>\d{8,11}</possibleNumberPattern>
9714 <exampleNumber>8001234567</exampleNumber>
9717 <nationalNumberPattern>8071\d{6}</nationalNumberPattern>
9718 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9719 <exampleNumber>8071123456</exampleNumber>
9721 <noInternationalDialling>
9722 <nationalNumberPattern>8071\d{6}</nationalNumberPattern>
9723 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9724 <exampleNumber>8071123456</exampleNumber>
9725 </noInternationalDialling>
9726 <!-- The information below is provided by an Indonesian -->
9728 <nationalNumberPattern>809\d{7}</nationalNumberPattern>
9729 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9730 <exampleNumber>8091234567</exampleNumber>
9735 <territory id="IE" countryCode="353" internationalPrefix="00"
9736 nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)"
9737 mobileNumberPortableRegion="true">
9739 <sourceUrl>http://www.comreg.ie/licensing_and_services/numbering_plan_for_ireland.552.440.html</sourceUrl>
9740 <sourceUrl>http://www.comreg.ie/_fileupload/publications/ComReg1119.pdf</sourceUrl>
9743 <numberFormat pattern="(1)(\d{3,4})(\d{4})">
9744 <leadingDigits>1</leadingDigits>
9745 <format>$1 $2 $3</format>
9747 <numberFormat pattern="(\d{2})(\d{5})">
9755 <format>$1 $2</format>
9757 <numberFormat pattern="(\d{3})(\d{5})">
9762 <format>$1 $2</format>
9764 <numberFormat pattern="(48)(\d{4})(\d{4})">
9765 <leadingDigits>48</leadingDigits>
9766 <format>$1 $2 $3</format>
9768 <numberFormat pattern="(818)(\d{3})(\d{3})">
9769 <leadingDigits>81</leadingDigits>
9770 <format>$1 $2 $3</format>
9772 <numberFormat pattern="(\d{2})(\d{3})(\d{3,4})">
9777 <format>$1 $2 $3</format>
9779 <numberFormat nationalPrefixFormattingRule="$NP$FG"
9780 pattern="([78]\d)(\d{3,4})(\d{4})">
9785 <format>$1 $2 $3</format>
9787 <numberFormat nationalPrefixFormattingRule="$NP$FG"
9788 pattern="(700)(\d{3})(\d{3})">
9789 <leadingDigits>70</leadingDigits>
9790 <format>$1 $2 $3</format>
9792 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{3})(\d{3})">
9805 <format>$1 $2 $3</format>
9809 <nationalNumberPattern>[124-9]\d{6,9}</nationalNumberPattern>
9810 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
9812 <noInternationalDialling>
9813 <nationalNumberPattern>18[59]0\d{6}</nationalNumberPattern>
9814 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9815 <exampleNumber>1850123456</exampleNumber>
9816 </noInternationalDialling>
9818 <!-- We allow 6-7 digit subscriber numbers for the 021 area code since that seems to be
9819 reflected by the numbers in the Yellow Pages. Another peculiarity is that 048 actually
9820 replaces 00 44 28 when Irish people dial, allowing them to easily dial Northern
9821 Ireland. We support these numbers here, although technically they are numbers for the
9823 <nationalNumberPattern>
9854 </nationalNumberPattern>
9855 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
9856 <exampleNumber>2212345</exampleNumber>
9859 <nationalNumberPattern>
9864 </nationalNumberPattern>
9865 <possibleNumberPattern>\d{9}</possibleNumberPattern>
9866 <exampleNumber>850123456</exampleNumber>
9869 <nationalNumberPattern>1800\d{6}</nationalNumberPattern>
9870 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9871 <exampleNumber>1800123456</exampleNumber>
9874 <nationalNumberPattern>
9880 </nationalNumberPattern>
9881 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9882 <exampleNumber>1520123456</exampleNumber>
9885 <nationalNumberPattern>18[59]0\d{6}</nationalNumberPattern>
9886 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9887 <exampleNumber>1850123456</exampleNumber>
9890 <nationalNumberPattern>700\d{6}</nationalNumberPattern>
9891 <possibleNumberPattern>\d{9}</possibleNumberPattern>
9892 <exampleNumber>700123456</exampleNumber>
9895 <nationalNumberPattern>76\d{7}</nationalNumberPattern>
9896 <possibleNumberPattern>\d{9}</possibleNumberPattern>
9897 <exampleNumber>761234567</exampleNumber>
9900 <nationalNumberPattern>818\d{6}</nationalNumberPattern>
9901 <possibleNumberPattern>\d{9}</possibleNumberPattern>
9902 <exampleNumber>818123456</exampleNumber>
9905 <nationalNumberPattern>8[35-9]\d{8}</nationalNumberPattern>
9906 <possibleNumberPattern>\d{10}</possibleNumberPattern>
9907 <exampleNumber>8501234567</exampleNumber>
9912 <!-- Formatting practice following wikipedia, and government sites. -->
9913 <territory id="IL" countryCode="972" internationalPrefix="0(?:0|1[2-9])"
9914 nationalPrefix="0" nationalPrefixFormattingRule="$FG"
9915 mobileNumberPortableRegion="true">
9917 <sourceUrl>http://www.itu.int/oth/T020200006A/en</sourceUrl>
9918 <sourceUrl>http://en.wikipedia.org/wiki/%2B972</sourceUrl>
9920 <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>
9923 <numberFormat nationalPrefixFormattingRule="$NP$FG"
9924 pattern="([2-489])(\d{3})(\d{4})">
9925 <leadingDigits>[2-489]</leadingDigits>
9926 <format>$1-$2-$3</format>
9928 <numberFormat nationalPrefixFormattingRule="$NP$FG"
9929 pattern="([57]\d)(\d{3})(\d{4})">
9930 <leadingDigits>[57]</leadingDigits>
9931 <format>$1-$2-$3</format>
9933 <numberFormat pattern="(1)([7-9]\d{2})(\d{3})(\d{3})">
9934 <leadingDigits>1[7-9]</leadingDigits>
9935 <format>$1-$2-$3-$4</format>
9937 <!-- The following number is for hospitals. -->
9938 <numberFormat pattern="(1255)(\d{3})">
9939 <leadingDigits>125</leadingDigits>
9940 <format>$1-$2</format>
9942 <numberFormat pattern="(1200)(\d{3})(\d{3})">
9943 <leadingDigits>120</leadingDigits>
9944 <format>$1-$2-$3</format>
9946 <numberFormat pattern="(1212)(\d{2})(\d{2})">
9947 <leadingDigits>121</leadingDigits>
9948 <format>$1-$2-$3</format>
9950 <!-- The following is for voicemail access. -->
9951 <numberFormat pattern="(1599)(\d{6})">
9952 <leadingDigits>15</leadingDigits>
9953 <format>$1-$2</format>
9955 <!-- These are 4-digit star numbers which are only accessible within Israel and must be
9956 dialed with a star in front of the number. -->
9957 <numberFormat pattern="(\d{4})">
9958 <leadingDigits>[2-689]</leadingDigits>
9959 <format>*$1</format>
9963 <nationalNumberPattern>
9965 [2-589]\d{3}(?:\d{3,6})?|
9967 </nationalNumberPattern>
9968 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
9970 <noInternationalDialling>
9971 <nationalNumberPattern>
9974 </nationalNumberPattern>
9975 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
9976 <exampleNumber>1700123456</exampleNumber>
9977 </noInternationalDialling>
9979 <nationalNumberPattern>[2-489]\d{7}</nationalNumberPattern>
9980 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
9981 <exampleNumber>21234567</exampleNumber>
9984 <!-- The ITU document has only some of these prefixes - wikipedia lists more. We are fairly
9985 sure wikipedia is accurate based on news coverage of the launch of these numbers. Also
9986 added 5570 and 5571 prefixes based on confirmation from the carrier. -->
9987 <nationalNumberPattern>
10002 </nationalNumberPattern>
10003 <possibleNumberPattern>\d{9}</possibleNumberPattern>
10004 <exampleNumber>501234567</exampleNumber>
10007 <!-- Online 1-809 numbers now classify themselves as "toll-free". -->
10008 <nationalNumberPattern>
10013 </nationalNumberPattern>
10014 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
10015 <exampleNumber>1800123456</exampleNumber>
10018 <!-- Peculiarly, one source states that 1956 and 1957 are the new premium rate prefixes.
10019 However, no online numbers starting with these prefixes can be found, and this data
10020 is not found in any other source. -->
10021 <!-- 1200 and 1212 numbers are for televoting. -->
10022 <nationalNumberPattern>
10033 </nationalNumberPattern>
10034 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
10035 <exampleNumber>1919123456</exampleNumber>
10038 <nationalNumberPattern>1700\d{6}</nationalNumberPattern>
10039 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10040 <exampleNumber>1700123456</exampleNumber>
10043 <!-- These rules are a union of the wikipedia and ITU document prefixes. They are mostly
10044 marked as VoIP on wikipedia, but it seems they may indeed be DID (Direct Inward
10045 Dialing) numbers, that most people forward to VoIP numbers. -->
10046 <nationalNumberPattern>
10063 </nationalNumberPattern>
10064 <possibleNumberPattern>\d{9}</possibleNumberPattern>
10065 <exampleNumber>771234567</exampleNumber>
10068 <!-- 4-digit star numbers and 1-599 numbers. The latter are actually labelled "interactive
10069 voicemail" in the ITU document, but according to reports from businesses in Israel and
10070 the Hebrew version of the wikipedia page, these are actually a router for business
10071 calls, and incur a normal call cost on account of the caller. -->
10072 <nationalNumberPattern>
10075 </nationalNumberPattern>
10076 <possibleNumberPattern>\d{4}(?:\d{6})?</possibleNumberPattern>
10077 <exampleNumber>1599123456</exampleNumber>
10081 <!-- Isle of Man -->
10082 <!-- Inherits formatting rules from the UK. -->
10083 <territory id="IM" countryCode="44" internationalPrefix="00"
10084 nationalPrefix="0" preferredExtnPrefix=" x" nationalPrefixFormattingRule="$NP$FG">
10086 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom</sourceUrl>
10089 <nationalNumberPattern>[135789]\d{6,9}</nationalNumberPattern>
10090 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
10093 <nationalNumberPattern>1624[2-9]\d{5}</nationalNumberPattern>
10094 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10095 <exampleNumber>1624250123</exampleNumber>
10096 </areaCodeOptional>
10097 <!-- Specific to IM. -->
10099 <!-- 1624 with 10 digits. -->
10100 <nationalNumberPattern>1624\d{6}</nationalNumberPattern>
10101 <exampleNumber>1624456789</exampleNumber>
10104 <!-- 7524, 7624, 7924 with 10 digits. -->
10105 <nationalNumberPattern>7[569]24\d{6}</nationalNumberPattern>
10106 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10107 <exampleNumber>7924123456</exampleNumber>
10110 <!-- 808 162 with 10 digits. -->
10111 <nationalNumberPattern>808162\d{4}</nationalNumberPattern>
10112 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10113 <exampleNumber>8081624567</exampleNumber>
10116 <!-- 872 299, 900 624, 901 624, 906 624, 907 624 with 10 digits. -->
10117 <nationalNumberPattern>
10122 </nationalNumberPattern>
10123 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10124 <exampleNumber>9016247890</exampleNumber>
10127 <!-- 844 040 6, 844 090 6, 845 624, 870 624 with 10 digits. -->
10128 <nationalNumberPattern>
10136 </nationalNumberPattern>
10137 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10138 <exampleNumber>8456247890</exampleNumber>
10140 <!-- Other numbers as per GB. -->
10142 <nationalNumberPattern>70\d{8}</nationalNumberPattern>
10143 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10144 <exampleNumber>7012345678</exampleNumber>
10147 <nationalNumberPattern>56\d{8}</nationalNumberPattern>
10148 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10149 <exampleNumber>5612345678</exampleNumber>
10152 <!-- 308 162, 33d, 344 040 6, 344 090 6, 345 624, 370 624, 372 299, 55 with 10 digits. -->
10153 <nationalNumberPattern>
10167 </nationalNumberPattern>
10168 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10169 <exampleNumber>5512345678</exampleNumber>
10174 <!-- Note that several changes in area codes have occurred since the numbering plan was released
10175 - fixed line changes are notified on the http://www.bsnl.co.in website. Area codes can be
10176 verified here at http://dq.ndc.bsnl.co.in/bsnl-web/stdSearch.seam. -->
10177 <territory id="IN" countryCode="91" internationalPrefix="00" nationalPrefix="0"
10178 nationalPrefixFormattingRule="$NP$FG" nationalPrefixOptionalWhenFormatting="true"
10179 mobileNumberPortableRegion="true">
10181 <sourceUrl>http://www.itu.int/oth/T0202000063/en</sourceUrl>
10182 <sourceUrl>http://en.wikipedia.org/wiki/%2B91</sourceUrl>
10183 <sourceUrl>http://www.coai.in/msccodes.php</sourceUrl>
10186 <!-- Mobile numbers. -->
10187 <numberFormat pattern="(\d{5})(\d{5})">
10295 <format>$1 $2</format>
10297 <!-- 2 digits area code -->
10298 <numberFormat pattern="(\d{2})(\d{4})(\d{4})">
10307 <format>$1 $2 $3</format>
10309 <!-- 3 digit area codes that don't clash with mobile patterns. -->
10310 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
10366 <format>$1 $2 $3</format>
10368 <!-- Three-digit area codes that potentially overlap with mobile. -->
10369 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
10395 <format>$1 $2 $3</format>
10397 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
10409 <format>$1 $2 $3</format>
10411 <!-- 4 digits area code -->
10412 <!-- Fallback for fixed-line numbers. -->
10413 <numberFormat pattern="(\d{4})(\d{3})(\d{3})">
10421 <format>$1 $2 $3</format>
10423 <numberFormat nationalPrefixFormattingRule="$FG"
10424 pattern="(1600)(\d{2})(\d{4})">
10425 <leadingDigits>160</leadingDigits>
10426 <leadingDigits>1600</leadingDigits>
10427 <format>$1 $2 $3</format>
10429 <numberFormat nationalPrefixFormattingRule="$FG"
10430 pattern="(1800)(\d{4,5})">
10431 <leadingDigits>180</leadingDigits>
10432 <leadingDigits>1800</leadingDigits>
10433 <format>$1 $2</format>
10435 <numberFormat nationalPrefixFormattingRule="$FG"
10436 pattern="(18[06]0)(\d{2,4})(\d{4})">
10437 <leadingDigits>18[06]</leadingDigits>
10438 <leadingDigits>18[06]0</leadingDigits>
10439 <format>$1 $2 $3</format>
10441 <numberFormat nationalPrefixFormattingRule="$FG"
10442 pattern="(140)(\d{3})(\d{4})">
10443 <leadingDigits>140</leadingDigits>
10444 <format>$1 $2 $3</format>
10446 <!-- Televoting numbers. Formatting information is from
10447 http://www.bsnl.co.in/service/telev.htm -->
10448 <numberFormat nationalPrefixFormattingRule="$FG"
10449 pattern="(\d{4})(\d{3})(\d{3})(\d{3})">
10450 <leadingDigits>18[06]</leadingDigits>
10457 <format>$1 $2 $3 $4</format>
10459 </availableFormats>
10461 <nationalNumberPattern>
10464 </nationalNumberPattern>
10465 <possibleNumberPattern>\d{6,13}</possibleNumberPattern>
10467 <noInternationalDialling>
10468 <nationalNumberPattern>
10482 </nationalNumberPattern>
10483 <possibleNumberPattern>\d{8,13}</possibleNumberPattern>
10484 <exampleNumber>1800123456</exampleNumber>
10485 </noInternationalDialling>
10487 <!-- This is a list of the 2 and 3 digit area codes and the first 3 digits of 4 digit area
10488 codes, so we can check the following digit belongs to one of the operator-codes (2-7).
10489 Operator codes are from wikipedia, with the addition of 5 (HFCL Infotel in some areas).
10490 Not all operator codes are available in all areas, but we don't maintain that
10492 Area codes starting with a 7 are listed separately, since the prefixes need to be more
10493 detailed so they clash less with mobile phone prefixes. -->
10494 <nationalNumberPattern>
10664 </nationalNumberPattern>
10665 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
10666 <exampleNumber>1123456789</exampleNumber>
10668 <!-- http://en.wikipedia.org/wiki/Mobile_telephone_numbering_in_India -->
10669 <!-- The document titled "List of MSC codes" linked off
10670 http://www.dot.gov.in/access-services/national-numbering-plan-2003 was helpful but last
10671 updated 2012 - more updates at http://www.dot.gov.in/access-services/allotment-msc-codes. -->
10673 <!-- A couple of additional prefixes found neither on the wikipedia page nor in the MSC
10674 codes list, are added because SMS messages have been successfully sent to these
10675 numbers. It seems almost impossible to know for some of these numbers whether they are
10676 land-line or mobile, since the ranges overlap. Extra prefixes added: 7601, 768[567],
10677 7695, 8299, 8309. New prefixes were also added based on the document provided from
10678 mobile carriers: https://github.com/googlei18n/libphonenumber/issues/260 -->
10679 <nationalNumberPattern>
10764 </nationalNumberPattern>
10765 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10766 <exampleNumber>9123456789</exampleNumber>
10769 <!-- Information gathered from sites such as
10770 http://www.surfindia.com/india-facts/toll-free-no.html and
10771 http://indmusings.blogspot.com/2008/09/free-help-line-numbersindia.html
10772 http://www.bsnl.co.in/service/telev.htm -->
10773 <nationalNumberPattern>
10781 </nationalNumberPattern>
10782 <possibleNumberPattern>\d{8,13}</possibleNumberPattern>
10783 <exampleNumber>1800123456</exampleNumber>
10786 <!-- Only televoting numbers are covered here for now. The 900 numbers are not covered
10787 because they overlap with mobile, and we haven't found any real numbers online. -->
10788 <nationalNumberPattern>186[12]\d{9}</nationalNumberPattern>
10789 <possibleNumberPattern>\d{13}</possibleNumberPattern>
10790 <exampleNumber>1861123456789</exampleNumber>
10793 <!-- While described as "universal numbers" in the numbering plan, evidence suggests
10794 that 1860 number are best described as shared cost. See "Call Local Service" in:
10795 http://www.tatadocomo.com/corporates/toll-free.aspx -->
10796 <nationalNumberPattern>1860\d{7}</nationalNumberPattern>
10797 <possibleNumberPattern>\d{11}</possibleNumberPattern>
10798 <exampleNumber>18603451234</exampleNumber>
10801 <!-- Telemarketing numbers: http://en.wikipedia.org/wiki/Telephone_numbers_in_India -->
10802 <nationalNumberPattern>140\d{7}</nationalNumberPattern>
10803 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10804 <exampleNumber>1409305260</exampleNumber>
10808 <!-- British Indian Ocean Territory / Diego Garcia -->
10809 <territory id="IO" countryCode="246" internationalPrefix="00">
10811 <sourceUrl>http://www.itu.int/oth/T0202000039/en</sourceUrl>
10814 <numberFormat pattern="(\d{3})(\d{4})">
10815 <format>$1 $2</format>
10817 </availableFormats>
10819 <nationalNumberPattern>3\d{6}</nationalNumberPattern>
10820 <possibleNumberPattern>\d{7}</possibleNumberPattern>
10823 <nationalNumberPattern>37\d{5}</nationalNumberPattern>
10824 <exampleNumber>3709100</exampleNumber>
10827 <nationalNumberPattern>38\d{5}</nationalNumberPattern>
10828 <exampleNumber>3801234</exampleNumber>
10833 <territory id="IQ" countryCode="964" internationalPrefix="00"
10834 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
10836 <sourceUrl>http://en.wikipedia.org/wiki/%2B964</sourceUrl>
10837 <sourceUrl>http://wtng.info/wtng-964-ik.html</sourceUrl>
10840 <numberFormat pattern="(1)(\d{3})(\d{4})">
10841 <leadingDigits>1</leadingDigits>
10842 <format>$1 $2 $3</format>
10844 <numberFormat pattern="([2-6]\d)(\d{3})(\d{3,4})">
10845 <leadingDigits>[2-6]</leadingDigits>
10846 <format>$1 $2 $3</format>
10848 <numberFormat pattern="(7\d{2})(\d{3})(\d{4})">
10849 <leadingDigits>7</leadingDigits>
10850 <format>$1 $2 $3</format>
10852 </availableFormats>
10854 <nationalNumberPattern>[1-7]\d{7,9}</nationalNumberPattern>
10855 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
10858 <nationalNumberPattern>
10867 </nationalNumberPattern>
10868 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
10869 <exampleNumber>12345678</exampleNumber>
10872 <nationalNumberPattern>7[3-9]\d{8}</nationalNumberPattern>
10873 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10874 <exampleNumber>7912345678</exampleNumber>
10876 <!-- No tollFree or premiumRate information can be found. -->
10879 <!-- Iran, Islamic Republic of -->
10880 <territory id="IR" countryCode="98" internationalPrefix="00"
10881 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
10883 <sourceUrl>http://en.wikipedia.org/wiki/%2B98</sourceUrl>
10884 <sourceUrl>http://www.itu.int/oth/T0202000066/en</sourceUrl>
10885 <sourceUrl>http://www.tct.ir/?siteid=1&pageid=195</sourceUrl>
10886 <sourceUrl>http://118.tct.ir/citycode.htm</sourceUrl>
10889 <!-- Formatting follows wikipedia. -->
10890 <numberFormat pattern="(21)(\d{3,5})">
10891 <leadingDigits>21</leadingDigits>
10892 <format>$1 $2</format>
10894 <numberFormat pattern="(\d{2})(\d{4})(\d{4})">
10895 <leadingDigits>[1-8]</leadingDigits>
10896 <format>$1 $2 $3</format>
10898 <numberFormat pattern="(\d{3})(\d{3})(\d{3,4})">
10899 <leadingDigits>9</leadingDigits>
10900 <format>$1 $2 $3</format>
10902 <numberFormat pattern="(\d{3})(\d{2})(\d{2,3})">
10903 <leadingDigits>9</leadingDigits>
10904 <format>$1 $2 $3</format>
10906 <numberFormat pattern="(\d{3})(\d{3})">
10907 <leadingDigits>9</leadingDigits>
10908 <format>$1 $2</format>
10910 </availableFormats>
10912 <nationalNumberPattern>
10918 </nationalNumberPattern>
10919 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
10922 <!-- In Summer 2014 Iran unified all fixed phone numbers in the following way:
10923 Each province is assigned a two digit prefix (except for North Khorasan which has 3).
10924 Within each province, all numbers are exactly eight digits. The expression below is
10925 organized by province. For each province we accept all eight-digit combinations.
10939 38 Chahar Mahaal and Bakhtiari
10944 54 Sistan and Baluchestan
10946 57 North Khorasan (Extras)
10949 64 North Khorasan (Extras)
10952 74 Kohgiluyeh and Boyer-Ahmad
10961 <nationalNumberPattern>
10972 </nationalNumberPattern>
10973 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10974 <exampleNumber>2123456789</exampleNumber>
10977 <nationalNumberPattern>
10982 </nationalNumberPattern>
10983 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10984 <exampleNumber>9123456789</exampleNumber>
10987 <nationalNumberPattern>943\d{7}</nationalNumberPattern>
10988 <possibleNumberPattern>\d{10}</possibleNumberPattern>
10989 <exampleNumber>9432123456</exampleNumber>
10991 <!-- No tollFree or premiumRate information can be found. -->
10993 <!-- Includes VSAT and Boomehen Satellite numbers. -->
10994 <nationalNumberPattern>
10999 </nationalNumberPattern>
11000 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11001 <exampleNumber>9932123456</exampleNumber>
11004 <!-- MCI Public Relations numbers -->
11005 <nationalNumberPattern>9990\d{0,6}</nationalNumberPattern>
11006 <exampleNumber>9990123456</exampleNumber>
11011 <territory id="IS" countryCode="354" internationalPrefix="00" mobileNumberPortableRegion="true">
11013 <sourceUrl>http://www.pta.is/default.aspx?cat_id=85</sourceUrl>
11014 <sourceUrl>http://www.pfs.is/default.aspx?cat_id=14&module_id=210&element_id=4</sourceUrl>
11017 <numberFormat pattern="(\d{3})(\d{4})">
11018 <leadingDigits>[4-9]</leadingDigits>
11019 <format>$1 $2</format>
11021 <numberFormat pattern="(3\d{2})(\d{3})(\d{3})">
11022 <leadingDigits>3</leadingDigits>
11023 <format>$1 $2 $3</format>
11025 </availableFormats>
11027 <nationalNumberPattern>
11030 </nationalNumberPattern>
11031 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
11034 <!-- Including 87[23] XXXX here as it is listed as a fax number. -->
11035 <nationalNumberPattern>
11058 </nationalNumberPattern>
11059 <possibleNumberPattern>\d{7}</possibleNumberPattern>
11060 <exampleNumber>4101234</exampleNumber>
11063 <!-- TETRA = TErrestrial Trunked RAdio is included under mobile. -->
11064 <nationalNumberPattern>
11087 </nationalNumberPattern>
11088 <exampleNumber>6111234</exampleNumber>
11091 <!-- The UIFN numbers mentioned in the Excel document are not yet included since no real
11092 numbers can be found online, and it is not clear what these are; the standard
11093 definition would have them under the +800 country code instead of Iceland. -->
11094 <nationalNumberPattern>800\d{4}</nationalNumberPattern>
11095 <possibleNumberPattern>\d{7}</possibleNumberPattern>
11096 <exampleNumber>8001234</exampleNumber>
11099 <nationalNumberPattern>90\d{5}</nationalNumberPattern>
11100 <possibleNumberPattern>\d{7}</possibleNumberPattern>
11101 <exampleNumber>9011234</exampleNumber>
11104 <nationalNumberPattern>49\d{5}</nationalNumberPattern>
11105 <possibleNumberPattern>\d{7}</possibleNumberPattern>
11106 <exampleNumber>4921234</exampleNumber>
11109 <nationalNumberPattern>
11119 </nationalNumberPattern>
11120 <possibleNumberPattern>\d{7}</possibleNumberPattern>
11121 <exampleNumber>6201234</exampleNumber>
11126 <territory id="IT" countryCode="39" internationalPrefix="00" leadingZeroPossible="true"
11127 mobileNumberPortableRegion="true">
11129 <sourceUrl>http://en.wikipedia.org/wiki/%2B39</sourceUrl>
11132 <!-- The leading zero for fixed numbers will be prepended before the matching of these
11133 regular expressions. -->
11134 <numberFormat pattern="(\d{2})(\d{3,4})(\d{4})">
11139 <format>$1 $2 $3</format>
11141 <numberFormat pattern="(0[26])(\d{4})(\d{5})">
11142 <leadingDigits>0[26]</leadingDigits>
11143 <format>$1 $2 $3</format>
11145 <numberFormat pattern="(0[26])(\d{4,6})">
11146 <leadingDigits>0[26]</leadingDigits>
11147 <format>$1 $2</format>
11149 <numberFormat pattern="(0\d{2})(\d{3,4})(\d{4})">
11150 <leadingDigits>0[13-57-9][0159]</leadingDigits>
11151 <format>$1 $2 $3</format>
11153 <numberFormat pattern="(\d{3})(\d{3,6})">
11173 <format>$1 $2</format>
11175 <numberFormat pattern="(0\d{3})(\d{3})(\d{4})">
11176 <leadingDigits>0[13-57-9][2-46-8]</leadingDigits>
11177 <format>$1 $2 $3</format>
11179 <numberFormat pattern="(0\d{3})(\d{2,6})">
11180 <leadingDigits>0[13-57-9][2-46-8]</leadingDigits>
11181 <format>$1 $2</format>
11183 <numberFormat pattern="(\d{3})(\d{3})(\d{3,4})">
11203 <format>$1 $2 $3</format>
11205 <numberFormat pattern="(\d{4})(\d{4})">
11206 <leadingDigits>894</leadingDigits>
11207 <leadingDigits>894[5-9]</leadingDigits>
11208 <format>$1 $2</format>
11210 <numberFormat pattern="(\d{3})(\d{4})(\d{4})">
11211 <leadingDigits>3</leadingDigits>
11212 <format>$1 $2 $3</format>
11214 </availableFormats>
11216 <nationalNumberPattern>
11222 </nationalNumberPattern>
11223 <possibleNumberPattern>\d{6,11}</possibleNumberPattern>
11225 <noInternationalDialling>
11226 <nationalNumberPattern>848\d{6}</nationalNumberPattern>
11227 <possibleNumberPattern>\d{9}</possibleNumberPattern>
11228 <exampleNumber>848123456</exampleNumber>
11229 </noInternationalDialling>
11231 <!-- Maximum lengths in the ITU document are 10, but it states above that for numbers
11232 starting with 01, the maximum length is in fact 11. In fact, online, numbers can be
11233 found with other prefixes that are 11 digits long as well, so we allow it for all the
11234 three and four digit area codes. -->
11235 <nationalNumberPattern>
11296 </nationalNumberPattern>
11297 <possibleNumberPattern>\d{6,11}</possibleNumberPattern>
11298 <exampleNumber>0212345678</exampleNumber>
11301 <!-- According to wikipedia, TIM mobile numbers can be 9 digits long, but all others are 10
11302 digits long. However, a user reported the existence of new 11 digit long numbers for
11303 TIM with the prefix 33X, so this is supported also. -->
11304 <nationalNumberPattern>
11310 </nationalNumberPattern>
11311 <possibleNumberPattern>\d{9,11}</possibleNumberPattern>
11312 <exampleNumber>3123456789</exampleNumber>
11315 <nationalNumberPattern>
11320 </nationalNumberPattern>
11321 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
11322 <exampleNumber>800123456</exampleNumber>
11325 <!-- Adding 0878 numbers, as per
11326 http://www.aduc.it/notizia/polizia+mette+allerta+sul+numero+0878_73136.php. Other
11327 premium prefixes are mentioned here:
11328 http://www.dirittodellinformatica.it/news/telefonia/agcom-blocco-permanente-prefissi-144-166-892-899-20080520241.html -->
11329 <nationalNumberPattern>
11347 </nationalNumberPattern>
11348 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
11349 <exampleNumber>899123456</exampleNumber>
11352 <nationalNumberPattern>
11357 </nationalNumberPattern>
11358 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
11359 <exampleNumber>848123456</exampleNumber>
11362 <nationalNumberPattern>
11367 </nationalNumberPattern>
11368 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
11369 <exampleNumber>1781234567</exampleNumber>
11372 <nationalNumberPattern>55\d{8}</nationalNumberPattern>
11373 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11374 <exampleNumber>5512345678</exampleNumber>
11379 <!-- Inherits formatting rules from the UK. -->
11380 <territory id="JE" countryCode="44" internationalPrefix="00"
11381 nationalPrefix="0" preferredExtnPrefix=" x" nationalPrefixFormattingRule="$NP$FG">
11383 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_the_United_Kingdom</sourceUrl>
11384 <sourceUrl>http://www.jcra.je/cms3/v2/public/cmsChild.asp?pageID=1024&childID=1036</sourceUrl>
11387 <nationalNumberPattern>[135789]\d{6,9}</nationalNumberPattern>
11388 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
11391 <nationalNumberPattern>1534[2-9]\d{5}</nationalNumberPattern>
11392 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11393 <exampleNumber>1534250123</exampleNumber>
11394 </areaCodeOptional>
11395 <!-- Specific to JE. -->
11397 <!-- 1534 with 10 digits. -->
11398 <nationalNumberPattern>1534\d{6}</nationalNumberPattern>
11399 <exampleNumber>1534456789</exampleNumber>
11402 <!-- 7509, 7700, 7797, 7829, 7937 with 10 digits. -->
11403 <nationalNumberPattern>
11413 </nationalNumberPattern>
11414 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11415 <exampleNumber>7797123456</exampleNumber>
11418 <!-- Pager numbers as per GB. -->
11419 <nationalNumberPattern>
11430 </nationalNumberPattern>
11431 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11432 <exampleNumber>7640123456</exampleNumber>
11434 <!-- Specific to JE. -->
11436 <!-- 800 735, 800 781, 808 901 with 10 digits. -->
11437 <nationalNumberPattern>
11445 </nationalNumberPattern>
11446 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11447 <exampleNumber>8007354567</exampleNumber>
11450 <!-- 871 206, 900 665, 900 669, 901 810, 907 107, 907 155 with 10 digits. -->
11451 <nationalNumberPattern>
11463 </nationalNumberPattern>
11464 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11465 <exampleNumber>9018105678</exampleNumber>
11468 <!-- 844 405, 844 442, 844 469, 844 703, 845 041, 845 800, 870 002 with 10 digits. -->
11469 <nationalNumberPattern>
11487 </nationalNumberPattern>
11488 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11489 <exampleNumber>8447034567</exampleNumber>
11492 <!-- 70 1511 with 10 digits. -->
11493 <nationalNumberPattern>701511\d{4}</nationalNumberPattern>
11494 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11495 <exampleNumber>7015115678</exampleNumber>
11498 <!-- VoIP numbers as per GB. -->
11499 <nationalNumberPattern>56\d{8}</nationalNumberPattern>
11500 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11501 <exampleNumber>5612345678</exampleNumber>
11504 <!-- 300 735, 300 781, 308 901, 33d, 344 405, 344 442, 344 469, 344 703, 345 041, 345 800,
11505 370 002, 371 206, 55 with 10 digits. -->
11506 <nationalNumberPattern>
11536 </nationalNumberPattern>
11537 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11538 <exampleNumber>5512345678</exampleNumber>
11543 <territory id="JM" countryCode="1" leadingDigits="876" nationalPrefix="1"
11544 internationalPrefix="011">
11546 <sourceUrl>http://www.itu.int/oth/T020200006C/en</sourceUrl>
11549 <!-- NANPA country - uses US formatting rules -->
11550 <nationalNumberPattern>[589]\d{9}</nationalNumberPattern>
11551 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
11554 <!-- Numbers have been found online for ranges 62x,63x, 656, 66[2-589]. -->
11555 <nationalNumberPattern>
11587 </nationalNumberPattern>
11588 <exampleNumber>8765123456</exampleNumber>
11591 <!-- Adding 27, 28, 299, 31, 508, 527 and 566 as extra prefixes, as they have been found to
11592 be valid by sending SMSs and looking at online number lookup sites. Also added 50[3-79]
11593 as we have found information online that the 50[3-9] range has been assigned to Digicel.
11595 Numbers have been found online for the following ranges 26x, 29x, 53x, 54x, 55x, 56x.
11596 Most have mobile numbers online so we have put them under mobile but is possible
11597 they are a mixture of fixed line and mobile. -->
11598 <nationalNumberPattern>
11619 </nationalNumberPattern>
11620 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11621 <exampleNumber>8762101234</exampleNumber>
11624 <nationalNumberPattern>
11633 </nationalNumberPattern>
11634 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11635 <exampleNumber>8002123456</exampleNumber>
11638 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
11639 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11640 <exampleNumber>9002123456</exampleNumber>
11643 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
11644 <nationalNumberPattern>
11652 </nationalNumberPattern>
11653 <possibleNumberPattern>\d{10}</possibleNumberPattern>
11654 <exampleNumber>5002345678</exampleNumber>
11659 <territory id="JO" countryCode="962" internationalPrefix="00"
11660 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
11661 mobileNumberPortableRegion="true">
11663 <sourceUrl>http://www.trc.gov.jo/images/stories/pdf/NNP_ver200[1].pdf?lang=english</sourceUrl>
11664 <sourceUrl>http://www.itu.int/oth/T020200006E/en</sourceUrl>
11665 <sourceUrl>http://en.wikipedia.org/wiki/%2B962</sourceUrl>
11668 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
11669 pattern="(\d)(\d{3})(\d{4})">
11674 <format>$1 $2 $3</format>
11676 <numberFormat pattern="(7)(\d{4})(\d{4})">
11677 <leadingDigits>7[457-9]</leadingDigits>
11678 <format>$1 $2 $3</format>
11680 <numberFormat pattern="(\d{3})(\d{5,6})">
11686 <format>$1 $2</format>
11688 </availableFormats>
11690 <nationalNumberPattern>[235-9]\d{7,8}</nationalNumberPattern>
11691 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
11694 <nationalNumberPattern>
11768 </nationalNumberPattern>
11769 <possibleNumberPattern>\d{8}</possibleNumberPattern>
11770 <exampleNumber>62001234</exampleNumber>
11773 <nationalNumberPattern>
11780 </nationalNumberPattern>
11781 <possibleNumberPattern>\d{9}</possibleNumberPattern>
11782 <exampleNumber>790123456</exampleNumber>
11785 <nationalNumberPattern>
11790 </nationalNumberPattern>
11791 <possibleNumberPattern>\d{9}</possibleNumberPattern>
11792 <exampleNumber>746612345</exampleNumber>
11795 <nationalNumberPattern>80\d{6}</nationalNumberPattern>
11796 <possibleNumberPattern>\d{8}</possibleNumberPattern>
11797 <exampleNumber>80012345</exampleNumber>
11800 <nationalNumberPattern>900\d{5}</nationalNumberPattern>
11801 <possibleNumberPattern>\d{8}</possibleNumberPattern>
11802 <exampleNumber>90012345</exampleNumber>
11805 <nationalNumberPattern>85\d{6}</nationalNumberPattern>
11806 <possibleNumberPattern>\d{8}</possibleNumberPattern>
11807 <exampleNumber>85012345</exampleNumber>
11810 <nationalNumberPattern>70\d{7}</nationalNumberPattern>
11811 <possibleNumberPattern>\d{9}</possibleNumberPattern>
11812 <exampleNumber>700123456</exampleNumber>
11815 <!-- These numbers are Location Independent Services / Fixed cost according to
11816 http://www.trc.gov.jo -->
11817 <nationalNumberPattern>
11822 </nationalNumberPattern>
11823 <possibleNumberPattern>\d{8}</possibleNumberPattern>
11824 <exampleNumber>88101234</exampleNumber>
11829 <territory id="JP" countryCode="81" internationalPrefix="010" nationalPrefix="0"
11830 nationalPrefixFormattingRule="$NP$FG" leadingZeroPossible="true"
11831 mobileNumberPortableRegion="true">
11833 <sourceUrl>http://www.soumu.go.jp/main_sosiki/joho_tsusin/top/tel_number/number_shitei.html</sourceUrl>
11834 <sourceUrl>http://www.numberingplans.com/?page=dialling&sub=areacodes&ac=JP</sourceUrl>
11837 <!-- Toll-free, premium-rate and UAN numbers -->
11838 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
11846 <format>$1-$2-$3</format>
11848 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
11849 <leadingDigits>800</leadingDigits>
11850 <format>$1-$2-$3</format>
11852 <!-- National-only toll-free numbers (0037, 0066, 0077 and 0088). -->
11853 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{4})">
11854 <leadingDigits>0077</leadingDigits>
11855 <format>$1-$2</format>
11856 <intlFormat>NA</intlFormat>
11858 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{2})(\d{3,4})">
11859 <leadingDigits>0077</leadingDigits>
11860 <format>$1-$2-$3</format>
11861 <intlFormat>NA</intlFormat>
11863 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{2})(\d{4})">
11864 <leadingDigits>0088</leadingDigits>
11865 <format>$1-$2-$3</format>
11866 <intlFormat>NA</intlFormat>
11868 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{3})(\d{3,4})">
11875 <format>$1-$2-$3</format>
11876 <intlFormat>NA</intlFormat>
11878 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{4})(\d{4,5})">
11885 <format>$1-$2-$3</format>
11886 <intlFormat>NA</intlFormat>
11888 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{5})(\d{5,6})">
11895 <format>$1-$2-$3</format>
11896 <intlFormat>NA</intlFormat>
11898 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(\d{4})(\d{6})(\d{6,7})">
11905 <format>$1-$2-$3</format>
11906 <intlFormat>NA</intlFormat>
11908 <!-- Some leading digits are explicitly reserved for a particular purpose.
11909 We handle them first in this rule, and let the following rules ignore those exceptions.
11910 Note: The rule here is not in the files we rely on when creating the other rules.
11911 We would need to manually modify it if the Japanese goverment
11912 decided to change the rule.
11917 "70": PHS (Personal Handy-phone System, which has been used in Japan
11918 with Non-3G, Japanese-specific protocol).
11919 See also http://ja.wikipedia.org/wiki/PHS (Japanese)
11920 "80" and "90": Mobile phone
11922 <numberFormat pattern="(\d{2})(\d{4})(\d{4})">
11927 <format>$1-$2-$3</format>
11929 <!-- The order of the reg-exps are important.
11930 Examples (not all):
11931 - "15": 15420 -> 154-20, 15472 -> 1547-2, 15410 -> 15-410,
11932 - "22": 22200 -> 22-200, 22300 -> 22-300, 22320 -> 223-20, 22350 -> 22-350
11933 - "42": 42000 -> 4-2000, 42901 -> 4-2901, 42910 -> 42-910
11934 - "82": 82200 -> 82-200, 82020 -> 820-20, 82400 -> 82-400
11935 - "99": 99400 -> 99-400, 99430 -> 994-30, 99692 -> 9969-2, 99750 -> 997-50
11936 - "993": 99330 -> 993-30, 99331 -> 99-331, 99332 -> 993-32
11938 <numberFormat pattern="(\d{4})(\d)(\d{4})">
12059 <format>$1-$2-$3</format>
12061 <numberFormat pattern="(\d{3})(\d{2})(\d{4})">
12526 <format>$1-$2-$3</format>
12528 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
12641 <format>$1-$2-$3</format>
12643 <numberFormat pattern="(\d{3})(\d{2})(\d{4})">
12654 <format>$1-$2-$3</format>
12656 <numberFormat pattern="(\d)(\d{4})(\d{4})">
12665 <format>$1-$2-$3</format>
12667 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
12668 <leadingDigits>[2479][1-9]</leadingDigits>
12669 <format>$1-$2-$3</format>
12671 </availableFormats>
12673 <nationalNumberPattern>
12680 </nationalNumberPattern>
12681 <possibleNumberPattern>\d{8,17}</possibleNumberPattern>
12683 <noInternationalDialling>
12684 <!-- Toll-free numbers with a leading "00" cannot be dialled internationally. -->
12685 <nationalNumberPattern>
12696 </nationalNumberPattern>
12697 <exampleNumber>00777012</exampleNumber>
12698 </noInternationalDialling>
12700 <nationalNumberPattern>
12741 </nationalNumberPattern>
12742 <possibleNumberPattern>\d{9}</possibleNumberPattern>
12743 <exampleNumber>312345678</exampleNumber>
12746 <nationalNumberPattern>[7-9]0[1-9]\d{7}</nationalNumberPattern>
12747 <possibleNumberPattern>\d{10}</possibleNumberPattern>
12748 <exampleNumber>7012345678</exampleNumber>
12751 <nationalNumberPattern>20\d{8}</nationalNumberPattern>
12752 <possibleNumberPattern>\d{10}</possibleNumberPattern>
12753 <exampleNumber>2012345678</exampleNumber>
12756 <!-- http://www.kddi.com/english/business/free_call_dx/number.html and
12757 http://tm.softbank.jp/english/business/phone_service/freecall_sp/index.html
12758 http://eonet.jp/home/denwa/service/access.html
12759 http://ci.fusioncom.co.jp/feature/
12760 http://www.auhikari.jp/service/tel/connection/index.html -->
12761 <!-- Note that in fact, the number length for 0037 and 0066 numbers should extend to 21
12762 digits, confirmed with Yahoo JP. However, this extends well beyond the maximum number
12763 length allowed by ITU and hence our library, so we only allow numbers up to 17 digits
12764 for now (including both leading 00s). -->
12765 <nationalNumberPattern>
12778 </nationalNumberPattern>
12779 <exampleNumber>120123456</exampleNumber>
12782 <nationalNumberPattern>990\d{6}</nationalNumberPattern>
12783 <possibleNumberPattern>\d{9}</possibleNumberPattern>
12784 <exampleNumber>990123456</exampleNumber>
12787 <nationalNumberPattern>60\d{7}</nationalNumberPattern>
12788 <possibleNumberPattern>\d{9}</possibleNumberPattern>
12789 <exampleNumber>601234567</exampleNumber>
12792 <nationalNumberPattern>50[1-9]\d{7}</nationalNumberPattern>
12793 <possibleNumberPattern>\d{10}</possibleNumberPattern>
12794 <exampleNumber>5012345678</exampleNumber>
12796 <!-- Storing "unified number service" as UAN. -->
12798 <nationalNumberPattern>570\d{6}</nationalNumberPattern>
12799 <possibleNumberPattern>\d{9}</possibleNumberPattern>
12800 <exampleNumber>570123456</exampleNumber>
12805 <territory id="KE" countryCode="254" internationalPrefix="000"
12806 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
12807 mobileNumberPortableRegion="true">
12809 <sourceUrl>http://www.cck.go.ke/licensing/numbering/plan.html</sourceUrl>
12810 <sourceUrl>http://en.wikipedia.org/wiki/+254</sourceUrl>
12813 <numberFormat pattern="(\d{2})(\d{5,7})">
12814 <leadingDigits>[24-6]</leadingDigits>
12815 <format>$1 $2</format>
12817 <numberFormat pattern="(\d{3})(\d{6,7})">
12818 <leadingDigits>7</leadingDigits>
12819 <format>$1 $2</format>
12821 <numberFormat pattern="(\d{3})(\d{3})(\d{3,4})">
12822 <leadingDigits>[89]</leadingDigits>
12823 <format>$1 $2 $3</format>
12825 </availableFormats>
12827 <nationalNumberPattern>
12830 </nationalNumberPattern>
12831 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
12834 <!-- The prefixes 046, 050, 058, and 066 may appear online in less than 9 digits but
12835 calling them has confirmed these are outdated. However a 7-digit 068 number was
12836 dialed successfully so we consider these valid despite the plan. -->
12837 <nationalNumberPattern>
12851 </nationalNumberPattern>
12852 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
12853 <exampleNumber>202012345</exampleNumber>
12856 <nationalNumberPattern>
12863 </nationalNumberPattern>
12864 <possibleNumberPattern>\d{9}</possibleNumberPattern>
12865 <exampleNumber>712123456</exampleNumber>
12868 <!-- Longer numbers have been found than the plan suggests, so we support them here too. -->
12869 <!-- The plan suggests 0844 and 0845 may belong here, but these are short numbers rather
12871 http://www.telkomkenya.8k.com/Products/v/2.html
12872 http://www.kenya-advisor.com/phone-calls-kenya.html
12873 http://www.telkom.co.ke/index.php?option=com_content&view=article&id=64&Itemid=98 -->
12874 <nationalNumberPattern>800[24-8]\d{5,6}</nationalNumberPattern>
12875 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
12876 <exampleNumber>800223456</exampleNumber>
12879 <nationalNumberPattern>900[02-9]\d{5}</nationalNumberPattern>
12880 <possibleNumberPattern>\d{9}</possibleNumberPattern>
12881 <exampleNumber>900223456</exampleNumber>
12885 <!-- Kyrgyzstan -->
12886 <territory id="KG" countryCode="996" internationalPrefix="00"
12887 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
12889 <sourceUrl>http://www.itu.int/oth/T0202000074/en</sourceUrl>
12892 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
12897 <format>$1 $2 $3</format>
12899 <numberFormat pattern="(\d{4})(\d{5})">
12906 <format>$1 $2</format>
12908 <numberFormat pattern="(\d{3})(\d{3})(\d)(\d{3})">
12909 <leadingDigits>8</leadingDigits>
12910 <format>$1 $2 $3 $4</format>
12912 </availableFormats>
12914 <nationalNumberPattern>[235-8]\d{8,9}</nationalNumberPattern>
12915 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
12918 <!-- Extra area codes found on Web Search: 3147. -->
12919 <nationalNumberPattern>
12967 </nationalNumberPattern>
12968 <exampleNumber>312123456</exampleNumber>
12971 <nationalNumberPattern>
12977 </nationalNumberPattern>
12978 <possibleNumberPattern>\d{9}</possibleNumberPattern>
12979 <exampleNumber>700123456</exampleNumber>
12982 <!-- Add an extra digit to the number pattern since the only toll-free number found on Web
12983 Search contains 10 digits instead of the 9 digits specified in the ITU document. -->
12984 <nationalNumberPattern>800\d{6,7}</nationalNumberPattern>
12985 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
12986 <exampleNumber>800123456</exampleNumber>
12988 <!-- No premiumRate information can be found. -->
12989 <!-- http://www.iru-nelti.org/index/info-app/id.216 -->
12993 <territory id="KH" countryCode="855" internationalPrefix="00[14-9]"
12994 nationalPrefix="0">
12996 <sourceUrl>http://www.itu.int/oth/T0202000023/en</sourceUrl>
12997 <sourceUrl>http://en.wikipedia.org/wiki/+855</sourceUrl>
13000 <numberFormat pattern="(\d{2})(\d{3})(\d{3,4})" nationalPrefixFormattingRule="$NP$FG">
13005 <format>$1 $2 $3</format>
13007 <numberFormat pattern="(1[89]00)(\d{3})(\d{3})">
13008 <leadingDigits>1[89]0</leadingDigits>
13009 <format>$1 $2 $3</format>
13011 </availableFormats>
13013 <nationalNumberPattern>[1-9]\d{7,9}</nationalNumberPattern>
13014 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
13017 <!-- Allowing subscriber numbers beginning with 5 since Mobitel have informed us they have
13018 started issuing fixed-line numbers like this. Apparently, mobile-company-issued
13019 fixed-line numbers are one digit longer than government-issued numbers. Moreover, the
13020 range beginning with 6 seems to include some numbers that are one digit longer as well.
13021 Allowing 238\d{6} and 234[234]\d{4} based on information from Cambodia Yellow Pages.
13022 Note that numbers beginning with 234 are split across two patterns. -->
13023 <nationalNumberPattern>
13039 </nationalNumberPattern>
13040 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
13041 <exampleNumber>23756789</exampleNumber>
13044 <!-- SMART uses prefixes 01[056], 070, 08[167] and 09[368].
13046 Mobitel uses 01[1247].
13047 Cellcard uses 0857 and 061.
13048 Extra prefixes found online: 088, 097.
13049 Allowing 9-digit 12, 31, 38 and 76 numbers based on information from Cambodia Yellow
13050 Pages and online search. Allowing 71 based on open-source report and online search. -->
13051 <nationalNumberPattern>
13073 </nationalNumberPattern>
13074 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
13075 <exampleNumber>91234567</exampleNumber>
13078 <!-- Adding extra prefix 180021 used by tollfreetc.com.kh. -->
13079 <nationalNumberPattern>
13084 </nationalNumberPattern>
13085 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13086 <exampleNumber>1800123456</exampleNumber>
13089 <nationalNumberPattern>
13094 </nationalNumberPattern>
13095 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13096 <exampleNumber>1900123456</exampleNumber>
13101 <!-- We include the national prefix for parsing here just in case numbers can be dialled with a
13102 leading 0 - no numbers online have been found formatted this way, but the ITU document
13103 lists it as a national dialling prefix. -->
13104 <territory id="KI" countryCode="686" internationalPrefix="00"
13105 nationalPrefixForParsing="0">
13107 <sourceUrl>http://www.itu.int/oth/T0202000071/en</sourceUrl>
13109 <!-- Numbers should be formatted as a block." -->
13111 <nationalNumberPattern>
13115 </nationalNumberPattern>
13116 <possibleNumberPattern>\d{5,8}</possibleNumberPattern>
13119 <nationalNumberPattern>
13126 </nationalNumberPattern>
13127 <possibleNumberPattern>\d{5}</possibleNumberPattern>
13128 <exampleNumber>31234</exampleNumber>
13131 <!-- North Tarawa is listed as 720XXXXX-729XXXXX but considering that this deviates from the
13132 pattern followed by every other place, we are assuming 731XXXXX-732XXXXX for now. -->
13133 <nationalNumberPattern>
13139 </nationalNumberPattern>
13140 <possibleNumberPattern>\d{8}</possibleNumberPattern>
13141 <exampleNumber>72012345</exampleNumber>
13144 <!-- ITU refers to these as "Telemedia and audiotext". -->
13145 <nationalNumberPattern>3001\d{4}</nationalNumberPattern>
13146 <exampleNumber>30010000</exampleNumber>
13151 <territory id="KM" countryCode="269" internationalPrefix="00">
13153 <sourceUrl>http://www.itu.int/oth/T020200002D/en</sourceUrl>
13156 <numberFormat pattern="(\d{3})(\d{2})(\d{2})">
13157 <format>$1 $2 $3</format>
13159 </availableFormats>
13161 <nationalNumberPattern>[379]\d{6}</nationalNumberPattern>
13162 <possibleNumberPattern>\d{7}</possibleNumberPattern>
13165 <!-- CDMA phones are included here, as they are considered as an extension of fixed line:
13166 http://www.comorestelecom.km/presentationcdma.php -->
13167 <nationalNumberPattern>
13172 </nationalNumberPattern>
13173 <exampleNumber>7712345</exampleNumber>
13176 <nationalNumberPattern>3[234]\d{5}</nationalNumberPattern>
13177 <exampleNumber>3212345</exampleNumber>
13180 <!-- These are referred to as value-added services in the plan and no further information
13182 <nationalNumberPattern>
13187 </nationalNumberPattern>
13188 <exampleNumber>9001234</exampleNumber>
13192 <!-- Saint Kitts and Nevis -->
13193 <territory id="KN" countryCode="1" leadingDigits="869" nationalPrefix="1"
13194 internationalPrefix="011">
13196 <sourceUrl>http://www.itu.int/oth/T02020000B0/en</sourceUrl>
13199 <!-- NANPA country - uses US formatting rules -->
13200 <nationalNumberPattern>[589]\d{9}</nationalNumberPattern>
13201 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
13204 <!-- Adding the 869 302 prefix as it is used by Marriott Hotels, even though no other record
13205 of it can be found. -->
13206 <nationalNumberPattern>
13218 </nationalNumberPattern>
13219 <exampleNumber>8692361234</exampleNumber>
13222 <!-- Added some more prefixes in the 66 and 76 range from online numbers. -->
13223 <nationalNumberPattern>
13232 </nationalNumberPattern>
13233 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13234 <!-- Example number from the ITU document. -->
13235 <exampleNumber>8697652917</exampleNumber>
13238 <nationalNumberPattern>
13247 </nationalNumberPattern>
13248 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13249 <exampleNumber>8002123456</exampleNumber>
13252 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
13253 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13254 <exampleNumber>9002123456</exampleNumber>
13257 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
13258 <nationalNumberPattern>
13266 </nationalNumberPattern>
13267 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13268 <exampleNumber>5002345678</exampleNumber>
13272 <!-- Korea, Dem. People's Rep. of -->
13273 <territory id="KP" countryCode="850" internationalPrefix="00|99"
13274 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
13276 <sourceUrl>http://en.wikipedia.org/wiki/%2B850</sourceUrl>
13279 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
13280 <leadingDigits>1</leadingDigits>
13281 <format>$1 $2 $3</format>
13283 <numberFormat pattern="(\d)(\d{3})(\d{4})">
13284 <leadingDigits>2</leadingDigits>
13285 <format>$1 $2 $3</format>
13287 <numberFormat pattern="(\d{2})(\d{3})(\d{3})">
13288 <leadingDigits>8</leadingDigits>
13289 <format>$1 $2 $3</format>
13291 </availableFormats>
13293 <nationalNumberPattern>
13296 </nationalNumberPattern>
13297 <possibleNumberPattern>
13300 </possibleNumberPattern>
13302 <noInternationalDialling>
13303 <!-- For numbers starting with 2, only the 2381 range can be dialed internationally. -->
13304 <nationalNumberPattern>
13312 </nationalNumberPattern>
13313 <possibleNumberPattern>\d{8}</possibleNumberPattern>
13314 <exampleNumber>23821234</exampleNumber>
13315 </noInternationalDialling>
13317 <!-- Covers only numbers from Pyongyang and Rason Economic Special Zone. According to
13318 wikipedia, other ranges of phone numbers are top secret, unpublished, and not dialable
13319 from overseas. Also, there is conflicting information about the length of fixed-line
13320 numbers, so here we are following Wikipedia. -->
13321 <nationalNumberPattern>
13324 </nationalNumberPattern>
13325 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
13326 <exampleNumber>21234567</exampleNumber>
13329 <nationalNumberPattern>19[123]\d{7}</nationalNumberPattern>
13330 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13331 <exampleNumber>1921234567</exampleNumber>
13335 <!-- Korea (Rep. of) -->
13337 internationalPrefix
13338 0031, 0033, 0071, 0073 - Special services of KT and DACOM, ignorable
13340 1[4-6]XX-YYYY - Country-wide common number services, display as it is without hyphens -->
13341 <territory id="KR" countryCode="82" internationalPrefix="00(?:[124-68]|[37]\d{2})"
13342 nationalPrefix="0" nationalPrefixForParsing="0(8[1-46-8]|85\d{2})?"
13343 nationalPrefixFormattingRule="$NP$FG" carrierCodeFormattingRule="$NP$CC-$FG"
13344 mobileNumberPortableRegion="true">
13346 <sourceUrl>http://www.itu.int/oth/T0202000072/en</sourceUrl>
13347 <sourceUrl>http://en.wikipedia.org/wiki/%2B82</sourceUrl>
13348 <sourceUrl>http://www.kcc.go.kr/user.do?mode=view&page=P02030300&dc=K02030300&boardId=1074&boardSeq=2349</sourceUrl>
13349 <sourceUrl>http://www.kcc.go.kr/user.do?mode=view&page=P02030300&dc=K02030300&boardId=1074&boardSeq=2240</sourceUrl>
13350 <sourceUrl>http://www.telecentro.co.kr/sub/index.php?job=detail&ebcf_id=faq&page=1&mid=0503&eb_seq=36</sourceUrl>
13353 <numberFormat pattern="(\d{2})(\d{4})(\d{4})">
13376 <format>$1-$2-$3</format>
13378 <numberFormat pattern="(\d{2})(\d{3,4})(\d{4})">
13400 <format>$1-$2-$3</format>
13402 <numberFormat pattern="(\d{3})(\d)(\d{4})">
13403 <leadingDigits>131</leadingDigits>
13404 <leadingDigits>1312</leadingDigits>
13405 <format>$1-$2-$3</format>
13407 <numberFormat pattern="(\d{3})(\d{2})(\d{4})">
13408 <leadingDigits>131</leadingDigits>
13409 <leadingDigits>131[13-9]</leadingDigits>
13410 <format>$1-$2-$3</format>
13412 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
13413 <leadingDigits>13[2-9]</leadingDigits>
13414 <format>$1-$2-$3</format>
13416 <!-- 030 numbers are used for Unified Messaging Services, according to the plan. There is a
13417 limit of what digits may follow the 030, but we ignore that here. These numbers are
13418 actually not supported for validation purposes by the library at the moment as no
13419 online examples can be found, but we leave theme here so formatting continues to work
13420 if they are entered. -->
13421 <numberFormat pattern="(\d{2})(\d{2})(\d{3})(\d{4})">
13422 <leadingDigits>30</leadingDigits>
13423 <format>$1-$2-$3-$4</format>
13425 <numberFormat pattern="(\d)(\d{3,4})(\d{4})">
13426 <leadingDigits>2[1-9]</leadingDigits>
13427 <format>$1-$2-$3</format>
13429 <numberFormat pattern="(\d)(\d{3,4})">
13430 <leadingDigits>21[0-46-9]</leadingDigits>
13431 <format>$1-$2</format>
13433 <numberFormat pattern="(\d{2})(\d{3,4})">
13434 <leadingDigits>[3-6][1-9]1</leadingDigits>
13440 <format>$1-$2</format>
13442 <!-- Company numbers. -->
13443 <numberFormat pattern="(\d{4})(\d{4})"
13444 nationalPrefixFormattingRule="$FG">
13476 <format>$1-$2</format>
13478 </availableFormats>
13480 <nationalNumberPattern>
13483 </nationalNumberPattern>
13484 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
13487 <!-- We omit 049, supposedly for Kaesong Industrial Region, since real numbers can't be
13488 found, and it is in North Korea anyway. We support 7-8 digits long subscriber numbers
13489 starting with 1 based on evidence of real numbers found online. -->
13490 <nationalNumberPattern>
13500 </nationalNumberPattern>
13501 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
13502 <exampleNumber>22123456</exampleNumber>
13505 <nationalNumberPattern>1[0-26-9]\d{7,8}</nationalNumberPattern>
13506 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
13507 <exampleNumber>1000000000</exampleNumber>
13510 <nationalNumberPattern>15\d{7,8}</nationalNumberPattern>
13511 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
13512 <exampleNumber>1523456789</exampleNumber>
13515 <nationalNumberPattern>80\d{7}</nationalNumberPattern>
13516 <possibleNumberPattern>\d{9}</possibleNumberPattern>
13517 <exampleNumber>801234567</exampleNumber>
13519 <!-- The information below is provided by a Korean person. -->
13521 <nationalNumberPattern>60[2-9]\d{6}</nationalNumberPattern>
13522 <possibleNumberPattern>\d{9}</possibleNumberPattern>
13523 <exampleNumber>602345678</exampleNumber>
13526 <nationalNumberPattern>50\d{8}</nationalNumberPattern>
13527 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13528 <exampleNumber>5012345678</exampleNumber>
13531 <nationalNumberPattern>70\d{8}</nationalNumberPattern>
13532 <possibleNumberPattern>\d{10}</possibleNumberPattern>
13533 <exampleNumber>7012345678</exampleNumber>
13536 <!-- Prefix 18 added from numbers found online. -->
13537 <nationalNumberPattern>
13560 </nationalNumberPattern>
13561 <possibleNumberPattern>\d{8}</possibleNumberPattern>
13562 <exampleNumber>15441234</exampleNumber>
13567 <territory id="KW" countryCode="965" internationalPrefix="00" mobileNumberPortableRegion="true">
13569 <sourceUrl>http://www.itu.int/oth/T0202000073/en</sourceUrl>
13572 <!-- Format is from ITU. -->
13573 <numberFormat pattern="(\d{4})(\d{3,4})">
13578 <format>$1 $2</format>
13580 <numberFormat pattern="(\d{3})(\d{5})">
13585 <format>$1 $2</format>
13587 </availableFormats>
13589 <nationalNumberPattern>[12569]\d{6,7}</nationalNumberPattern>
13590 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
13593 <nationalNumberPattern>
13610 </nationalNumberPattern>
13611 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
13612 <exampleNumber>22345678</exampleNumber>
13615 <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/#/11193</sourceUrl>
14150 <sourceUrl>https://www.itu.int/oth/T020200007B/en</sourceUrl>
14153 <!-- Some different patterns for tollfree and shared cost numbers may be found by searching
14154 for "Mehrwertnummer" at http://www.telecom.li. -->
14155 <!-- Number format for National mobile services , Fixed line , Toll Free , uan and Premium rate services -->
14156 <numberFormat pattern="(\d{3})(\d{4})">
14157 <leadingDigits>[23789]</leadingDigits>
14158 <format>$1 $2</format>
14160 <!-- Number format for International mobile services -->
14161 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
14162 <leadingDigits>6[56]</leadingDigits>
14163 <format>$1 $2 $3</format>
14165 <!-- Number format for Voicemail services -->
14166 <numberFormat pattern="(69)(7\d{2})(\d{4})">
14167 <leadingDigits>697</leadingDigits>
14168 <format>$1 $2 $3</format>
14170 </availableFormats>
14172 <nationalNumberPattern>
14175 </nationalNumberPattern>
14176 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
14179 <nationalNumberPattern>
14194 </nationalNumberPattern>
14195 <possibleNumberPattern>\d{7}</possibleNumberPattern>
14196 <exampleNumber>2345678</exampleNumber>
14199 <nationalNumberPattern>
14213 </nationalNumberPattern>
14214 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
14215 <exampleNumber>660234567</exampleNumber>
14217 <!-- The prefix 809 seems to be used for AT&T and Verizon access lines from Liechtenstein,
14218 even though it doesn't appear in the plan. -->
14220 <nationalNumberPattern>
14225 </nationalNumberPattern>
14226 <possibleNumberPattern>\d{7}</possibleNumberPattern>
14227 <exampleNumber>8002222</exampleNumber>
14230 <nationalNumberPattern>
14239 </nationalNumberPattern>
14240 <possibleNumberPattern>\d{7}</possibleNumberPattern>
14241 <exampleNumber>9002222</exampleNumber>
14244 <nationalNumberPattern>
14249 </nationalNumberPattern>
14250 <possibleNumberPattern>\d{7}</possibleNumberPattern>
14251 <exampleNumber>8702812</exampleNumber>
14254 <nationalNumberPattern>
14260 </nationalNumberPattern>
14261 <possibleNumberPattern>\d{9}</possibleNumberPattern>
14262 <exampleNumber>697861234</exampleNumber>
14267 <territory id="LK" countryCode="94" internationalPrefix="00"
14268 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
14270 <sourceUrl>http://en.wikipedia.org/wiki/%2B94</sourceUrl>
14271 <sourceUrl>http://www.itu.int/oth/T02020000C3/en</sourceUrl>
14274 <numberFormat pattern="(\d{2})(\d{1})(\d{6})">
14275 <leadingDigits>[1-689]</leadingDigits>
14276 <format>$1 $2 $3</format>
14278 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
14279 <leadingDigits>7</leadingDigits>
14280 <format>$1 $2 $3</format>
14282 </availableFormats>
14284 <nationalNumberPattern>[1-9]\d{8}</nationalNumberPattern>
14285 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
14288 <nationalNumberPattern>
14297 </nationalNumberPattern>
14298 <exampleNumber>112345678</exampleNumber>
14301 <!-- Adding the prefix 76 for Dialog, based on information from open-source users. -->
14302 <!-- Adding Prefix 702 and 703 based on update from Mobitel which has verified these
14303 prefixes to be correct. -->
14304 <nationalNumberPattern>7[0125-8]\d{7}</nationalNumberPattern>
14305 <possibleNumberPattern>\d{9}</possibleNumberPattern>
14306 <exampleNumber>712345678</exampleNumber>
14311 <territory id="LR" countryCode="231" internationalPrefix="00"
14312 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
14314 <sourceUrl>http://www.itu.int/oth/T0202000079/en</sourceUrl>
14317 <!-- Formatting from Ministry of Agriculture,
14318 http://www.moa.gov.lr/content.php?sub=Email&?related=Contacts -->
14319 <numberFormat pattern="(2\d)(\d{3})(\d{3})">
14320 <leadingDigits>2</leadingDigits>
14321 <format>$1 $2 $3</format>
14323 <numberFormat pattern="([79]\d{2})(\d{3})(\d{3})">
14324 <leadingDigits>[79]</leadingDigits>
14325 <format>$1 $2 $3</format>
14327 <numberFormat pattern="([4-6])(\d{3})(\d{3})">
14328 <leadingDigits>[4-6]</leadingDigits>
14329 <format>$1 $2 $3</format>
14331 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
14332 <leadingDigits>[38]</leadingDigits>
14333 <format>$1 $2 $3</format>
14335 </availableFormats>
14337 <nationalNumberPattern>
14341 </nationalNumberPattern>
14342 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
14345 <nationalNumberPattern>2\d{7}</nationalNumberPattern>
14346 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14347 <exampleNumber>21234567</exampleNumber>
14350 <!-- West Africa Telecom seems to be a mobile company from their website. Adding Atlantic
14351 Wireless from the document, even though from online news reports it is not clear they
14352 are still operating. -->
14353 <nationalNumberPattern>
14362 </nationalNumberPattern>
14363 <exampleNumber>770123456</exampleNumber>
14366 <!-- Telelinks and Interactive media service are listed under premium rate. -->
14367 <nationalNumberPattern>90[03]\d{6}</nationalNumberPattern>
14368 <possibleNumberPattern>\d{9}</possibleNumberPattern>
14369 <exampleNumber>900123456</exampleNumber>
14372 <!-- The plan lists the following range as being assigned to TEMAS. On their homepage they
14373 say they are involved in the VoIP sector. Adding WASSCOM and Atlantic Realty &
14374 Investment Corporation here as well; no numbers can be found online, nor company
14376 <nationalNumberPattern>
14381 </nationalNumberPattern>
14382 <possibleNumberPattern>\d{9}</possibleNumberPattern>
14383 <exampleNumber>332001234</exampleNumber>
14388 <territory id="LS" countryCode="266" internationalPrefix="00">
14390 <sourceUrl>http://www.itu.int/oth/T0202000078/en</sourceUrl>
14393 <!-- Formatting following yellow pages: http://www.yellowpages.co.ls -->
14394 <numberFormat pattern="(\d{4})(\d{4})">
14395 <format>$1 $2</format>
14397 </availableFormats>
14399 <nationalNumberPattern>[2568]\d{7}</nationalNumberPattern>
14400 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14403 <nationalNumberPattern>2\d{7}</nationalNumberPattern>
14404 <exampleNumber>22123456</exampleNumber>
14407 <nationalNumberPattern>[56]\d{7}</nationalNumberPattern>
14408 <exampleNumber>50123456</exampleNumber>
14411 <nationalNumberPattern>800[256]\d{4}</nationalNumberPattern>
14412 <exampleNumber>80021234</exampleNumber>
14417 <!-- Note that Lithuania is switching to a national prefix of 0. We support
14418 both 0 and 8 when parsing until this switch is complete. -->
14419 <territory id="LT" countryCode="370" internationalPrefix="00"
14420 nationalPrefix="8" nationalPrefixForParsing="[08]"
14421 nationalPrefixFormattingRule="($NP-$FG)"
14422 nationalPrefixOptionalWhenFormatting="true" mobileNumberPortableRegion="true">
14424 <sourceUrl>http://www.itu.int/oth/T020200007C/en</sourceUrl>
14426 <!-- National Prefix formatting rule from http://www.yellowpages.lt -->
14428 <!-- Two-digit area codes -->
14429 <numberFormat pattern="([34]\d)(\d{6})">
14438 <format>$1 $2</format>
14440 <!-- Three-digit area codes -->
14441 <numberFormat pattern="([3-6]\d{2})(\d{5})">
14451 <format>$1 $2</format>
14453 <numberFormat pattern="([7-9]\d{2})(\d{2})(\d{3})"
14454 nationalPrefixFormattingRule="$NP $FG">
14455 <leadingDigits>[7-9]</leadingDigits>
14456 <format>$1 $2 $3</format>
14458 <numberFormat pattern="(5)(2\d{2})(\d{4})">
14459 <leadingDigits>52[0-79]</leadingDigits>
14460 <format>$1 $2 $3</format>
14462 </availableFormats>
14464 <nationalNumberPattern>[3-9]\d{7}</nationalNumberPattern>
14465 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14468 <nationalNumberPattern>
14474 </nationalNumberPattern>
14475 <exampleNumber>31234567</exampleNumber>
14478 <nationalNumberPattern>6\d{7}</nationalNumberPattern>
14479 <exampleNumber>61234567</exampleNumber>
14482 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
14483 <exampleNumber>80012345</exampleNumber>
14486 <nationalNumberPattern>
14491 </nationalNumberPattern>
14492 <exampleNumber>90012345</exampleNumber>
14495 <nationalNumberPattern>700\d{5}</nationalNumberPattern>
14496 <exampleNumber>70012345</exampleNumber>
14499 <nationalNumberPattern>808\d{5}</nationalNumberPattern>
14500 <exampleNumber>80812345</exampleNumber>
14503 <!-- Including government service numbers here too. -->
14504 <nationalNumberPattern>70[67]\d{5}</nationalNumberPattern>
14505 <exampleNumber>70712345</exampleNumber>
14509 <!-- Luxembourg -->
14510 <territory id="LU" countryCode="352" internationalPrefix="00"
14511 nationalPrefixForParsing="(15(?:0[06]|1[12]|35|4[04]|55|6[26]|77|88|99)\d)"
14512 carrierCodeFormattingRule="$CC $FG" mobileNumberPortableRegion="true">
14514 <sourceUrl>http://www.ilr.public.lu/communications_electroniques/numerotation/index.html</sourceUrl>
14517 <!-- Patterns overlap because of variable number length. -->
14518 <numberFormat pattern="(\d{2})(\d{3})">
14527 <format>$1 $2</format>
14529 <numberFormat pattern="(\d{2})(\d{2})(\d{2})">
14538 <format>$1 $2 $3</format>
14540 <numberFormat pattern="(\d{2})(\d{2})(\d{3})">
14541 <leadingDigits>20</leadingDigits>
14542 <format>$1 $2 $3</format>
14544 <!-- The pattern for 7-digit numbers starting with 20 here will never be reached - but since
14545 we want this pattern to apply for 8-digit numbers with a 20 prefix, we include 20 in
14546 the leading digits. This is also done for 9-10 digit numbers starting with 20 below.
14548 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{1,2})">
14555 <format>$1 $2 $3 $4</format>
14557 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{3})">
14558 <leadingDigits>20</leadingDigits>
14559 <format>$1 $2 $3 $4</format>
14561 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})(\d{1,2})">
14568 <format>$1 $2 $3 $4 $5</format>
14570 <!-- We consider numbers starting with 240 and 249 valid, but we do not format them, as we
14571 found no examples of such numbers online.
14573 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{1,4})">
14590 <format>$1 $2 $3 $4</format>
14592 <numberFormat pattern="(\d{3})(\d{2})(\d{3})">
14598 <format>$1 $2 $3</format>
14600 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
14601 <leadingDigits>6</leadingDigits>
14602 <format>$1 $2 $3</format>
14604 </availableFormats>
14606 <!-- The country-code is an impossible number prefix, so has been excluded here. This is
14607 necessary since the numbers have a variable number length. -->
14608 <nationalNumberPattern>
14614 </nationalNumberPattern>
14615 <possibleNumberPattern>\d{4,11}</possibleNumberPattern>
14618 <!-- Even though 20 is listed in the fixed-line plan, other documentation clarify that it is
14619 for VOIP. Furthermore, even though the plan says that numbers beginning with 2[346-8]
14620 by default are 8 digits, from information found online it seems that they can actually
14621 be 4 up to 11 digits long. -->
14622 <nationalNumberPattern>
14638 </nationalNumberPattern>
14639 <exampleNumber>27123456</exampleNumber>
14642 <nationalNumberPattern>6[2679][18]\d{6}</nationalNumberPattern>
14643 <possibleNumberPattern>\d{9}</possibleNumberPattern>
14644 <exampleNumber>628123456</exampleNumber>
14647 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
14648 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14649 <exampleNumber>80012345</exampleNumber>
14652 <nationalNumberPattern>90[015]\d{5}</nationalNumberPattern>
14653 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14654 <exampleNumber>90012345</exampleNumber>
14657 <nationalNumberPattern>801\d{5}</nationalNumberPattern>
14658 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14659 <exampleNumber>80112345</exampleNumber>
14662 <nationalNumberPattern>70\d{6}</nationalNumberPattern>
14663 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14664 <exampleNumber>70123456</exampleNumber>
14667 <!-- The document says the normal length will be 8 digits, but many numbers found online
14668 deviate from that. The prefixes from the following document have been added:
14669 http://www.ilr.public.lu/communications_electroniques/numerotation/plan_nat_num/numeros_geographiques_geo.pdf
14670 201 has also been added since a diallable number was found online, and it says in
14671 http://www.ilr.public.lu/communications_electroniques/decisions/2004/0479.pdf that no
14672 numbers will be issued that begin with 200, numbers beginning with 201 will be issued
14673 one at a time, and 202-209 in blocks. -->
14674 <nationalNumberPattern>
14679 </nationalNumberPattern>
14680 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
14681 <exampleNumber>20201234</exampleNumber>
14686 <territory id="LV" countryCode="371" internationalPrefix="00" mobileNumberPortableRegion="true">
14688 <sourceUrl>http://www.itu.int/oth/T0202000076/en</sourceUrl>
14689 <sourceUrl>http://en.wikipedia.org/wiki/+371</sourceUrl>
14692 <numberFormat pattern="([2689]\d)(\d{3})(\d{3})">
14693 <format>$1 $2 $3</format>
14695 </availableFormats>
14697 <nationalNumberPattern>[2689]\d{7}</nationalNumberPattern>
14698 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14701 <nationalNumberPattern>6[3-8]\d{6}</nationalNumberPattern>
14702 <exampleNumber>63123456</exampleNumber>
14705 <nationalNumberPattern>2\d{7}</nationalNumberPattern>
14706 <exampleNumber>21234567</exampleNumber>
14709 <nationalNumberPattern>80\d{6}</nationalNumberPattern>
14710 <exampleNumber>80123456</exampleNumber>
14713 <nationalNumberPattern>90\d{6}</nationalNumberPattern>
14714 <exampleNumber>90123456</exampleNumber>
14717 <nationalNumberPattern>81\d{6}</nationalNumberPattern>
14718 <exampleNumber>81123456</exampleNumber>
14722 <!-- Libya (Soc. People’s Libyan Arab Jamahiriya) -->
14723 <!-- Status as of 21 Jan 2011: a lot of outdated information on the web including on wikipedia
14724 and itu.int. The new area codes are on the Arabic website of the main telecommunication
14725 operator (Hatef Libya). A new mobile operator Aljeel Aljadeed for Technology will start
14726 using 096 (they are allowing customers to register numbers currently), so their code has
14727 also been added. -->
14728 <territory id="LY" countryCode="218" internationalPrefix="00"
14729 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
14731 <sourceUrl>http://hlc.ly/price.php</sourceUrl>
14734 <numberFormat pattern="([25679]\d)(\d{7})">
14735 <format>$1-$2</format>
14737 </availableFormats>
14739 <nationalNumberPattern>[25679]\d{8}</nationalNumberPattern>
14740 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
14743 <nationalNumberPattern>
14750 </nationalNumberPattern>
14751 <exampleNumber>212345678</exampleNumber>
14754 <!-- The prefix 094 has been added on the strength of numbers found online, and numbers
14755 where SMS messages have been apparently successfully received. -->
14756 <nationalNumberPattern>9[1-6]\d{7}</nationalNumberPattern>
14757 <possibleNumberPattern>\d{9}</possibleNumberPattern>
14758 <exampleNumber>912345678</exampleNumber>
14763 <!-- Shares formatting and some metadata with Western Sahara. -->
14764 <territory id="MA" countryCode="212" internationalPrefix="00" nationalPrefix="0"
14765 nationalPrefixFormattingRule="$NP$FG" mainCountryForCode="true"
14766 mobileNumberPortableRegion="true">
14768 <sourceUrl>http://www.itu.int/oth/T0202000090/en</sourceUrl>
14769 <sourceUrl>http://en.wikipedia.org/wiki/+212</sourceUrl>
14772 <numberFormat pattern="([56]\d{2})(\d{6})">
14780 <format>$1-$2</format>
14782 <numberFormat pattern="([58]\d{3})(\d{5})">
14803 <format>$1-$2</format>
14805 <numberFormat pattern="(5\d{4})(\d{4})">
14818 <format>$1-$2</format>
14820 <numberFormat pattern="(8[09])(\d{7})">
14827 <format>$1-$2</format>
14829 </availableFormats>
14831 <nationalNumberPattern>[5689]\d{8}</nationalNumberPattern>
14832 <!-- Closed numbering plan. -->
14833 <possibleNumberPattern>\d{9}</possibleNumberPattern>
14836 <nationalNumberPattern>
14864 </nationalNumberPattern>
14865 <exampleNumber>520123456</exampleNumber>
14867 <!-- Also duplicated in Western Sahara, please ensure you update both. -->
14869 <!-- http://www.anrt.ma/sites/default/files/Blocs_de_numeros_par_operateur.pdf
14870 Prefixes 69[0136] added based on numbers found online. -->
14871 <nationalNumberPattern>
14877 </nationalNumberPattern>
14878 <exampleNumber>650123456</exampleNumber>
14881 <nationalNumberPattern>80\d{7}</nationalNumberPattern>
14882 <exampleNumber>801234567</exampleNumber>
14885 <nationalNumberPattern>89\d{7}</nationalNumberPattern>
14886 <exampleNumber>891234567</exampleNumber>
14891 <!-- We support Kosovo mobile numbers (044, 045) with a Monaco country-code here, as we do not
14892 support Kosovo at the moment. Kosovo seems to use a variety of country codes currently. It
14893 also seems that the national prefix is only used for mobile numbers, not fixed-line. -->
14894 <territory id="MC" countryCode="377" internationalPrefix="00"
14895 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
14897 <sourceUrl>http://www.itu.int/oth/T020200008D/en</sourceUrl>
14900 <!-- Following formatting found online rather than in the ITU document example. -->
14901 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})" nationalPrefixFormattingRule="$FG">
14902 <leadingDigits>9</leadingDigits>
14903 <format>$1 $2 $3 $4</format>
14905 <numberFormat pattern="(\d{2})(\d{3})(\d{3})">
14906 <leadingDigits>4</leadingDigits>
14907 <format>$1 $2 $3</format>
14909 <numberFormat pattern="(6)(\d{2})(\d{2})(\d{2})(\d{2})">
14910 <leadingDigits>6</leadingDigits>
14911 <format>$1 $2 $3 $4 $5</format>
14913 <numberFormat pattern="(\d{3})(\d{3})(\d{2})" nationalPrefixFormattingRule="$FG">
14914 <leadingDigits>8</leadingDigits>
14915 <format>$1 $2 $3</format>
14917 </availableFormats>
14919 <nationalNumberPattern>[4689]\d{7,8}</nationalNumberPattern>
14920 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
14922 <noInternationalDialling>
14923 <nationalNumberPattern>8\d{7}</nationalNumberPattern>
14924 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14925 </noInternationalDialling>
14927 <!-- Restricted to this as no numbers with the prefix of 91, 95 or 96 have been found. -->
14928 <nationalNumberPattern>
14931 </nationalNumberPattern>
14932 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14933 <exampleNumber>99123456</exampleNumber>
14936 <!-- 4X mobile numbers are actually used by Kosovo. -->
14937 <nationalNumberPattern>
14943 </nationalNumberPattern>
14944 <exampleNumber>612345678</exampleNumber>
14947 <nationalNumberPattern>90\d{6}</nationalNumberPattern>
14948 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14949 <exampleNumber>90123456</exampleNumber>
14953 <!-- Moldova, Rep. of -->
14954 <territory id="MD" countryCode="373" internationalPrefix="00"
14955 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
14956 mobileNumberPortableRegion="true">
14958 <sourceUrl>http://www.itu.int/oth/T020200008C/en</sourceUrl>
14959 <!-- Announcements -->
14960 <sourceUrl>http://anrceti.md/fileupload/58</sourceUrl>
14961 <!-- Mobile ranges -->
14962 <sourceUrl>http://en.anrceti.md/resurse_numerotare_tel_mobila</sourceUrl>
14965 <numberFormat pattern="(\d{2})(\d{3})(\d{3})">
14970 <format>$1 $2 $3</format>
14972 <numberFormat pattern="([25-7]\d{2})(\d{2})(\d{3})">
14977 <format>$1 $2 $3</format>
14979 <numberFormat pattern="([89]\d{2})(\d{5})">
14980 <leadingDigits>[89]</leadingDigits>
14981 <format>$1 $2</format>
14983 </availableFormats>
14985 <nationalNumberPattern>[235-9]\d{7}</nationalNumberPattern>
14986 <possibleNumberPattern>\d{8}</possibleNumberPattern>
14989 <nationalNumberPattern>
15006 </nationalNumberPattern>
15007 <exampleNumber>22212345</exampleNumber>
15010 <!-- Includes prefixes for Interdnestrcom, http://www.idknet.com/. -->
15011 <nationalNumberPattern>
15029 </nationalNumberPattern>
15030 <exampleNumber>62112345</exampleNumber>
15033 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
15034 <exampleNumber>80012345</exampleNumber>
15037 <nationalNumberPattern>90[056]\d{5}</nationalNumberPattern>
15038 <exampleNumber>90012345</exampleNumber>
15040 <!-- Information came from en.anrceti.md/node/81 -->
15042 <nationalNumberPattern>808\d{5}</nationalNumberPattern>
15043 <exampleNumber>80812345</exampleNumber>
15046 <!-- Includes numbers used for access to different transport directory services of general
15047 interest, since these are charged at the same rate as fixed-line numbers. -->
15048 <nationalNumberPattern>
15053 </nationalNumberPattern>
15054 <exampleNumber>80312345</exampleNumber>
15057 <!-- Used for "nomadic numbers". -->
15058 <nationalNumberPattern>3[08]\d{6}</nationalNumberPattern>
15059 <exampleNumber>30123456</exampleNumber>
15063 <!-- Montenegro -->
15064 <!-- According to EKIP, the detailed phone number assignments are published on their
15065 website (regulation:
15066 http://www.ekip.me/download/Law%20on%20Electronic%20Communications%20(updated)%204.9.2013%20(1)nova%20verzija.pdf
15067 ). Thus ITU updates always need to be combined with the information at the below ekip.me source URL. -->
15068 <territory id="ME" countryCode="382" internationalPrefix="00" nationalPrefix="0"
15069 nationalPrefixFormattingRule="$NP$FG">
15071 <sourceUrl>http://www.itu.int/oth/T02020000DA/en</sourceUrl>
15072 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Montenegro</sourceUrl>
15073 <sourceUrl>http://www.ekip.me/numeracija/dodijeljena.php</sourceUrl>
15076 <numberFormat pattern="(\d{2})(\d{3})(\d{3})">
15077 <leadingDigits>[2-57-9]|6[036-9]</leadingDigits>
15088 <format>$1 $2 $3</format>
15090 <numberFormat pattern="(67)(9)(\d{3})(\d{3})">
15091 <leadingDigits>679</leadingDigits>
15092 <leadingDigits>679[0-2]</leadingDigits>
15093 <format>$1 $2 $3 $4</format>
15095 </availableFormats>
15097 <nationalNumberPattern>[2-9]\d{7,8}</nationalNumberPattern>
15098 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
15101 <!-- Fixed line numbers have prefix 20,30,31,32,33,40,41,50,51,52 followed by 6 digits.
15102 The valid options for the third digit were from
15103 http://www.ekip.me/numeracija/dodijeljena.php -->
15104 <nationalNumberPattern>
15122 </nationalNumberPattern>
15123 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
15124 <exampleNumber>30234567</exampleNumber>
15127 <!-- Mobile numbers start with 600, 632, 661, 67, 68 or 69. -->
15128 <nationalNumberPattern>
15142 </nationalNumberPattern>
15143 <!-- According to ITU it is possible for the numbers to be between length 4-12
15144 (http://www.itu.int/oth/T02020000DA/en). However, in reality they seem to be 8 or 9
15145 digits long, based on the Montenegro document. -->
15146 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
15147 <exampleNumber>67622901</exampleNumber>
15150 <!-- All toll free numbers have prefix 80. -->
15151 <nationalNumberPattern>80\d{6}</nationalNumberPattern>
15152 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15153 <exampleNumber>80080002</exampleNumber>
15156 <!-- Numbers with prefix 94 or 95 are services with additional charges. -->
15157 <nationalNumberPattern>
15164 </nationalNumberPattern>
15165 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15166 <exampleNumber>94515151</exampleNumber>
15169 <!-- VOIP are prefixed with 78. -->
15170 <nationalNumberPattern>78[1-9]\d{5}</nationalNumberPattern>
15171 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15172 <exampleNumber>78108780</exampleNumber>
15175 <!-- Corporate Telephony are prefixed with 77. -->
15176 <nationalNumberPattern>77\d{6}</nationalNumberPattern>
15177 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15178 <exampleNumber>77273012</exampleNumber>
15182 <!-- Saint-Martin, French Antilles -->
15183 <territory id="MF" countryCode="590" internationalPrefix="00" nationalPrefix="0">
15185 <sourceUrl>http://www.itu.int/oth/T0202000058/en</sourceUrl>
15186 <!-- Linked from http://www.arcep.fr/index.php?id=interactivenumeros -->
15187 <sourceUrl>http://www.arcep.fr/fileadmin/reprise/dossiers/numero/ZABPQ-ZNE.xls</sourceUrl>
15189 <!-- Formatting rules borrowed from Guadeloupe. -->
15191 <nationalNumberPattern>[56]\d{8}</nationalNumberPattern>
15192 <possibleNumberPattern>\d{9}</possibleNumberPattern>
15195 <nationalNumberPattern>
15202 </nationalNumberPattern>
15203 <exampleNumber>590271234</exampleNumber>
15206 <!-- Any ranges assigned from
15207 http://www.arcep.fr/index.php?id=interactivenumeros have been listed as belonging to
15208 Guadeloupe, St Martin and St Barthélemy, since we can't reliably distinguish between
15210 <nationalNumberPattern>
15215 </nationalNumberPattern>
15216 <exampleNumber>690301234</exampleNumber>
15220 <!-- Madagascar -->
15221 <territory id="MG" countryCode="261" internationalPrefix="00"
15222 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
15224 <sourceUrl>http://www.itu.int/oth/T020200007F/en</sourceUrl>
15227 <numberFormat pattern="([23]\d)(\d{2})(\d{3})(\d{2})">
15228 <format>$1 $2 $3 $4</format>
15230 </availableFormats>
15232 <nationalNumberPattern>[23]\d{8}</nationalNumberPattern>
15233 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
15236 <!-- Added the prefixes 20 44 and 20 47 as they seem popular on the internet - the plan says
15237 20 4 is for the rest of the province of Antanarivo, but then fails to mention any area
15238 codes beginning with 4. -->
15239 <nationalNumberPattern>
15252 </nationalNumberPattern>
15253 <exampleNumber>202123456</exampleNumber>
15256 <!-- The numbering plan suggests the third digit, Z, should be 24-9, but this is not borne
15257 out by reality. -->
15258 <nationalNumberPattern>3[2-49]\d{7}</nationalNumberPattern>
15259 <possibleNumberPattern>\d{9}</possibleNumberPattern>
15260 <exampleNumber>321234567</exampleNumber>
15262 <!-- Putting VSAT numbers here. -->
15264 <nationalNumberPattern>22\d{7}</nationalNumberPattern>
15265 <possibleNumberPattern>\d{9}</possibleNumberPattern>
15266 <exampleNumber>221234567</exampleNumber>
15270 <!-- Marshall Islands -->
15271 <territory id="MH" countryCode="692" internationalPrefix="011" nationalPrefix="1">
15273 <sourceUrl>http://www.itu.int/oth/T0202000085/en</sourceUrl>
15276 <numberFormat pattern="(\d{3})(\d{4})">
15277 <format>$1-$2</format>
15279 </availableFormats>
15281 <nationalNumberPattern>[2-6]\d{6}</nationalNumberPattern>
15282 <possibleNumberPattern>\d{7}</possibleNumberPattern>
15285 <nationalNumberPattern>
15291 </nationalNumberPattern>
15292 <exampleNumber>2471234</exampleNumber>
15295 <nationalNumberPattern>
15302 </nationalNumberPattern>
15303 <exampleNumber>2351234</exampleNumber>
15306 <!-- VSAT prefixes are here. -->
15307 <nationalNumberPattern>635\d{4}</nationalNumberPattern>
15308 <exampleNumber>6351234</exampleNumber>
15312 <!-- Macedonia, Former Yugoslav Rep. of -->
15313 <territory id="MK" countryCode="389" internationalPrefix="00"
15314 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
15315 mobileNumberPortableRegion="true">
15317 <sourceUrl>http://www.itu.int/oth/T02020000CE/en</sourceUrl>
15320 <!-- Formats follow wikipedia. -->
15321 <numberFormat pattern="(2)(\d{3})(\d{4})">
15322 <leadingDigits>2</leadingDigits>
15323 <format>$1 $2 $3</format>
15325 <numberFormat pattern="([347]\d)(\d{3})(\d{3})">
15326 <leadingDigits>[347]</leadingDigits>
15327 <format>$1 $2 $3</format>
15329 <numberFormat pattern="([58]\d{2})(\d)(\d{2})(\d{2})">
15330 <leadingDigits>[58]</leadingDigits>
15331 <format>$1 $2 $3 $4</format>
15333 </availableFormats>
15335 <nationalNumberPattern>[2-578]\d{7}</nationalNumberPattern>
15336 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15339 <nationalNumberPattern>
15360 </nationalNumberPattern>
15361 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
15362 <exampleNumber>22212345</exampleNumber>
15365 <nationalNumberPattern>
15371 </nationalNumberPattern>
15372 <exampleNumber>72345678</exampleNumber>
15375 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
15376 <exampleNumber>80012345</exampleNumber>
15379 <nationalNumberPattern>5[02-9]\d{6}</nationalNumberPattern>
15380 <exampleNumber>50012345</exampleNumber>
15383 <nationalNumberPattern>
15388 </nationalNumberPattern>
15389 <exampleNumber>80123456</exampleNumber>
15394 <territory id="ML" countryCode="223" internationalPrefix="00">
15396 <sourceUrl>http://www.itu.int/oth/T0202000083/en</sourceUrl>
15397 <sourceUrl>http://crt-mali.org/pdf/plan_num</sourceUrl>
15400 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
15401 <leadingDigits>[246-9]</leadingDigits>
15402 <format>$1 $2 $3 $4</format>
15404 <!-- Formatting some short numbers as a block. -->
15405 <numberFormat pattern="(\d{4})">
15410 <intlFormat>NA</intlFormat>
15411 <format>$1</format>
15413 </availableFormats>
15415 <nationalNumberPattern>[246-9]\d{7}</nationalNumberPattern>
15416 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15419 <!-- Patterns from ITU with extra ranges 20 25, 20 7[13-9] and 217 provided by Sotelma and
15420 confirmed by searches online. -->
15421 <nationalNumberPattern>
15436 </nationalNumberPattern>
15437 <exampleNumber>20212345</exampleNumber>
15440 <!-- Orange Mali have updated their numbering plan, though this is not reflected in the ITU
15441 document (which is very stale). All mobile numbers starting with 7 are now Orange.
15442 Includes 6x from Malitel IR21. Numbers beginning with 9 have been found online and
15443 reported by open-source users, although the exact possible second digits are uncertain.
15445 <nationalNumberPattern>
15448 </nationalNumberPattern>
15449 <exampleNumber>65012345</exampleNumber>
15452 <!-- Online examples have not been found, but this seems to follow the prescriptions in the
15454 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
15455 <exampleNumber>80012345</exampleNumber>
15460 <territory id="MM" countryCode="95" internationalPrefix="00" nationalPrefix="0"
15461 nationalPrefixFormattingRule="$NP$FG">
15463 <sourceUrl>http://www.itu.int/oth/T0202000092/en</sourceUrl>
15466 <numberFormat pattern="(\d)(\d{3})(\d{3,4})">
15471 <format>$1 $2 $3</format>
15473 <numberFormat pattern="(2)(\d{4})(\d{4})">
15474 <leadingDigits>251</leadingDigits>
15475 <format>$1 $2 $3</format>
15477 <numberFormat pattern="(\d)(\d{2})(\d{3})">
15482 <format>$1 $2 $3</format>
15484 <numberFormat pattern="(\d{2})(\d{3})(\d{3,4})">
15489 <format>$1 $2 $3</format>
15491 <numberFormat pattern="(\d{2})(\d{2})(\d{3,4})">
15492 <leadingDigits>[4-8]</leadingDigits>
15493 <format>$1 $2 $3</format>
15495 <numberFormat pattern="(9)(\d{3})(\d{4,6})">
15503 <format>$1 $2 $3</format>
15505 <numberFormat pattern="(9)(4\d{4})(\d{4})">
15506 <leadingDigits>94[0245]</leadingDigits>
15507 <format>$1 $2 $3</format>
15509 <!-- Following majority of numbers found online. -->
15510 <numberFormat pattern="(9)(\d{3})(\d{3})(\d{3})">
15511 <leadingDigits>925</leadingDigits>
15512 <format>$1 $2 $3 $4</format>
15514 </availableFormats>
15516 <nationalNumberPattern>
15527 </nationalNumberPattern>
15528 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
15531 <nationalNumberPattern>
15603 </nationalNumberPattern>
15604 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
15605 <exampleNumber>1234567</exampleNumber>
15608 <!-- Added 99[089] (8 digits), 961 (9 digits), and 978, 979 & 997 (10 digits) from bug
15609 reports/numbers found online. -->
15610 <nationalNumberPattern>
15638 </nationalNumberPattern>
15639 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
15640 <exampleNumber>92123456</exampleNumber>
15643 <nationalNumberPattern>1333\d{4}</nationalNumberPattern>
15644 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15645 <exampleNumber>13331234</exampleNumber>
15647 <!-- No information on other types of phone numbers for Myanmar has been found. -->
15651 <territory id="MN" countryCode="976" internationalPrefix="001"
15652 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
15654 <sourceUrl>http://www.itu.int/oth/T020200008E/en</sourceUrl>
15657 <numberFormat pattern="([12]\d)(\d{2})(\d{4})">
15658 <leadingDigits>[12]1</leadingDigits>
15659 <format>$1 $2 $3</format>
15661 <numberFormat pattern="([12]2\d)(\d{5,6})">
15662 <leadingDigits>[12]2[1-3]</leadingDigits>
15663 <format>$1 $2</format>
15665 <numberFormat pattern="([12]\d{3})(\d{5})">
15678 <format>$1 $2</format>
15680 <!-- It seems from online formatting that the national prefix is not written (or perhaps
15681 needed?) for numbers in these ranges. -->
15682 <numberFormat pattern="(\d{4})(\d{4})"
15683 nationalPrefixFormattingRule="$FG">
15684 <leadingDigits>[57-9]</leadingDigits>
15685 <format>$1 $2</format>
15687 <numberFormat pattern="([12]\d{4})(\d{4,5})">
15700 <format>$1 $2</format>
15702 </availableFormats>
15704 <nationalNumberPattern>
15707 </nationalNumberPattern>
15708 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
15711 <!-- Note the leading digit is the access code: 1 is used by Mongolia Telecom subscribers
15712 and 2 is used by Mongolian Railway subscribers. The area code then follows the access
15713 code, and could be 1 to 4 digits long. We also cover wireless local loop numbers here
15714 as well, even though we are not certain whether they are in fact fixed or mobile in
15715 this country. 5-digit subscriber numbers for 4-digit area codes have been added due to
15716 online numbers being found. -->
15717 <nationalNumberPattern>
15729 </nationalNumberPattern>
15730 <exampleNumber>50123456</exampleNumber>
15733 <nationalNumberPattern>
15738 </nationalNumberPattern>
15739 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15740 <exampleNumber>88123456</exampleNumber>
15742 <!-- No tollFree or premiumRate information can be found. -->
15744 <!-- According to the document this could be stricter, but there are counter examples
15746 <nationalNumberPattern>7[05-8]\d{6}</nationalNumberPattern>
15747 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15748 <exampleNumber>75123456</exampleNumber>
15752 <!-- Macao, China -->
15753 <territory id="MO" countryCode="853" internationalPrefix="00">
15755 <sourceUrl>http://www.itu.int/oth/T020200007E/en</sourceUrl>
15758 <numberFormat pattern="([268]\d{3})(\d{4})">
15759 <format>$1 $2</format>
15761 </availableFormats>
15763 <nationalNumberPattern>[268]\d{7}</nationalNumberPattern>
15764 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15767 <nationalNumberPattern>
15772 </nationalNumberPattern>
15773 <exampleNumber>28212345</exampleNumber>
15776 <!-- The 6[23] prefixes are added as SMS messages have been successfully delivered to these
15777 numbers, and they are also widely present on the Internet. -->
15778 <nationalNumberPattern>6[236]\d{6}</nationalNumberPattern>
15779 <exampleNumber>66123456</exampleNumber>
15781 <!-- No tollFree or premiumRate information can be found. -->
15784 <!-- Northern Mariana Islands -->
15785 <territory id="MP" countryCode="1" leadingDigits="670" nationalPrefix="1"
15786 internationalPrefix="011">
15788 <sourceUrl>http://www.itu.int/oth/T02020000EE/en</sourceUrl>
15789 <sourceUrl>http://www.cnmiphonebook.com/</sourceUrl>
15792 <!-- NANPA country - uses US formatting rules -->
15793 <nationalNumberPattern>[5689]\d{9}</nationalNumberPattern>
15794 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
15797 <!-- Extra exchange codes 232, 289, 355, 472, 633, 637, 646, 647, 649, 653, 687, 734 and 828
15798 were seen in the white and yellow pages, but no numbers with these exchange codes have
15799 proved to be diallable so we exclude them for now.. -->
15800 <nationalNumberPattern>
15826 </nationalNumberPattern>
15827 <exampleNumber>6702345678</exampleNumber>
15830 <nationalNumberPattern>
15856 </nationalNumberPattern>
15857 <exampleNumber>6702345678</exampleNumber>
15860 <nationalNumberPattern>
15869 </nationalNumberPattern>
15870 <possibleNumberPattern>\d{10}</possibleNumberPattern>
15871 <exampleNumber>8002123456</exampleNumber>
15874 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
15875 <possibleNumberPattern>\d{10}</possibleNumberPattern>
15876 <exampleNumber>9002123456</exampleNumber>
15879 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
15880 <nationalNumberPattern>
15888 </nationalNumberPattern>
15889 <possibleNumberPattern>\d{10}</possibleNumberPattern>
15890 <exampleNumber>5002345678</exampleNumber>
15894 <!-- Martinique (French Dept. of) -->
15895 <territory id="MQ" countryCode="596" internationalPrefix="00"
15896 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
15898 <sourceUrl>http://www.itu.int/oth/T0202000086/en</sourceUrl>
15899 <sourceUrl>http://www.arcep.fr/index.php?id=2137&bloc=0596&CMD=RESULTS_NUMEROTATION</sourceUrl>
15902 <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})">
15903 <format>$1 $2 $3 $4</format>
15905 </availableFormats>
15907 <nationalNumberPattern>[56]\d{8}</nationalNumberPattern>
15908 <possibleNumberPattern>\d{9}</possibleNumberPattern>
15911 <nationalNumberPattern>
15921 </nationalNumberPattern>
15922 <exampleNumber>596301234</exampleNumber>
15925 <nationalNumberPattern>
15931 </nationalNumberPattern>
15932 <exampleNumber>696201234</exampleNumber>
15934 <!-- The 876 prefix is mentioned in the plan, but the plan is from 2006 and in France VOIP
15935 numbers were changed from 087 to the 09 prefix in 2009. It is likely this occurred here
15939 <!-- Mauritania -->
15940 <territory id="MR" countryCode="222" internationalPrefix="00" >
15942 <sourceUrl>http://www.itu.int/oth/T0202000087/en</sourceUrl>
15943 <sourceUrl>http://are.mr/pdfs/pnn2010.pdf</sourceUrl>
15946 <numberFormat pattern="([2-48]\d)(\d{2})(\d{2})(\d{2})">
15947 <format>$1 $2 $3 $4</format>
15949 </availableFormats>
15951 <nationalNumberPattern>[2-48]\d{7}</nationalNumberPattern>
15952 <possibleNumberPattern>\d{8}</possibleNumberPattern>
15955 <nationalNumberPattern>
15959 </nationalNumberPattern>
15960 <exampleNumber>35123456</exampleNumber>
15962 <!-- Added "49\d" in response to https://github.com/googlei18n/libphonenumber/issues/529
15963 which might be overly permissive, but we don't have an official documentation for this
15964 and only a small number of numbers were found online. At least 492 and 495 are valid.
15967 <nationalNumberPattern>
15985 </nationalNumberPattern>
15986 <exampleNumber>22123456</exampleNumber>
15989 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
15990 <exampleNumber>80012345</exampleNumber>
15994 <!-- Montserrat -->
15995 <territory id="MS" countryCode="1" leadingDigits="664" nationalPrefix="1"
15996 internationalPrefix="011">
15998 <sourceUrl>http://www.itu.int/oth/T020200008F/en</sourceUrl>
16001 <!-- NANPA country - uses US formatting rules -->
16002 <nationalNumberPattern>[5689]\d{9}</nationalNumberPattern>
16003 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
16006 <nationalNumberPattern>664491\d{4}</nationalNumberPattern>
16007 <exampleNumber>6644912345</exampleNumber>
16010 <nationalNumberPattern>66449[2-6]\d{4}</nationalNumberPattern>
16011 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16012 <exampleNumber>6644923456</exampleNumber>
16015 <nationalNumberPattern>
16024 </nationalNumberPattern>
16025 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16026 <exampleNumber>8002123456</exampleNumber>
16029 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
16030 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16031 <exampleNumber>9002123456</exampleNumber>
16034 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
16035 <nationalNumberPattern>
16043 </nationalNumberPattern>
16044 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16045 <exampleNumber>5002345678</exampleNumber>
16050 <territory id="MT" countryCode="356" internationalPrefix="00" mobileNumberPortableRegion="true">
16052 <sourceUrl>http://www.itu.int/oth/T0202000084/en</sourceUrl>
16053 <!-- Numbering link in the LHS menu - has more up-to-date allocations -->
16054 <sourceUrl>http://www.mca.org.mt</sourceUrl>
16057 <numberFormat pattern="(\d{4})(\d{4})">
16058 <format>$1 $2</format>
16060 </availableFormats>
16062 <nationalNumberPattern>[2357-9]\d{7}</nationalNumberPattern>
16063 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16066 <nationalNumberPattern>
16075 </nationalNumberPattern>
16076 <exampleNumber>21001234</exampleNumber>
16079 <!-- 7210 and 92XX come from the allocations listed on http://www.mca.org.mt, but they are
16080 not listed in the latest ITU document. -->
16081 <nationalNumberPattern>
16101 </nationalNumberPattern>
16102 <exampleNumber>96961234</exampleNumber>
16105 <nationalNumberPattern>7117\d{4}</nationalNumberPattern>
16106 <exampleNumber>71171234</exampleNumber>
16109 <nationalNumberPattern>800[3467]\d{4}</nationalNumberPattern>
16110 <exampleNumber>80071234</exampleNumber>
16113 <nationalNumberPattern>
16126 </nationalNumberPattern>
16127 <exampleNumber>50037123</exampleNumber>
16130 <!-- In the plan as Non-PATS ECS. -->
16131 <nationalNumberPattern>3550\d{4}</nationalNumberPattern>
16132 <exampleNumber>35501234</exampleNumber>
16135 <!-- Using this for governmental numbers. -->
16136 <nationalNumberPattern>501\d{5}</nationalNumberPattern>
16137 <exampleNumber>50112345</exampleNumber>
16142 <!-- Preferred international prefix is expected to standardize on just '00' -->
16143 <territory id="MU" countryCode="230" internationalPrefix="0(?:0|[2-7]0|33)"
16144 preferredInternationalPrefix="020">
16146 <sourceUrl>http://www.icta.mu/telecommunications/numbering.htm</sourceUrl>
16149 <numberFormat pattern="([2-46-9]\d{2})(\d{4})">
16150 <leadingDigits>[2-46-9]</leadingDigits>
16151 <format>$1 $2</format>
16153 <numberFormat pattern="(5\d{3})(\d{4})">
16154 <leadingDigits>5</leadingDigits>
16155 <format>$1 $2</format>
16157 </availableFormats>
16159 <nationalNumberPattern>[2-9]\d{6,7}</nationalNumberPattern>
16160 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
16163 <!-- See also: http://www.wtng.info/wtng-230-mu.html for additional detail. -->
16164 <nationalNumberPattern>
16185 </nationalNumberPattern>
16186 <exampleNumber>2012345</exampleNumber>
16189 <nationalNumberPattern>
16205 </nationalNumberPattern>
16206 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16207 <exampleNumber>52512345</exampleNumber>
16210 <nationalNumberPattern>80[012]\d{4}</nationalNumberPattern>
16211 <possibleNumberPattern>\d{7}</possibleNumberPattern>
16212 <exampleNumber>8001234</exampleNumber>
16215 <nationalNumberPattern>30\d{5}</nationalNumberPattern>
16216 <possibleNumberPattern>\d{7}</possibleNumberPattern>
16217 <exampleNumber>3012345</exampleNumber>
16220 <nationalNumberPattern>
16225 </nationalNumberPattern>
16226 <possibleNumberPattern>\d{7}</possibleNumberPattern>
16227 <exampleNumber>3201234</exampleNumber>
16232 <territory id="MV" countryCode="960" internationalPrefix="0(?:0|19)"
16233 preferredInternationalPrefix="00">
16235 <sourceUrl>http://www.itu.int/oth/T0202000082/en</sourceUrl>
16236 <sourceUrl>http://www.dhiraagu.com.mv</sourceUrl>
16239 <numberFormat pattern="(\d{3})(\d{4})">
16247 <format>$1-$2</format>
16249 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
16250 <leadingDigits>900</leadingDigits>
16251 <format>$1 $2 $3</format>
16253 </availableFormats>
16255 <nationalNumberPattern>
16261 </nationalNumberPattern>
16262 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
16265 <!-- 300 has been added as prefixes from online searches, since the numbers seemed to be
16267 <nationalNumberPattern>
16279 </nationalNumberPattern>
16280 <possibleNumberPattern>\d{7}</possibleNumberPattern>
16281 <exampleNumber>6701234</exampleNumber>
16284 <!-- 7[45] has been added as many numbers online have been found with this prefix. 46[46]
16285 are new prefixes for Dhiraagu and Ooredoo, used currently for SMS-based services.
16286 91 and 95 were added based on information from Ooredoo Telecom. -->
16287 <nationalNumberPattern>
16293 </nationalNumberPattern>
16294 <possibleNumberPattern>\d{7}</possibleNumberPattern>
16295 <exampleNumber>7712345</exampleNumber>
16298 <nationalNumberPattern>781\d{4}</nationalNumberPattern>
16299 <possibleNumberPattern>\d{7}</possibleNumberPattern>
16300 <exampleNumber>7812345</exampleNumber>
16303 <nationalNumberPattern>900\d{7}</nationalNumberPattern>
16304 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16305 <exampleNumber>9001234567</exampleNumber>
16310 <!-- The plan doesn't state that a national prefix exists, but numbers found on the internet are
16311 consistent in having one. -->
16312 <territory id="MW" countryCode="265" internationalPrefix="00"
16313 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
16315 <sourceUrl>http://www.itu.int/oth/T0202000080/en</sourceUrl>
16318 <numberFormat pattern="(\d)(\d{3})(\d{3})">
16319 <leadingDigits>1</leadingDigits>
16320 <format>$1 $2 $3</format>
16322 <numberFormat pattern="(2\d{2})(\d{3})(\d{3})">
16323 <leadingDigits>2</leadingDigits>
16324 <format>$1 $2 $3</format>
16326 <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})">
16327 <leadingDigits>[1789]</leadingDigits>
16328 <format>$1 $2 $3 $4</format>
16330 </availableFormats>
16332 <nationalNumberPattern>
16339 </nationalNumberPattern>
16340 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
16343 <!-- 14 is no longer mentioned in the plan as a prefix, but plenty of online numbers have
16344 been found so this is being retained for now. It is possible however that these may be
16345 old-format mobile numbers. -->
16346 <nationalNumberPattern>
16351 </nationalNumberPattern>
16352 <exampleNumber>1234567</exampleNumber>
16355 <nationalNumberPattern>
16362 </nationalNumberPattern>
16363 <possibleNumberPattern>\d{9}</possibleNumberPattern>
16364 <exampleNumber>991234567</exampleNumber>
16369 <territory id="MX" countryCode="52" internationalPrefix="0[09]"
16370 nationalPrefix="01"
16371 nationalPrefixForParsing="0[12]|04[45](\d{10})"
16372 nationalPrefixTransformRule="1$1"
16373 nationalPrefixFormattingRule="$NP $FG"
16374 nationalPrefixOptionalWhenFormatting="true"
16375 leadingZeroPossible="true" mobileNumberPortableRegion="true">
16377 <sourceUrl>http://www.itu.int/oth/T020200008A/en</sourceUrl>
16378 <sourceUrl>http://en.wikipedia.org/wiki/%2B52</sourceUrl>
16379 <sourceUrl>http://en.wikipedia.org/wiki/Premium-rate_telephone_number#Mexico</sourceUrl>
16380 <sourceUrl>http://en.wikipedia.org/wiki/Toll-free_telephone_number</sourceUrl>
16382 <!-- When a number starts with 01 or 02, we remove the prefixes; when a number starts with 044
16383 or 045 followed by 10 digits, we replace the prefixes with 1. This way all the mobile
16384 numbers, regardless of whether they are written in international format (leading 1) or
16385 national format (leading 044/045), will be parsed into the same form. -->
16387 <numberFormat pattern="([358]\d)(\d{4})(\d{4})">
16393 <format>$1 $2 $3</format>
16395 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
16403 <format>$1 $2 $3</format>
16405 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(1)([358]\d)(\d{4})(\d{4})">
16413 <format>044 $2 $3 $4</format>
16414 <intlFormat>$1 $2 $3 $4</intlFormat>
16416 <numberFormat nationalPrefixFormattingRule="$FG" pattern="(1)(\d{3})(\d{3})(\d{4})">
16426 <format>044 $2 $3 $4</format>
16427 <intlFormat>$1 $2 $3 $4</intlFormat>
16429 </availableFormats>
16431 <nationalNumberPattern>[1-9]\d{9,10}</nationalNumberPattern>
16432 <possibleNumberPattern>\d{7,11}</possibleNumberPattern>
16435 <!-- http://en.wikipedia.org/wiki/Area_codes_in_Mexico_by_code -->
16436 <nationalNumberPattern>
16502 </nationalNumberPattern>
16503 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
16504 <exampleNumber>2221234567</exampleNumber>
16507 <nationalNumberPattern>
16575 </nationalNumberPattern>
16576 <possibleNumberPattern>\d{11}</possibleNumberPattern>
16577 <exampleNumber>12221234567</exampleNumber>
16580 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
16581 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16582 <exampleNumber>8001234567</exampleNumber>
16585 <nationalNumberPattern>900\d{7}</nationalNumberPattern>
16586 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16587 <exampleNumber>9001234567</exampleNumber>
16592 <territory id="MY" countryCode="60" internationalPrefix="00"
16593 nationalPrefix="0" mobileNumberPortableRegion="true">
16595 <sourceUrl>http://en.wikipedia.org/wiki/%2B60</sourceUrl>
16596 <sourceUrl>http://www.skmm.gov.my</sourceUrl>
16599 <numberFormat nationalPrefixFormattingRule="$NP$FG"
16600 pattern="([4-79])(\d{3})(\d{4})">
16601 <leadingDigits>[4-79]</leadingDigits>
16602 <format>$1-$2 $3</format>
16604 <numberFormat nationalPrefixFormattingRule="$NP$FG"
16605 pattern="(3)(\d{4})(\d{4})">
16606 <leadingDigits>3</leadingDigits>
16607 <format>$1-$2 $3</format>
16609 <numberFormat nationalPrefixFormattingRule="$NP$FG"
16610 pattern="([18]\d)(\d{3})(\d{3,4})">
16615 <format>$1-$2 $3</format>
16617 <numberFormat pattern="(1)([36-8]00)(\d{2})(\d{4})">
16618 <leadingDigits>1[36-8]0</leadingDigits>
16619 <format>$1-$2-$3-$4</format>
16621 <numberFormat nationalPrefixFormattingRule="$NP$FG"
16622 pattern="(11)(\d{4})(\d{4})">
16623 <leadingDigits>11</leadingDigits>
16624 <format>$1-$2 $3</format>
16626 <numberFormat nationalPrefixFormattingRule="$NP$FG"
16627 pattern="(15[49])(\d{3})(\d{4})">
16628 <leadingDigits>15</leadingDigits>
16629 <format>$1-$2 $3</format>
16631 </availableFormats>
16633 <nationalNumberPattern>[13-9]\d{7,9}</nationalNumberPattern>
16634 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
16637 <nationalNumberPattern>
16642 </nationalNumberPattern>
16643 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
16644 <exampleNumber>323456789</exampleNumber>
16647 <!-- Although the plan lists the prefix 159 as broadband services (data only), apparently it
16648 is possible to send SMSs (and receive them) from numbers in this block, so we are
16649 listing them as mobile. 11[45] was added based on numbers found online. -->
16650 <nationalNumberPattern>
16660 </nationalNumberPattern>
16661 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
16662 <exampleNumber>123456789</exampleNumber>
16665 <!-- http://www.skmm.gov.my/skmmgovmy/media/General/pdf/Special_Service_Number.pdf -->
16666 <nationalNumberPattern>1[378]00\d{6}</nationalNumberPattern>
16667 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16668 <exampleNumber>1300123456</exampleNumber>
16671 <nationalNumberPattern>1600\d{6}</nationalNumberPattern>
16672 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16673 <exampleNumber>1600123456</exampleNumber>
16676 <nationalNumberPattern>154\d{7}</nationalNumberPattern>
16677 <possibleNumberPattern>\d{10}</possibleNumberPattern>
16678 <exampleNumber>1541234567</exampleNumber>
16682 <!-- Mozambique -->
16683 <territory id="MZ" countryCode="258" internationalPrefix="00">
16685 <sourceUrl>http://www.itu.int/oth/T0202000091/en</sourceUrl>
16688 <numberFormat pattern="([28]\d)(\d{3})(\d{3,4})">
16693 <format>$1 $2 $3</format>
16695 <numberFormat pattern="(80\d)(\d{3})(\d{3})">
16696 <leadingDigits>80</leadingDigits>
16697 <format>$1 $2 $3</format>
16699 </availableFormats>
16701 <nationalNumberPattern>[28]\d{7,8}</nationalNumberPattern>
16702 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
16705 <nationalNumberPattern>
16712 </nationalNumberPattern>
16713 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16714 <exampleNumber>21123456</exampleNumber>
16717 <nationalNumberPattern>8[23467]\d{7}</nationalNumberPattern>
16718 <possibleNumberPattern>\d{9}</possibleNumberPattern>
16719 <exampleNumber>821234567</exampleNumber>
16722 <!-- Unsure of the length requirement on toll-free numbers, so using 9 based on online
16724 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
16725 <possibleNumberPattern>\d{9}</possibleNumberPattern>
16726 <exampleNumber>800123456</exampleNumber>
16728 <!-- The plan suggests 801 and 802 numbers are shared-cost numbers, and numbers beginning with
16729 a 9 are premium rate, but no online examples can be found of any of these so they are
16730 omitted for the time-being. -->
16734 <territory id="NA" countryCode="264" internationalPrefix="00"
16735 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
16737 <sourceUrl>http://www.itu.int/oth/T0202000093/en</sourceUrl>
16740 <numberFormat pattern="(8\d)(\d{3})(\d{4})">
16741 <leadingDigits>8[1235]</leadingDigits>
16742 <format>$1 $2 $3</format>
16744 <numberFormat pattern="(6\d)(\d{2,3})(\d{4})">
16745 <leadingDigits>6</leadingDigits>
16746 <format>$1 $2 $3</format>
16748 <numberFormat pattern="(88)(\d{3})(\d{3})">
16749 <leadingDigits>88</leadingDigits>
16750 <format>$1 $2 $3</format>
16752 <numberFormat pattern="(870)(\d{3})(\d{3})">
16753 <leadingDigits>870</leadingDigits>
16754 <format>$1 $2 $3</format>
16756 </availableFormats>
16758 <nationalNumberPattern>[68]\d{7,8}</nationalNumberPattern>
16759 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
16762 <!-- Includes VSAT service. -->
16763 <nationalNumberPattern>
16851 </nationalNumberPattern>
16852 <exampleNumber>61221234</exampleNumber>
16855 <!-- Includes the Switch CDMA Service. -->
16856 <nationalNumberPattern>
16861 </nationalNumberPattern>
16862 <possibleNumberPattern>\d{9}</possibleNumberPattern>
16863 <exampleNumber>811234567</exampleNumber>
16866 <nationalNumberPattern>8701\d{5}</nationalNumberPattern>
16867 <possibleNumberPattern>\d{9}</possibleNumberPattern>
16868 <exampleNumber>870123456</exampleNumber>
16871 <!-- Including virtual telephone and VOIP services. -->
16872 <nationalNumberPattern>
16877 </nationalNumberPattern>
16878 <exampleNumber>88612345</exampleNumber>
16882 <!-- New Caledonia (Territoire français d'outre-mer) -->
16883 <territory id="NC" countryCode="687" internationalPrefix="00">
16885 <sourceUrl>http://www.itu.int/oth/T0202000098/en</sourceUrl>
16886 <sourceUrl>http://www.opt.nc</sourceUrl>
16889 <!-- From http://www.1012.nc, the local yellow pages. -->
16890 <numberFormat pattern="(\d{2})(\d{2})(\d{2})">
16891 <!-- We exclude short-codes here so they are formatted as a block -->
16896 <format>$1.$2.$3</format>
16898 </availableFormats>
16900 <nationalNumberPattern>[2-57-9]\d{5}</nationalNumberPattern>
16901 <possibleNumberPattern>\d{6}</possibleNumberPattern>
16904 <!-- Including the 88 prefix for public payphones. -->
16905 <nationalNumberPattern>
16912 </nationalNumberPattern>
16913 <exampleNumber>201234</exampleNumber>
16916 <nationalNumberPattern>
16922 </nationalNumberPattern>
16923 <exampleNumber>751234</exampleNumber>
16925 <!-- Listed as "voice services", from what we've seen they seem to cost extra. -->
16926 <!-- Note that OPT lists 3631 as a free short number for caller ID services, but the ITU
16927 document says that all 36 numbers are 6 digits. See ShortNumberMetadata.xml for more. -->
16929 <nationalNumberPattern>36\d{4}</nationalNumberPattern>
16930 <exampleNumber>366711</exampleNumber>
16935 <territory id="NE" countryCode="227" internationalPrefix="00" leadingZeroPossible="true">
16937 <sourceUrl>http://www.itu.int/oth/T020200009B/en</sourceUrl>
16940 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
16945 <format>$1 $2 $3 $4</format>
16947 <numberFormat pattern="(08)(\d{3})(\d{3})">
16948 <leadingDigits>08</leadingDigits>
16949 <format>$1 $2 $3</format>
16951 </availableFormats>
16953 <nationalNumberPattern>[0289]\d{7}</nationalNumberPattern>
16954 <possibleNumberPattern>\d{8}</possibleNumberPattern>
16957 <!-- Adding 20 61 from online numbers. -->
16958 <nationalNumberPattern>
16976 </nationalNumberPattern>
16977 <exampleNumber>20201234</exampleNumber>
16980 <!-- Added 88, 90, 91, 92, 95, 97, 98 & 99 from online data. Airtel have confirmed that they
16981 use the 89 and 97 prefixes, and Orange use 92. MOOV started using 95 in Jan 2014. -->
16982 <nationalNumberPattern>
16987 </nationalNumberPattern>
16988 <exampleNumber>93123456</exampleNumber>
16991 <nationalNumberPattern>08\d{6}</nationalNumberPattern>
16992 <exampleNumber>08123456</exampleNumber>
16995 <nationalNumberPattern>09\d{6}</nationalNumberPattern>
16996 <exampleNumber>09123456</exampleNumber>
17000 <!-- Norfolk Island -->
17001 <!-- Including numbers for Australian Antarctic stations. -->
17002 <territory id="NF" countryCode="672" internationalPrefix="00">
17004 <sourceUrl>http://www.itu.int/oth/T020200009D/en</sourceUrl>
17007 <numberFormat pattern="(\d{2})(\d{4})">
17008 <leadingDigits>1</leadingDigits>
17009 <format>$1 $2</format>
17011 <numberFormat pattern="(\d)(\d{5})">
17012 <leadingDigits>3</leadingDigits>
17013 <format>$1 $2</format>
17015 </availableFormats>
17017 <nationalNumberPattern>[13]\d{5}</nationalNumberPattern>
17018 <possibleNumberPattern>\d{5,6}</possibleNumberPattern>
17021 <!-- ITU says all 3X numbers except 38 are fixed-line, but 3[3-79] numbers don't seem to
17022 connect after we tried calling them. -->
17023 <nationalNumberPattern>
17033 </nationalNumberPattern>
17034 <exampleNumber>106609</exampleNumber>
17037 <!-- Numbers found online with prefix 35. -->
17038 <nationalNumberPattern>3[58]\d{4}</nationalNumberPattern>
17039 <exampleNumber>381234</exampleNumber>
17044 <territory id="NG" countryCode="234" internationalPrefix="009"
17045 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
17046 mobileNumberPortableRegion="true">
17048 <sourceUrl>http://www.itu.int/oth/T020200009C/en</sourceUrl>
17051 <numberFormat pattern="([129])(\d{3})(\d{3,4})">
17052 <leadingDigits>[129]</leadingDigits>
17053 <format>$1 $2 $3</format>
17055 <numberFormat pattern="(\d{2})(\d{3})(\d{2,3})">
17064 <format>$1 $2 $3</format>
17066 <numberFormat pattern="(\d{3})(\d{3})(\d{3,4})">
17072 <format>$1 $2 $3</format>
17074 <numberFormat pattern="([78]00)(\d{4})(\d{4,5})">
17075 <leadingDigits>[78]00</leadingDigits>
17076 <format>$1 $2 $3</format>
17078 <numberFormat pattern="([78]00)(\d{5})(\d{5,6})">
17079 <leadingDigits>[78]00</leadingDigits>
17080 <format>$1 $2 $3</format>
17082 <numberFormat pattern="(78)(\d{2})(\d{3})">
17083 <leadingDigits>78</leadingDigits>
17084 <format>$1 $2 $3</format>
17086 </availableFormats>
17088 <nationalNumberPattern>
17092 </nationalNumberPattern>
17093 <possibleNumberPattern>\d{5,14}</possibleNumberPattern>
17096 <nationalNumberPattern>
17120 </nationalNumberPattern>
17121 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
17122 <exampleNumber>12345678</exampleNumber>
17125 <!-- More 81X prefixes have been added based on online numbers, including the prefix 817
17126 from Etisalat, 814 MTN and 811 from Glo. Furthermore, the fixed-line prefixes owned by
17127 Starcomms have apparently, according to the company, been used for mobile numbers too,
17128 despite the ITU plan, so we list them here as well. 701 has been added for Airtel/Zain.
17129 903 has been added for MTN, 905 has been added for Globacom (Glo), and 909 has been
17130 added for Etisalat. -->
17131 <nationalNumberPattern>
17215 </nationalNumberPattern>
17216 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
17217 <exampleNumber>8021234567</exampleNumber>
17219 <!-- Info on these numbers from http://www.alphatechnologieslimited.com. -->
17221 <nationalNumberPattern>800\d{7,11}</nationalNumberPattern>
17222 <possibleNumberPattern>\d{10,14}</possibleNumberPattern>
17223 <exampleNumber>80017591759</exampleNumber>
17226 <nationalNumberPattern>700\d{7,11}</nationalNumberPattern>
17227 <possibleNumberPattern>\d{10,14}</possibleNumberPattern>
17228 <exampleNumber>7001234567</exampleNumber>
17233 <territory id="NI" countryCode="505" internationalPrefix="00">
17235 <sourceUrl>http://www.itu.int/oth/T020200009A/en</sourceUrl>
17238 <numberFormat pattern="(\d{4})(\d{4})">
17239 <format>$1 $2</format>
17241 </availableFormats>
17243 <nationalNumberPattern>[12578]\d{7}</nationalNumberPattern>
17244 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17247 <nationalNumberPattern>2\d{7}</nationalNumberPattern>
17248 <exampleNumber>21234567</exampleNumber>
17251 <!-- 55[0-7], 57, 58 and 7[5-8] were added from bug reports/numbers found online. -->
17252 <nationalNumberPattern>
17259 </nationalNumberPattern>
17260 <exampleNumber>81234567</exampleNumber>
17263 <nationalNumberPattern>1800\d{4}</nationalNumberPattern>
17264 <exampleNumber>18001234</exampleNumber>
17268 <!-- Netherlands -->
17269 <territory id="NL" countryCode="31" internationalPrefix="00"
17270 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
17271 mobileNumberPortableRegion="true">
17273 <sourceUrl>http://en.wikipedia.org/wiki/%2B31</sourceUrl>
17274 <sourceUrl>http://wetten.overheid.nl/BWBR0010198</sourceUrl>
17277 <numberFormat pattern="([1-578]\d)(\d{3})(\d{4})">
17287 <format>$1 $2 $3</format>
17289 <numberFormat pattern="([1-5]\d{2})(\d{3})(\d{3})">
17297 <format>$1 $2 $3</format>
17299 <numberFormat pattern="(6)(\d{8})">
17300 <leadingDigits>6[0-57-9]</leadingDigits>
17301 <format>$1 $2</format>
17303 <numberFormat pattern="(66)(\d{7})">
17304 <leadingDigits>66</leadingDigits>
17305 <format>$1 $2</format>
17307 <numberFormat pattern="(14)(\d{3,4})" nationalPrefixFormattingRule="$FG">
17308 <leadingDigits>14</leadingDigits>
17309 <format>$1 $2</format>
17311 <numberFormat pattern="([89]0\d)(\d{4,7})">
17316 <format>$1 $2</format>
17318 </availableFormats>
17320 <nationalNumberPattern>
17324 </nationalNumberPattern>
17325 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
17327 <noInternationalDialling>
17328 <nationalNumberPattern>14\d{3,4}</nationalNumberPattern>
17329 <possibleNumberPattern>\d{5,6}</possibleNumberPattern>
17330 </noInternationalDialling>
17332 <nationalNumberPattern>
17341 </nationalNumberPattern>
17342 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17343 <exampleNumber>101234567</exampleNumber>
17346 <nationalNumberPattern>6[1-58]\d{7}</nationalNumberPattern>
17347 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17348 <exampleNumber>612345678</exampleNumber>
17351 <nationalNumberPattern>66\d{7}</nationalNumberPattern>
17352 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17353 <exampleNumber>662345678</exampleNumber>
17356 <nationalNumberPattern>800\d{4,7}</nationalNumberPattern>
17357 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
17358 <exampleNumber>8001234</exampleNumber>
17361 <nationalNumberPattern>90[069]\d{4,7}</nationalNumberPattern>
17362 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
17363 <exampleNumber>9061234</exampleNumber>
17366 <nationalNumberPattern>85\d{7}</nationalNumberPattern>
17367 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17368 <exampleNumber>851234567</exampleNumber>
17371 <!-- These numbers are used for local government. They are formed by the appending the local
17372 dialling code (including the national prefix 0) after the leading digits "14". -->
17373 <nationalNumberPattern>
17398 </nationalNumberPattern>
17399 <possibleNumberPattern>\d{5,6}</possibleNumberPattern>
17400 <exampleNumber>14020</exampleNumber>
17405 <!-- Metadata (excluding fixed-line) shared with Svalbard. -->
17406 <territory id="NO" countryCode="47" internationalPrefix="00" leadingZeroPossible="true"
17407 mainCountryForCode="true" mobileNumberPortableRegion="true">
17409 <sourceUrl>http://www.npt.no/npt/numsys/E.164.pdf</sourceUrl>
17412 <numberFormat pattern="([489]\d{2})(\d{2})(\d{3})">
17413 <leadingDigits>[489]</leadingDigits>
17414 <format>$1 $2 $3</format>
17416 <numberFormat pattern="([235-7]\d)(\d{2})(\d{2})(\d{2})">
17417 <leadingDigits>[235-7]</leadingDigits>
17418 <format>$1 $2 $3 $4</format>
17420 </availableFormats>
17422 <nationalNumberPattern>
17425 </nationalNumberPattern>
17426 <possibleNumberPattern>\d{5}(?:\d{3})?</possibleNumberPattern>
17429 <!-- Excludes Svalbard fixed-line numbers. -->
17430 <nationalNumberPattern>
17438 </nationalNumberPattern>
17439 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17440 <exampleNumber>21234567</exampleNumber>
17443 <nationalNumberPattern>
17449 </nationalNumberPattern>
17450 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17451 <exampleNumber>40612345</exampleNumber>
17454 <nationalNumberPattern>80[01]\d{5}</nationalNumberPattern>
17455 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17456 <exampleNumber>80012345</exampleNumber>
17459 <nationalNumberPattern>82[09]\d{5}</nationalNumberPattern>
17460 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17461 <exampleNumber>82012345</exampleNumber>
17464 <nationalNumberPattern>
17469 </nationalNumberPattern>
17470 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17471 <exampleNumber>81021234</exampleNumber>
17474 <nationalNumberPattern>880\d{5}</nationalNumberPattern>
17475 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17476 <exampleNumber>88012345</exampleNumber>
17479 <nationalNumberPattern>85[0-5]\d{5}</nationalNumberPattern>
17480 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17481 <exampleNumber>85012345</exampleNumber>
17484 <!-- Includes some 810 local-rate numbers, and long-distance rate numbers. -->
17485 <nationalNumberPattern>
17494 </nationalNumberPattern>
17495 <exampleNumber>01234</exampleNumber>
17498 <nationalNumberPattern>81[23]\d{5}</nationalNumberPattern>
17499 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17500 <exampleNumber>81212345</exampleNumber>
17505 <territory id="NP" countryCode="977" internationalPrefix="00"
17506 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
17508 <sourceUrl>http://www.itu.int/oth/T0202000095/en</sourceUrl>
17509 <sourceUrl>http://www.ntc.net.np/mobile/mob_postpaid_number_scheme.php</sourceUrl>
17510 <sourceUrl>http://www.nta.gov.np/en/2012-06-01-11-45-17/2012-06-04-04-26-59/numbering-plan</sourceUrl>
17513 <!-- Formatting patterns taken from pages like http://www.nepalgov.gov.np -->
17514 <numberFormat pattern="(1)(\d{7})">
17515 <leadingDigits>1[2-6]</leadingDigits>
17516 <format>$1-$2</format>
17518 <numberFormat pattern="(\d{2})(\d{6})">
17527 <format>$1-$2</format>
17529 <numberFormat pattern="(9\d{2})(\d{7})">
17537 <format>$1-$2</format>
17539 </availableFormats>
17541 <!-- This is complex, in order to try and distinguish between numbers that start with 97 and
17542 numbers that have the country code prefixed. -->
17543 <nationalNumberPattern>
17550 </nationalNumberPattern>
17551 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
17553 <!-- We don't support Rural Telecommunication Service at the moment since
17554 we are not sure what type it is. -->
17556 <nationalNumberPattern>
17568 </nationalNumberPattern>
17569 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
17570 <exampleNumber>14567890</exampleNumber>
17573 <nationalNumberPattern>
17579 </nationalNumberPattern>
17580 <possibleNumberPattern>\d{10}</possibleNumberPattern>
17581 <exampleNumber>9841234567</exampleNumber>
17583 <!-- No information on other types of phone numbers for Nepal has been found. -->
17587 <territory id="NR" countryCode="674" internationalPrefix="00">
17589 <sourceUrl>http://www.itu.int/oth/T0202000094/en</sourceUrl>
17590 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Nauru</sourceUrl>
17593 <numberFormat pattern="(\d{3})(\d{4})">
17594 <format>$1 $2</format>
17596 </availableFormats>
17598 <nationalNumberPattern>[458]\d{6}</nationalNumberPattern>
17599 <possibleNumberPattern>\d{7}</possibleNumberPattern>
17602 <nationalNumberPattern>
17607 </nationalNumberPattern>
17608 <exampleNumber>4441234</exampleNumber>
17611 <nationalNumberPattern>55[5-9]\d{4}</nationalNumberPattern>
17612 <exampleNumber>5551234</exampleNumber>
17617 <territory id="NU" countryCode="683" internationalPrefix="00">
17619 <sourceUrl>http://www.itu.int/oth/T02020000EC/en</sourceUrl>
17620 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Niue</sourceUrl>
17622 <!-- Numbers are always formatted as a block. -->
17624 <nationalNumberPattern>[1-5]\d{3}</nationalNumberPattern>
17625 <possibleNumberPattern>\d{4}</possibleNumberPattern>
17628 <!-- Putting FWT (fixed-wireless-terminals) numbers here too. -->
17629 <nationalNumberPattern>[34]\d{3}</nationalNumberPattern>
17630 <exampleNumber>4002</exampleNumber>
17633 <nationalNumberPattern>[125]\d{3}</nationalNumberPattern>
17634 <exampleNumber>1234</exampleNumber>
17638 <!-- New Zealand -->
17639 <!-- Includes Ross Dependency, Antarctica -->
17640 <!-- Does not currently support 083 "Enhanced voice services", New Zealand direct service
17641 numbers and 050 "Nation-Wide Service". -->
17642 <territory id="NZ" countryCode="64" internationalPrefix="0(?:0|161)"
17643 preferredInternationalPrefix="00" nationalPrefix="0"
17644 nationalPrefixFormattingRule="$NP$FG" mobileNumberPortableRegion="true">
17646 <sourceUrl>http://www.itu.int/oth/T0202000099/en</sourceUrl>
17649 <!-- Pattern for fixed-line formats. -->
17650 <numberFormat pattern="([34679])(\d{3})(\d{4})">
17656 <format>$1-$2 $3</format>
17658 <!-- Area code for NZ's Scott Base, in Antarctica. -->
17659 <numberFormat pattern="(24099)(\d{3})">
17660 <leadingDigits>240</leadingDigits>
17661 <leadingDigits>2409</leadingDigits>
17662 <leadingDigits>24099</leadingDigits>
17663 <format>$1 $2</format>
17665 <!-- Mobile numbers do not have exclusive leading digits - formatting depends on number
17667 <!-- Vodafone numbers can be 8 digits (without leading 0). -->
17668 <numberFormat pattern="(\d{2})(\d{3})(\d{3})">
17669 <leadingDigits>21</leadingDigits>
17670 <format>$1 $2 $3</format>
17672 <!-- Paging numbers and some mobile numbers (Telecom/Vodafone/TelstraClear). -->
17673 <numberFormat pattern="(\d{2})(\d{3})(\d{3,5})">
17683 <format>$1 $2 $3</format>
17685 <!-- 2Degrees numbers are formatted with 022 separated, since this seems to be more common
17686 than writing the first group as 022X based on Google web searches, and is used by
17687 2Degrees themselves. See formatting on http://www.2degreesmobile.co.nz for an example
17688 of the latter. We follow the same pattern for 020 (Orcon) and 028 (mixed) numbers. -->
17689 <numberFormat pattern="(2\d)(\d{3,4})(\d{4})">
17690 <leadingDigits>2[028]</leadingDigits>
17691 <format>$1 $2 $3</format>
17693 <numberFormat pattern="(\d{3})(\d{3})(\d{3,4})">
17694 <!-- 0274, 0210 and toll-free/premium-rate prefixes 0508/0800/0900. -->
17703 <format>$1 $2 $3</format>
17705 </availableFormats>
17707 <nationalNumberPattern>
17710 </nationalNumberPattern>
17711 <possibleNumberPattern>\d{7,11}</possibleNumberPattern>
17714 <nationalNumberPattern>
17722 </nationalNumberPattern>
17723 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
17724 <exampleNumber>32345678</exampleNumber>
17727 <!-- Includes mobile radio service numbers (e.g. TeamTalk). The lengths of numbers with
17728 prefix 21 are different from what's specified in the ITU doc, because of numbers found
17730 <nationalNumberPattern>
17740 </nationalNumberPattern>
17741 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
17742 <exampleNumber>211234567</exampleNumber>
17745 <nationalNumberPattern>[28]6\d{6,7}</nationalNumberPattern>
17746 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
17747 <exampleNumber>26123456</exampleNumber>
17749 <!-- These are the toll free patterns used, by Telecom and Telstra/Clear, but they are
17750 referred to as 'Value-added service' in the phone plan for some reason. 85 numbers are
17751 not covered, as telecom companies don't seem to support them yet. -->
17753 <nationalNumberPattern>
17756 </nationalNumberPattern>
17757 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
17758 <exampleNumber>800123456</exampleNumber>
17761 <nationalNumberPattern>90\d{7,9}</nationalNumberPattern>
17762 <possibleNumberPattern>\d{9,11}</possibleNumberPattern>
17763 <exampleNumber>900123456</exampleNumber>
17766 <nationalNumberPattern>70\d{7}</nationalNumberPattern>
17767 <possibleNumberPattern>\d{9}</possibleNumberPattern>
17768 <exampleNumber>701234567</exampleNumber>
17773 <territory id="OM" countryCode="968" internationalPrefix="00" mobileNumberPortableRegion="true">
17775 <sourceUrl>http://www.itu.int/oth/T020200009F/en</sourceUrl>
17778 <numberFormat pattern="(2\d)(\d{6})">
17779 <leadingDigits>2</leadingDigits>
17780 <format>$1 $2</format>
17782 <numberFormat pattern="(9\d{3})(\d{4})">
17783 <leadingDigits>9</leadingDigits>
17784 <format>$1 $2</format>
17786 <numberFormat pattern="([58]00)(\d{4,6})">
17787 <leadingDigits>[58]</leadingDigits>
17788 <format>$1 $2</format>
17790 </availableFormats>
17792 <nationalNumberPattern>
17799 </nationalNumberPattern>
17800 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
17803 <nationalNumberPattern>2[2-6]\d{6}</nationalNumberPattern>
17804 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17805 <exampleNumber>23123456</exampleNumber>
17808 <nationalNumberPattern>9[1-9]\d{6}</nationalNumberPattern>
17809 <possibleNumberPattern>\d{8}</possibleNumberPattern>
17810 <exampleNumber>92123456</exampleNumber>
17813 <!-- Link to document about toll-free numbers on http://www.tra.gov.om, which suggests they
17814 should be 8007 followed by 4 digits. However, the only examples I can find, including
17815 the customer help line for the main telephony company there (omantel), is 8007 followed
17816 by 5 digits, so am allowing both for now to be on the safe side. 500 numbers seem to
17817 offer international toll-free dialing numbers - +968 500 1300 for international help
17818 desk for omantel, for example. -->
17819 <nationalNumberPattern>
17822 </nationalNumberPattern>
17823 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
17824 <exampleNumber>80071234</exampleNumber>
17826 <!-- No premiumRate information can be found. -->
17830 <territory id="PA" countryCode="507" internationalPrefix="00" mobileNumberPortableRegion="true">
17832 <!-- Last read July 9, 2014. -->
17833 <sourceUrl>http://www.asep.gob.pa/telecom/pnn/default.asp</sourceUrl>
17834 <!-- Omits the fact that mobile phones are 8 digits long. -->
17835 <sourceUrl>http://en.wikipedia.org/wiki/%2B507</sourceUrl>
17838 <numberFormat pattern="(\d{3})(\d{4})">
17839 <leadingDigits>[1-57-9]</leadingDigits>
17840 <format>$1-$2</format>
17842 <numberFormat pattern="(\d{4})(\d{4})">
17843 <leadingDigits>6</leadingDigits>
17844 <format>$1-$2</format>
17846 </availableFormats>
17848 <nationalNumberPattern>[1-9]\d{6,7}</nationalNumberPattern>
17849 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
17851 <!-- Note that numbers starting with 101, 106, 131, 151, 156 and 168 have not been assigned to
17852 any rule below since we are not sure what the "servicios 102/103" refer to here. -->
17854 <!-- Note that "servicios 101/104" in the plan refer to "Local Basic Communications Service"
17855 and "Public and Semipublic Terminal Service", represented here as fixed-line. -->
17856 <!-- The range 194-XXXX has been added since a number was found online with this prefix and
17857 proved to be diallable. -->
17858 <nationalNumberPattern>
17927 </nationalNumberPattern>
17928 <possibleNumberPattern>\d{7}</possibleNumberPattern>
17929 <exampleNumber>2001234</exampleNumber>
17932 <!-- Note that "servicios 106/107" in the plan refer to mobile services. We also include
17933 service "210", "Servicio de Busca Personas". -->
17934 <nationalNumberPattern>
17948 </nationalNumberPattern>
17949 <exampleNumber>60012345</exampleNumber>
17952 <nationalNumberPattern>80[09]\d{4}</nationalNumberPattern>
17953 <possibleNumberPattern>\d{7}</possibleNumberPattern>
17954 <exampleNumber>8001234</exampleNumber>
17957 <!-- Value-added services are represented as "400" in the plan. -->
17958 <nationalNumberPattern>
17974 </nationalNumberPattern>
17975 <possibleNumberPattern>\d{7}</possibleNumberPattern>
17976 <exampleNumber>8601234</exampleNumber>
17981 <territory id="PE" countryCode="51" internationalPrefix="19(?:1[124]|77|90)00"
17982 nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)"
17983 preferredExtnPrefix=" Anexo " mobileNumberPortableRegion="true">
17985 <sourceUrl>http://www.itu.int/oth/T02020000A6/en</sourceUrl>
17986 <sourceUrl>http://en.wikipedia.org/wiki/+51</sourceUrl>
17987 <sourceUrl>http://www.assistbook.com/South%20America/Peru/widecodes</sourceUrl>
17990 <numberFormat pattern="(1)(\d{7})">
17991 <leadingDigits>1</leadingDigits>
17992 <format>$1 $2</format>
17994 <numberFormat pattern="([4-8]\d)(\d{6})">
17999 <format>$1 $2</format>
18001 <numberFormat pattern="(\d{3})(\d{5})">
18002 <leadingDigits>80</leadingDigits>
18003 <format>$1 $2</format>
18005 <!-- Formatting from common usage found on the internet, supported by ITU doc. -->
18006 <numberFormat pattern="(9\d{2})(\d{3})(\d{3})"
18007 nationalPrefixFormattingRule="$FG">
18008 <leadingDigits>9</leadingDigits>
18009 <format>$1 $2 $3</format>
18011 </availableFormats>
18013 <nationalNumberPattern>[14-9]\d{7,8}</nationalNumberPattern>
18014 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
18017 <nationalNumberPattern>
18026 </nationalNumberPattern>
18027 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
18028 <exampleNumber>11234567</exampleNumber>
18031 <nationalNumberPattern>9\d{8}</nationalNumberPattern>
18032 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18033 <exampleNumber>912345678</exampleNumber>
18036 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
18037 <possibleNumberPattern>\d{8}</possibleNumberPattern>
18038 <exampleNumber>80012345</exampleNumber>
18041 <nationalNumberPattern>805\d{5}</nationalNumberPattern>
18042 <possibleNumberPattern>\d{8}</possibleNumberPattern>
18043 <exampleNumber>80512345</exampleNumber>
18046 <nationalNumberPattern>801\d{5}</nationalNumberPattern>
18047 <possibleNumberPattern>\d{8}</possibleNumberPattern>
18048 <exampleNumber>80112345</exampleNumber>
18051 <nationalNumberPattern>80[24]\d{5}</nationalNumberPattern>
18052 <possibleNumberPattern>\d{8}</possibleNumberPattern>
18053 <exampleNumber>80212345</exampleNumber>
18057 <!-- French Polynesia (Tahiti) (Territoire français d'outre-mer) -->
18058 <territory id="PF" countryCode="689" internationalPrefix="00">
18060 <sourceUrl>http://www.itu.int/oth/T020200004D/en</sourceUrl>
18063 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
18068 <format>$1 $2 $3 $4</format>
18070 <numberFormat pattern="(\d{2})(\d{2})(\d{2})">
18071 <leadingDigits>44</leadingDigits>
18072 <format>$1 $2 $3</format>
18074 </availableFormats>
18076 <nationalNumberPattern>
18079 </nationalNumberPattern>
18080 <possibleNumberPattern>\d{6}(?:\d{2})?</possibleNumberPattern>
18082 <noInternationalDialling>
18083 <nationalNumberPattern>44\d{4}</nationalNumberPattern>
18084 <possibleNumberPattern>\d{6}</possibleNumberPattern>
18085 <exampleNumber>441234</exampleNumber>
18086 </noInternationalDialling>
18088 <!-- Includes payphone prefixes. -->
18089 <nationalNumberPattern>
18094 </nationalNumberPattern>
18095 <exampleNumber>40412345</exampleNumber>
18098 <nationalNumberPattern>8[79]\d{6}</nationalNumberPattern>
18099 <possibleNumberPattern>\d{8}</possibleNumberPattern>
18100 <exampleNumber>87123456</exampleNumber>
18104 <!-- Papua New Guinea -->
18105 <territory id="PG" countryCode="675" internationalPrefix="00">
18107 <sourceUrl>http://www.itu.int/oth/T02020000A4/en</sourceUrl>
18108 <sourceUrl>http://en.wikipedia.org/wiki/%2B675</sourceUrl>
18111 <numberFormat pattern="(\d{3})(\d{4})">
18116 <format>$1 $2</format>
18118 <numberFormat pattern="(\d{4})(\d{4})">
18123 <format>$1 $2</format>
18125 </availableFormats>
18127 <nationalNumberPattern>[1-9]\d{6,7}</nationalNumberPattern>
18128 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
18131 <nationalNumberPattern>
18144 </nationalNumberPattern>
18145 <possibleNumberPattern>\d{7}</possibleNumberPattern>
18146 <exampleNumber>3123456</exampleNumber>
18149 <!-- Mobile number patterns from the numbering plan are included here, as well as 68X from
18151 As per ITU doc, prefix 20150 will expire at the end of 2015. -->
18152 <nationalNumberPattern>
18161 </nationalNumberPattern>
18162 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
18163 <exampleNumber>6812345</exampleNumber>
18166 <nationalNumberPattern>180\d{4}</nationalNumberPattern>
18167 <possibleNumberPattern>\d{7}</possibleNumberPattern>
18168 <exampleNumber>1801234</exampleNumber>
18171 <!-- VSAT prefixes are here. -->
18172 <nationalNumberPattern>275\d{4}</nationalNumberPattern>
18173 <possibleNumberPattern>\d{7}</possibleNumberPattern>
18174 <exampleNumber>2751234</exampleNumber>
18178 <!-- Philippines -->
18179 <territory id="PH" countryCode="63" internationalPrefix="00" nationalPrefix="0">
18181 <sourceUrl>http://en.wikipedia.org/wiki/%2B63</sourceUrl>
18184 <!-- Area code separated from number. Area codes found here:
18185 http://en.wikipedia.org/wiki/Telecommunications_in_the_Philippines#Area_Codes -->
18186 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
18187 pattern="(2)(\d{3})(\d{4})">
18188 <leadingDigits>2</leadingDigits>
18189 <format>$1 $2 $3</format>
18191 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
18192 pattern="(2)(\d{5})">
18193 <leadingDigits>2</leadingDigits>
18194 <format>$1 $2</format>
18196 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
18197 pattern="(\d{4})(\d{4,6})">
18253 <format>$1 $2</format>
18255 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
18256 pattern="(\d{5})(\d{4})">
18276 <format>$1 $2</format>
18278 <!-- This rule is a fallback for the more specific area codes. -->
18279 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
18280 pattern="([3-8]\d)(\d{3})(\d{4})">
18281 <leadingDigits>[3-8]</leadingDigits>
18282 <format>$1 $2 $3</format>
18284 <numberFormat nationalPrefixFormattingRule="$NP$FG"
18285 pattern="(\d{3})(\d{3})(\d{4})">
18290 <format>$1 $2 $3</format>
18292 <!-- Formatting from http://www.uniontelecard.com/calling-guides/philippines/guide1.aspx -->
18293 <numberFormat pattern="(1800)(\d{3})(\d{4})">
18294 <leadingDigits>1</leadingDigits>
18295 <format>$1 $2 $3</format>
18297 <numberFormat pattern="(1800)(\d{1,2})(\d{3})(\d{4})">
18298 <leadingDigits>1</leadingDigits>
18299 <format>$1 $2 $3 $4</format>
18301 </availableFormats>
18303 <nationalNumberPattern>
18307 </nationalNumberPattern>
18308 <possibleNumberPattern>\d{5,13}</possibleNumberPattern>
18311 <!-- Evidence on number length is hard to come by. We have found diallable numbers in Manila
18312 that have only 5 digits after the area code; plus it seems the 8822 area code is
18313 followed by 6 digits, and 8842 by only 4. -->
18314 <nationalNumberPattern>
18328 </nationalNumberPattern>
18329 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
18330 <exampleNumber>21234567</exampleNumber>
18333 <!-- 950 added based on info received from Smart. -->
18334 <nationalNumberPattern>
18349 </nationalNumberPattern>
18350 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18351 <exampleNumber>9051234567</exampleNumber>
18353 <!-- Information on toll-free numbers collected from searching the internet -->
18355 <nationalNumberPattern>1800\d{7,9}</nationalNumberPattern>
18356 <possibleNumberPattern>\d{11,13}</possibleNumberPattern>
18357 <exampleNumber>180012345678</exampleNumber>
18359 <!-- No information can be found about other types of numbers (such as premium rate) in the
18364 <territory id="PK" countryCode="92" internationalPrefix="00"
18365 nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)"
18366 mobileNumberPortableRegion="true">
18368 <sourceUrl>http://www.itu.int/oth/T02020000A1/en</sourceUrl>
18369 <sourceUrl>http://en.wikipedia.org/wiki/%2B92</sourceUrl>
18372 <!-- Universal Access Numbers (UAN) number format patterns first, so that these numbers are
18373 formatted nicely by the AYTF. -->
18374 <numberFormat pattern="(\d{2})(111)(\d{3})(\d{3})">
18408 <format>$1 $2 $3 $4</format>
18410 <numberFormat pattern="(\d{3})(111)(\d{3})(\d{3})">
18453 <format>$1 $2 $3 $4</format>
18455 <numberFormat pattern="(\d{2})(\d{7,8})">
18467 <format>$1 $2</format>
18469 <numberFormat pattern="(\d{3})(\d{6,7})">
18490 <format>$1 $2</format>
18492 <numberFormat pattern="(3\d{2})(\d{7})" nationalPrefixFormattingRule="$NP$FG">
18493 <leadingDigits>3</leadingDigits>
18494 <format>$1 $2</format>
18496 <numberFormat pattern="([15]\d{3})(\d{5,6})">
18501 <format>$1 $2</format>
18503 <!-- This is from online examples. -->
18504 <numberFormat pattern="(586\d{2})(\d{5})">
18505 <leadingDigits>586</leadingDigits>
18506 <format>$1 $2</format>
18508 <numberFormat pattern="([89]00)(\d{3})(\d{2})" nationalPrefixFormattingRule="$NP$FG">
18509 <leadingDigits>[89]00</leadingDigits>
18510 <format>$1 $2 $3</format>
18512 </availableFormats>
18514 <!-- This is horribly complex because the country code is 92, and several area codes start
18515 with 92, and the number length is widely variable. -->
18516 <nationalNumberPattern>
18526 </nationalNumberPattern>
18527 <possibleNumberPattern>\d{6,12}</possibleNumberPattern>
18530 <!-- The subscriber number length is not well defined for some area codes. From online
18531 examples, we have come up with a heuristic that for 3-digit area codes, the subscriber
18532 number will be 6 or 7 digits - for 2-digit area codes it will be 7, with the exceptions
18533 of Karachi and Lahore (both 8). -->
18534 <nationalNumberPattern>
18574 </nationalNumberPattern>
18575 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
18576 <exampleNumber>2123456789</exampleNumber>
18579 <!-- Adding 311, 325 and 320 as SMSs have been successfully sent to these numbers and numbers
18580 can be found online with these prefixes. Added 310 based on information from Zong, and
18581 316 and 348 based on information found online. -->
18582 <nationalNumberPattern>
18592 </nationalNumberPattern>
18593 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18594 <exampleNumber>3012345678</exampleNumber>
18597 <nationalNumberPattern>800\d{5}</nationalNumberPattern>
18598 <possibleNumberPattern>\d{8}</possibleNumberPattern>
18599 <exampleNumber>80012345</exampleNumber>
18602 <nationalNumberPattern>900\d{5}</nationalNumberPattern>
18603 <possibleNumberPattern>\d{8}</possibleNumberPattern>
18604 <exampleNumber>90012345</exampleNumber>
18606 <!-- These are referred to as UPT numbers in the plan. -->
18608 <nationalNumberPattern>122\d{6}</nationalNumberPattern>
18609 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18610 <!-- The example number here is the test number from the plan. -->
18611 <exampleNumber>122044444</exampleNumber>
18614 <!-- Data on what a UAN is is hard to come by. http://www.ptcl.com.pk has information under
18615 http://www.ptcl.com.pk/contentb.php?NID=143#uan - which defines their format - but not
18616 what type of number they are. We exclude Azad Jammu, Kashmir and Northern Areas here
18617 since no online example UANs can be found, and they have an "access code" at the start,
18618 making it difficult to guess what a UAN in these areas would look like. -->
18619 <nationalNumberPattern>
18659 </nationalNumberPattern>
18660 <possibleNumberPattern>\d{11,12}</possibleNumberPattern>
18661 <exampleNumber>21111825888</exampleNumber>
18666 <territory id="PL" countryCode="48" internationalPrefix="00" mobileNumberPortableRegion="true">
18668 <sourceUrl>http://en.wikipedia.org/wiki/%2B48</sourceUrl>
18669 <sourceUrl>http://www.itu.int/oth/T02020000A8/en</sourceUrl>
18670 <!-- Source is in Polish. -->
18671 <sourceUrl>http://www.uke.gov.pl/uke/index.jsp?place=Lead24&news_cat_id=277&news_id=3791&layout=9&page=text</sourceUrl>
18672 <sourceUrl>http://www.sgwp.wp.mil.pl/pl/1_1225.html</sourceUrl>
18675 <numberFormat pattern="(\d{2})(\d{3})(\d{2})(\d{2})">
18686 <format>$1 $2 $3 $4</format>
18688 <numberFormat pattern="(\d{2})(\d{1})(\d{4})">
18689 <leadingDigits>[12]2</leadingDigits>
18690 <format>$1 $2 $3</format>
18692 <!-- We are formatting 70 numbers as per mobile numbers, based on information from some
18693 Poles that this is more usual. -->
18694 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
18703 <format>$1 $2 $3</format>
18705 <!-- Additional patterns for shorter pager numbers. -->
18706 <numberFormat pattern="(\d{3})(\d{2})(\d{2,3})">
18707 <leadingDigits>64</leadingDigits>
18708 <format>$1 $2 $3</format>
18710 <numberFormat pattern="(\d{3})(\d{3})">
18711 <leadingDigits>64</leadingDigits>
18712 <format>$1 $2</format>
18714 </availableFormats>
18716 <nationalNumberPattern>
18720 </nationalNumberPattern>
18721 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
18724 <!-- The plan says all geographical numbers are 9 digits; but in at least Warsaw (22) and
18725 Krakow (12) we have found internationally diallable numbers that are 7 digits instead,
18726 so we support those too. Numbers which start with 261 are allocated for the militrary,
18727 see: http://www.sgwp.wp.mil.pl/pl/1_1225.html. -->
18728 <nationalNumberPattern>
18742 </nationalNumberPattern>
18743 <exampleNumber>123456789</exampleNumber>
18746 <nationalNumberPattern>
18753 </nationalNumberPattern>
18754 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18755 <exampleNumber>512345678</exampleNumber>
18758 <nationalNumberPattern>64\d{4,7}</nationalNumberPattern>
18759 <exampleNumber>641234567</exampleNumber>
18762 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
18763 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18764 <exampleNumber>800123456</exampleNumber>
18767 <nationalNumberPattern>70\d{7}</nationalNumberPattern>
18768 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18769 <exampleNumber>701234567</exampleNumber>
18772 <nationalNumberPattern>801\d{6}</nationalNumberPattern>
18773 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18774 <exampleNumber>801234567</exampleNumber>
18777 <nationalNumberPattern>39\d{7}</nationalNumberPattern>
18778 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18779 <exampleNumber>391234567</exampleNumber>
18783 <!-- Saint Pierre and Miquelon (Collectivité territoriale de la République française) -->
18784 <territory id="PM" countryCode="508" internationalPrefix="00"
18785 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
18787 <sourceUrl>http://www.itu.int/oth/T02020000B2/en</sourceUrl>
18790 <numberFormat pattern="([45]\d)(\d{2})(\d{2})">
18791 <format>$1 $2 $3</format>
18793 </availableFormats>
18795 <nationalNumberPattern>[45]\d{5}</nationalNumberPattern>
18796 <possibleNumberPattern>\d{6}</possibleNumberPattern>
18799 <nationalNumberPattern>41\d{4} </nationalNumberPattern>
18800 <exampleNumber>411234</exampleNumber>
18803 <nationalNumberPattern>55\d{4} </nationalNumberPattern>
18804 <exampleNumber>551234</exampleNumber>
18808 <!-- Pitcairn Island -->
18810 <!-- This island is not supported since evidence seems to be that the 50 inhabitants use
18811 satellite phones. -->
18813 <!-- Puerto Rico -->
18814 <territory id="PR" countryCode="1" leadingDigits="787|939" nationalPrefix="1"
18815 internationalPrefix="011">
18817 <sourceUrl>http://www.itu.int/oth/T02020000AA/en</sourceUrl>
18820 <!-- NANPA country - uses US formatting rules -->
18821 <nationalNumberPattern>[5789]\d{9}</nationalNumberPattern>
18822 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
18825 <nationalNumberPattern>
18830 </nationalNumberPattern>
18831 <exampleNumber>7872345678</exampleNumber>
18834 <nationalNumberPattern>
18839 </nationalNumberPattern>
18840 <exampleNumber>7872345678</exampleNumber>
18843 <nationalNumberPattern>
18852 </nationalNumberPattern>
18853 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18854 <exampleNumber>8002345678</exampleNumber>
18857 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
18858 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18859 <exampleNumber>9002345678</exampleNumber>
18862 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
18863 <nationalNumberPattern>
18871 </nationalNumberPattern>
18872 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18873 <exampleNumber>5002345678</exampleNumber>
18877 <!-- Palestinian Authority -->
18878 <!-- Palestinian phone numbers can be reached through the Israeli country code (972) in addition
18879 to the Palestinian country code (970) and so Palestinian landlines and mobile lines are a
18880 subset of the Israeli formats. -->
18881 <territory id="PS" countryCode="970" internationalPrefix="00"
18882 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
18884 <sourceUrl>http://en.wikipedia.org/wiki/%2B970</sourceUrl>
18885 <sourceUrl>http://www.wtng.info/wtng-970-ps.html</sourceUrl>
18886 <sourceUrl>http://www.paltel.ps</sourceUrl>
18889 <numberFormat pattern="([2489])(2\d{2})(\d{4})">
18890 <leadingDigits>[2489]</leadingDigits>
18891 <format>$1 $2 $3</format>
18893 <numberFormat pattern="(5[69]\d)(\d{3})(\d{3})">
18894 <leadingDigits>5</leadingDigits>
18895 <format>$1 $2 $3</format>
18897 <numberFormat nationalPrefixFormattingRule="$FG"
18898 pattern="(1[78]00)(\d{3})(\d{3})">
18899 <leadingDigits>1[78]</leadingDigits>
18900 <format>$1 $2 $3</format>
18902 <!-- 4 and 5 digit premium numbers will be formatted as one block by default. -->
18903 </availableFormats>
18905 <nationalNumberPattern>
18911 </nationalNumberPattern>
18912 <possibleNumberPattern>\d{4,10}</possibleNumberPattern>
18915 <nationalNumberPattern>
18922 </nationalNumberPattern>
18923 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
18924 <exampleNumber>22234567</exampleNumber>
18927 <nationalNumberPattern>5[69]\d{7}</nationalNumberPattern>
18928 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18929 <exampleNumber>599123456</exampleNumber>
18932 <nationalNumberPattern>1800\d{6}</nationalNumberPattern>
18933 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18934 <exampleNumber>1800123456</exampleNumber>
18937 <!-- According to Paltel, premium numbers are 14xx and 19xxx -->
18938 <nationalNumberPattern>
18943 </nationalNumberPattern>
18944 <possibleNumberPattern>\d{4,5}</possibleNumberPattern>
18945 <exampleNumber>19123</exampleNumber>
18948 <nationalNumberPattern>1700\d{6}</nationalNumberPattern>
18949 <possibleNumberPattern>\d{10}</possibleNumberPattern>
18950 <exampleNumber>1700123456</exampleNumber>
18955 <territory id="PT" countryCode="351" internationalPrefix="00" mobileNumberPortableRegion="true">
18957 <sourceUrl>http://www.anacom.pt/render.jsp?categoryId=279098</sourceUrl>
18960 <!-- Note: the wikipedia page suggests that mobile numbers may also be formatted with only
18961 two digits in the first group; however, this doesn't seem to be majority usage based on
18962 searches online. -->
18963 <numberFormat pattern="(2\d)(\d{3})(\d{4})">
18964 <leadingDigits>2[12]</leadingDigits>
18965 <format>$1 $2 $3</format>
18967 <numberFormat pattern="([2-46-9]\d{2})(\d{3})(\d{3})">
18972 <format>$1 $2 $3</format>
18974 </availableFormats>
18976 <nationalNumberPattern>[2-46-9]\d{8}</nationalNumberPattern>
18977 <possibleNumberPattern>\d{9}</possibleNumberPattern>
18980 <nationalNumberPattern>
18990 </nationalNumberPattern>
18991 <exampleNumber>212345678</exampleNumber>
18994 <nationalNumberPattern>
19000 </nationalNumberPattern>
19001 <exampleNumber>912345678</exampleNumber>
19004 <nationalNumberPattern>80[02]\d{6}</nationalNumberPattern>
19005 <exampleNumber>800123456</exampleNumber>
19008 <!-- Fixed maximum cost numbers: 761=0.60€, 761=1€, 762=2€. -->
19009 <nationalNumberPattern>
19015 </nationalNumberPattern>
19016 <exampleNumber>760123456</exampleNumber>
19019 <!-- 808 are priced as local calls, 809 are national calls. -->
19020 <nationalNumberPattern>
19025 </nationalNumberPattern>
19026 <exampleNumber>808123456</exampleNumber>
19029 <nationalNumberPattern>884[128]\d{5}</nationalNumberPattern>
19030 <exampleNumber>884123456</exampleNumber>
19033 <nationalNumberPattern>30\d{7}</nationalNumberPattern>
19034 <exampleNumber>301234567</exampleNumber>
19037 <nationalNumberPattern>
19042 </nationalNumberPattern>
19043 <exampleNumber>707123456</exampleNumber>
19048 <territory id="PW" countryCode="680" internationalPrefix="01[12]">
19050 <sourceUrl>http://www.itu.int/oth/T02020000A2/en</sourceUrl>
19053 <numberFormat pattern="(\d{3})(\d{4})">
19054 <format>$1 $2</format>
19056 </availableFormats>
19058 <nationalNumberPattern>[2-8]\d{6}</nationalNumberPattern>
19059 <possibleNumberPattern>\d{7}</possibleNumberPattern>
19062 <nationalNumberPattern>
19088 </nationalNumberPattern>
19089 <exampleNumber>2771234</exampleNumber>
19092 <nationalNumberPattern>
19097 </nationalNumberPattern>
19098 <exampleNumber>6201234</exampleNumber>
19103 <territory id="PY" countryCode="595" internationalPrefix="00" nationalPrefix="0"
19104 mobileNumberPortableRegion="true">
19106 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Paraguay</sourceUrl>
19107 <sourceUrl>http://www.itu.int/oth/T02020000A5/en</sourceUrl>
19108 <sourceUrl>http://www.copaco.com.py/portal/index.php/component/content/article/8-empresa/74-codigos-de-area.html</sourceUrl>
19111 <!-- CONATEL plan. -->
19112 <numberFormat pattern="(\d{2})(\d{5,7})" nationalPrefixFormattingRule="($FG)">
19122 <format>$1 $2</format>
19124 <numberFormat pattern="(\d{3})(\d{3,6})" nationalPrefixFormattingRule="$NP$FG">
19125 <leadingDigits>[2-9]0</leadingDigits>
19126 <format>$1 $2</format>
19128 <numberFormat pattern="(\d{3})(\d{6})" nationalPrefixFormattingRule="$NP$FG">
19129 <leadingDigits>9[1-9]</leadingDigits>
19130 <format>$1 $2</format>
19132 <!-- Format seen in examples found online. -->
19133 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
19134 <leadingDigits>8700</leadingDigits>
19135 <format>$1 $2 $3</format>
19137 <!-- "Fall-back" rule for the rest of the fixed-line numbers that have 3-digit area codes.
19139 <numberFormat pattern="(\d{3})(\d{4,6})" nationalPrefixFormattingRule="($FG)">
19140 <leadingDigits>[2-8][1-9]</leadingDigits>
19141 <format>$1 $2</format>
19143 </availableFormats>
19145 <nationalNumberPattern>
19148 </nationalNumberPattern>
19149 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
19152 <nationalNumberPattern>
19199 </nationalNumberPattern>
19200 <exampleNumber>212345678</exampleNumber>
19203 <!-- 962 was added for Tigo. -->
19204 <nationalNumberPattern>
19210 </nationalNumberPattern>
19211 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19212 <exampleNumber>961456789</exampleNumber>
19215 <nationalNumberPattern>8700[0-4]\d{4}</nationalNumberPattern>
19216 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19217 <exampleNumber>870012345</exampleNumber>
19220 <nationalNumberPattern>[2-9]0\d{4,7}</nationalNumberPattern>
19221 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
19222 <exampleNumber>201234567</exampleNumber>
19227 <territory id="QA" countryCode="974" internationalPrefix="00" mobileNumberPortableRegion="true">
19229 <sourceUrl>http://www.itu.int/oth/T02020000AB/en</sourceUrl>
19230 <sourceUrl>http://wtng.info/wtng-qq.html</sourceUrl>
19233 <numberFormat pattern="([28]\d{2})(\d{4})">
19234 <leadingDigits>[28]</leadingDigits>
19235 <format>$1 $2</format>
19237 <numberFormat pattern="([3-7]\d{3})(\d{4})">
19238 <leadingDigits>[3-7]</leadingDigits>
19239 <format>$1 $2</format>
19241 </availableFormats>
19243 <nationalNumberPattern>[2-8]\d{6,7}</nationalNumberPattern>
19244 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
19247 <!-- The prefix 40 has now been allocated, based on numbers seen online. -->
19248 <nationalNumberPattern>4[04]\d{6}</nationalNumberPattern>
19249 <exampleNumber>44123456</exampleNumber>
19252 <nationalNumberPattern>[3567]\d{7}</nationalNumberPattern>
19253 <exampleNumber>33123456</exampleNumber>
19256 <nationalNumberPattern>
19261 </nationalNumberPattern>
19262 <possibleNumberPattern>\d{7}</possibleNumberPattern>
19263 <exampleNumber>2123456</exampleNumber>
19266 <nationalNumberPattern>800\d{4}</nationalNumberPattern>
19267 <exampleNumber>8001234</exampleNumber>
19269 <!-- No premiumRate information can be found. -->
19272 <!-- Réunion (French Departments and Territories in the Indian Ocean) -->
19273 <!-- Note this shares the same country code as La Mayotte and the formatting patterns here are
19274 used by both of them. -->
19275 <territory id="RE" countryCode="262" internationalPrefix="00"
19276 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
19277 leadingDigits="262|6[49]|8" mainCountryForCode="true" >
19279 <sourceUrl>http://www.itu.int/oth/T020200004B/en</sourceUrl>
19282 <numberFormat pattern="([268]\d{2})(\d{2})(\d{2})(\d{2})">
19283 <format>$1 $2 $3 $4</format>
19285 </availableFormats>
19287 <nationalNumberPattern>[268]\d{8}</nationalNumberPattern>
19288 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19291 <!-- 0876 numbers are mentioned in the plan, but none in use can be found. -->
19292 <nationalNumberPattern>262\d{6}</nationalNumberPattern>
19293 <exampleNumber>262161234</exampleNumber>
19296 <nationalNumberPattern>
19301 </nationalNumberPattern>
19302 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19303 <exampleNumber>692123456</exampleNumber>
19305 <!-- 08* Numbers in Réunion are the same as those valid in France. -->
19307 <nationalNumberPattern>80\d{7}</nationalNumberPattern>
19308 <exampleNumber>801234567</exampleNumber>
19311 <nationalNumberPattern>89[1-37-9]\d{6}</nationalNumberPattern>
19312 <exampleNumber>891123456</exampleNumber>
19315 <nationalNumberPattern>
19322 </nationalNumberPattern>
19323 <exampleNumber>810123456</exampleNumber>
19328 <!-- Extension prefix found online, confirmed by a Romanian. -->
19329 <territory id="RO" countryCode="40" internationalPrefix="00"
19330 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
19331 preferredExtnPrefix=" int " mobileNumberPortableRegion="true">
19333 <sourceUrl>http://www.itu.int/oth/T02020000AC/en</sourceUrl>
19334 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Romania</sourceUrl>
19337 <numberFormat pattern="([237]\d)(\d{3})(\d{4})">
19338 <leadingDigits>[23]1</leadingDigits>
19339 <format>$1 $2 $3</format>
19341 <numberFormat pattern="(21)(\d{4})">
19342 <leadingDigits>21</leadingDigits>
19343 <format>$1 $2</format>
19345 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
19346 <!-- We format mobile numbers like this, even though ITU and wikipedia hint at
19347 \d{2}\d{3}\d{4} grouping, since the yellow pages (http://en.paginiaurii.ro/) and the
19348 majority of numbers found online follow this convention. -->
19353 <format>$1 $2 $3</format>
19355 <numberFormat pattern="(2\d{2})(\d{3})">
19356 <leadingDigits>2[3-6]</leadingDigits>
19357 <format>$1 $2</format>
19359 </availableFormats>
19361 <nationalNumberPattern>
19364 </nationalNumberPattern>
19365 <!-- Although the ITU plan says the number plan is open, this was changed in 2008 according
19366 to wikipedia and people must dial the full number. However, there are still short
19367 numbers that total 6 digits long, so the possible number pattern should take these into
19369 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
19372 <!-- We exclude three-digit short numbers for Bucharest (219\d{2}) and four-digit short
19373 numbers outside Bucharest (2[36]\d9\d{3}) even though ITU suggests these exist. We do
19374 this based on numbers found online and the wikipedia article which indicate that these
19375 are four digits long in Bucharest only, and three digits elsewhere. -->
19376 <nationalNumberPattern>
19388 </nationalNumberPattern>
19389 <exampleNumber>211234567</exampleNumber>
19392 <!-- http://www.enigma-system.net/business/customized-phone-number.html confirms that the
19393 numbers are restricted to those starting with 07000. Mobile prefix 0799 added based on
19394 open-source report and confirmation by existence of such numbers online. -->
19395 <nationalNumberPattern>
19401 </nationalNumberPattern>
19402 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19403 <exampleNumber>712345678</exampleNumber>
19406 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
19407 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19408 <exampleNumber>800123456</exampleNumber>
19411 <nationalNumberPattern>90[036]\d{6}</nationalNumberPattern>
19412 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19413 <exampleNumber>900123456</exampleNumber>
19416 <nationalNumberPattern>801\d{6}</nationalNumberPattern>
19417 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19418 <exampleNumber>801123456</exampleNumber>
19421 <nationalNumberPattern>802\d{6}</nationalNumberPattern>
19422 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19423 <exampleNumber>802123456</exampleNumber>
19426 <!-- http://www.ancom.org.ro/pnn_1300 refers to numbers beginning with 37, 38 or 39 as
19427 location-independent national numbers. Only numbers beginning with 37 have been seen so
19428 these are the only ones supported for now. -->
19429 <nationalNumberPattern>37\d{7}</nationalNumberPattern>
19430 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19431 <exampleNumber>372123456</exampleNumber>
19436 <territory id="RS" countryCode="381" internationalPrefix="00"
19437 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
19438 mobileNumberPortableRegion="true">
19440 <sourceUrl>http://www.itu.int/oth/T02020000B9/en</sourceUrl>
19441 <sourceUrl>http://registar.ratel.rs/en/reg202</sourceUrl>
19444 <numberFormat pattern="([23]\d{2})(\d{4,9})">
19451 <format>$1 $2</format>
19453 <numberFormat pattern="([1-3]\d)(\d{5,10})">
19465 <format>$1 $2</format>
19467 <numberFormat pattern="(6\d)(\d{6,8})">
19468 <leadingDigits>6</leadingDigits>
19469 <format>$1 $2</format>
19471 <numberFormat pattern="([89]\d{2})(\d{3,9})">
19472 <leadingDigits>[89]</leadingDigits>
19473 <format>$1 $2</format>
19475 <numberFormat pattern="(7[26])(\d{4,9})">
19476 <leadingDigits>7[26]</leadingDigits>
19477 <format>$1 $2</format>
19479 <numberFormat pattern="(7[08]\d)(\d{4,9})">
19480 <leadingDigits>7[08]</leadingDigits>
19481 <format>$1 $2</format>
19483 </availableFormats>
19485 <!-- The complicated pattern here is to distinguish between Pristina (area code 38, followed
19486 by 2-9) and the country calling code (381). -->
19487 <nationalNumberPattern>
19493 </nationalNumberPattern>
19494 <possibleNumberPattern>\d{5,12}</possibleNumberPattern>
19497 <!-- Most subscriber numbers may not start with 0 or 1. Exceptionally, the prefix 11 1[5-7]
19498 has been issused, so we allow 11 1X here. -->
19499 <nationalNumberPattern>
19520 </nationalNumberPattern>
19521 <possibleNumberPattern>\d{5,12}</possibleNumberPattern>
19522 <exampleNumber>10234567</exampleNumber>
19525 <nationalNumberPattern>
19530 </nationalNumberPattern>
19531 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
19532 <exampleNumber>601234567</exampleNumber>
19535 <nationalNumberPattern>800\d{3,9}</nationalNumberPattern>
19536 <possibleNumberPattern>\d{6,12}</possibleNumberPattern>
19537 <exampleNumber>80012345</exampleNumber>
19540 <nationalNumberPattern>
19545 </nationalNumberPattern>
19546 <possibleNumberPattern>\d{6,12}</possibleNumberPattern>
19547 <exampleNumber>90012345</exampleNumber>
19550 <nationalNumberPattern>7[06]\d{4,10}</nationalNumberPattern>
19551 <possibleNumberPattern>\d{6,12}</possibleNumberPattern>
19552 <exampleNumber>700123456</exampleNumber>
19556 <!-- Russian Federation -->
19557 <territory id="RU" countryCode="7" mainCountryForCode="true" preferredInternationalPrefix="8~10"
19558 internationalPrefix="810" nationalPrefix="8"
19559 nationalPrefixFormattingRule="$NP ($FG)"
19560 nationalPrefixOptionalWhenFormatting="true" >
19562 <sourceUrl>http://www.itu.int/oth/T02020000AD/en</sourceUrl>
19563 <sourceUrl>http://en.wikipedia.org/wiki/%2B7</sourceUrl>
19566 <!-- Formatting from wikipedia, confirmed on Goverment websites such as
19567 http://www.minjust.ru/ru/structure/contact/. Contains formatting instructions for
19568 Kazakhstan as well. -->
19569 <numberFormat pattern="(\d{3})(\d{2})(\d{2})" nationalPrefixFormattingRule="$FG">
19570 <!-- Local numbers only - these do not start with the national prefix. -->
19571 <leadingDigits>[1-79]</leadingDigits>
19572 <format>$1-$2-$3</format>
19573 <intlFormat>NA</intlFormat>
19575 <numberFormat pattern="([3489]\d{2})(\d{3})(\d{2})(\d{2})">
19576 <leadingDigits>[34689]</leadingDigits>
19577 <format>$1 $2-$3-$4</format>
19579 <numberFormat pattern="(7\d{2})(\d{3})(\d{4})">
19580 <leadingDigits>7</leadingDigits>
19581 <format>$1 $2 $3</format>
19583 </availableFormats>
19585 <nationalNumberPattern>[3489]\d{9}</nationalNumberPattern>
19586 <possibleNumberPattern>\d{10}</possibleNumberPattern>
19589 <!-- The Ivanovo area code 493 was omitted on the official document, but this is still used
19590 in the yellow pages, and on their own website and is listed on wikipedia. This applies
19591 also to 395 (Irkutsk). Also including the 840 prefix for Abkhazia. -->
19592 <nationalNumberPattern>
19619 </nationalNumberPattern>
19620 <exampleNumber>3011234567</exampleNumber>
19623 <nationalNumberPattern>9\d{9}</nationalNumberPattern>
19624 <exampleNumber>9123456789</exampleNumber>
19627 <!-- The metadata states that 804 numbers are UAN numbers, but
19628 teleum.ru/numbers/toll_free_804 states that they are now being offered as toll-free
19630 <nationalNumberPattern>80[04]\d{7}</nationalNumberPattern>
19631 <exampleNumber>8001234567</exampleNumber>
19634 <!-- Covers tele-voting numbers as well. -->
19635 <nationalNumberPattern>80[39]\d{7}</nationalNumberPattern>
19636 <exampleNumber>8091234567</exampleNumber>
19641 <!-- According to ITU, there is no national prefix. However, this is still used. As of June 3rd
19642 2011, this was confirmed by a Rwandan local. It is also shown in this format on pages such
19643 as http://www.tigo.co.rw "Choose Your Number" service. -->
19644 <territory id="RW" countryCode="250" internationalPrefix="00"
19645 nationalPrefix="0" leadingZeroPossible="true">
19647 <sourceUrl>http://www.rura.gov.rw/docs/RWANDA_NATIONAL_NUMBERING_PLAN.pdf</sourceUrl>
19648 <sourceUrl>http://en.wikipedia.org/wiki/+250</sourceUrl>
19651 <numberFormat nationalPrefixFormattingRule="$FG"
19652 pattern="(2\d{2})(\d{3})(\d{3})">
19653 <leadingDigits>2</leadingDigits>
19654 <format>$1 $2 $3</format>
19656 <numberFormat pattern="([7-9]\d{2})(\d{3})(\d{3})" nationalPrefixFormattingRule="$NP$FG">
19657 <leadingDigits>[7-9]</leadingDigits>
19658 <format>$1 $2 $3</format>
19660 <numberFormat pattern="(0\d)(\d{2})(\d{2})(\d{2})">
19661 <leadingDigits>0</leadingDigits>
19662 <format>$1 $2 $3 $4</format>
19664 </availableFormats>
19666 <nationalNumberPattern>[027-9]\d{7,8}</nationalNumberPattern>
19667 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
19670 <!-- We support satellite numbers here, since they are in the plan, although no recent
19671 online examples can be found. We also support fixed-line ranges that have been reserved
19672 and paid for, even where no online numbers can be found. -->
19673 <nationalNumberPattern>
19676 </nationalNumberPattern>
19677 <exampleNumber>250123456</exampleNumber>
19680 <!-- Adding 73X for Airtel - this is on the wikipedia page, but not yet in the Rwanda
19681 telecommunications numbering plan. Removing 75 - that was Rwandatel but they had their
19682 license revoked. -->
19683 <nationalNumberPattern>7[238]\d{7}</nationalNumberPattern>
19684 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19685 <exampleNumber>720123456</exampleNumber>
19688 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
19689 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19690 <exampleNumber>800123456</exampleNumber>
19693 <nationalNumberPattern>900\d{6}</nationalNumberPattern>
19694 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19695 <exampleNumber>900123456</exampleNumber>
19699 <!-- Saudi Arabia -->
19700 <territory id="SA" countryCode="966" internationalPrefix="00"
19701 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
19702 mobileNumberPortableRegion="true">
19704 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Saudi_Arabia</sourceUrl>
19705 <sourceUrl>http://www.itu.int/oth/T02020000B7/en</sourceUrl>
19708 <numberFormat pattern="([1-467])(\d{3})(\d{4})">
19709 <leadingDigits>[1-467]</leadingDigits>
19710 <format>$1 $2 $3</format>
19712 <numberFormat pattern="(1\d)(\d{3})(\d{4})">
19713 <leadingDigits>1[1-467]</leadingDigits>
19714 <format>$1 $2 $3</format>
19716 <numberFormat pattern="(5\d)(\d{3})(\d{4})">
19717 <leadingDigits>5</leadingDigits>
19718 <format>$1 $2 $3</format>
19720 <!-- It seems that the trunk prefix is not used for these numbers, based on wikipedia and on
19721 the fact that no numbers of this form found online have a trunk prefix added. -->
19722 <numberFormat pattern="(92\d{2})(\d{5})" nationalPrefixFormattingRule="$FG">
19723 <leadingDigits>92</leadingDigits>
19724 <format>$1 $2</format>
19726 <numberFormat pattern="(800)(\d{3})(\d{4})" nationalPrefixFormattingRule="$FG">
19727 <leadingDigits>80</leadingDigits>
19728 <format>$1 $2 $3</format>
19730 <numberFormat pattern="(811)(\d{3})(\d{3,4})">
19731 <leadingDigits>81</leadingDigits>
19732 <format>$1 $2 $3</format>
19734 </availableFormats>
19736 <!-- The more detailed pattern here is to allow the country-code to be stripped off for
19737 fixed-line numbers. -->
19738 <nationalNumberPattern>
19746 </nationalNumberPattern>
19747 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
19750 <!-- Saudi Arabia is in the process of adding a leading 1 to their fixed-line numbers. This
19751 happened in May for area code 1 (parallel running ended July 13th, 2013) and then in
19752 August for the other fixed-line numbers (parallel running ends October 18th, 2013). -->
19753 <nationalNumberPattern>
19762 </nationalNumberPattern>
19763 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
19764 <exampleNumber>112345678</exampleNumber>
19767 <!-- Including "Nomadic" numbers from the Telecom Company "Go". The ITU document now says
19768 they are 11 digits long; however all online numbers are 10, and it used to say 10, so
19769 until we find evidence that this is an error, leaving them at 10 for now. -->
19770 <nationalNumberPattern>
19778 </nationalNumberPattern>
19779 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
19780 <exampleNumber>512345678</exampleNumber>
19783 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
19784 <possibleNumberPattern>\d{10}</possibleNumberPattern>
19785 <exampleNumber>8001234567</exampleNumber>
19788 <!-- Including shared revenue with shared cost here. -->
19789 <nationalNumberPattern>92[05]\d{6}</nationalNumberPattern>
19790 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19791 <exampleNumber>920012345</exampleNumber>
19795 <!-- Solomon Islands -->
19796 <territory id="SB" countryCode="677" internationalPrefix="0[01]">
19798 <sourceUrl>http://www.itu.int/oth/T02020000BF/en</sourceUrl>
19800 <!-- A single group is used to format 5-digit numbers. This formatting pattern follows
19801 the guidelines in the ITU document. -->
19803 <numberFormat pattern="(\d{2})(\d{5})">
19804 <leadingDigits>[7-9]</leadingDigits>
19805 <format>$1 $2</format>
19807 </availableFormats>
19809 <nationalNumberPattern>[1-9]\d{4,6}</nationalNumberPattern>
19810 <possibleNumberPattern>\d{5,7}</possibleNumberPattern>
19813 <!-- Although not mentioned in the 2011 update, it seems likely that the range 67300-67699
19814 is still used for Sasamunga, Shortland, Poitete and Ringgi as per the 2010 plan. -->
19815 <nationalNumberPattern>
19823 </nationalNumberPattern>
19824 <possibleNumberPattern>\d{5}</possibleNumberPattern>
19825 <exampleNumber>40123</exampleNumber>
19828 <!-- The 795 prefix is not in the ITU plan (5.XII.2014), but was added because such a number
19829 was dialed successfully. -->
19830 <nationalNumberPattern>
19849 </nationalNumberPattern>
19850 <exampleNumber>7421234</exampleNumber>
19853 <nationalNumberPattern>1[38]\d{3}</nationalNumberPattern>
19854 <possibleNumberPattern>\d{5}</possibleNumberPattern>
19855 <exampleNumber>18123</exampleNumber>
19858 <nationalNumberPattern>5[12]\d{3}</nationalNumberPattern>
19859 <possibleNumberPattern>\d{5}</possibleNumberPattern>
19860 <exampleNumber>51123</exampleNumber>
19864 <!-- Seychelles -->
19865 <territory id="SC" countryCode="248" internationalPrefix="0[0-2]"
19866 preferredInternationalPrefix="00">
19868 <sourceUrl>http://www.itu.int/oth/T02020000BA/en</sourceUrl>
19869 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Seychelles</sourceUrl>
19872 <numberFormat pattern="(\d{3})(\d{3})">
19873 <leadingDigits>8</leadingDigits>
19874 <format>$1 $2</format>
19876 <numberFormat pattern="(\d)(\d{3})(\d{3})">
19877 <leadingDigits>[246]</leadingDigits>
19878 <format>$1 $2 $3</format>
19880 </availableFormats>
19882 <nationalNumberPattern>[2468]\d{5,6}</nationalNumberPattern>
19883 <possibleNumberPattern>\d{6,7}</possibleNumberPattern>
19886 <!-- We are putting Fixed Services numbers here for now, as we cannot find any evidence that
19887 they are more expensive to call than other Fixed Line services. ISDN and DID services
19888 are here too, since they seem to be also fixed-line phone numbers. -->
19889 <nationalNumberPattern>4[2-46]\d{5}</nationalNumberPattern>
19890 <possibleNumberPattern>\d{7}</possibleNumberPattern>
19891 <exampleNumber>4217123</exampleNumber>
19894 <!-- Includes Fixed Cellular. -->
19895 <nationalNumberPattern>2[5-8]\d{5}</nationalNumberPattern>
19896 <possibleNumberPattern>\d{7}</possibleNumberPattern>
19897 <exampleNumber>2510123</exampleNumber>
19900 <nationalNumberPattern>8000\d{2}</nationalNumberPattern>
19901 <possibleNumberPattern>\d{6}</possibleNumberPattern>
19902 <exampleNumber>800000</exampleNumber>
19905 <nationalNumberPattern>64\d{5}</nationalNumberPattern>
19906 <possibleNumberPattern>\d{7}</possibleNumberPattern>
19907 <exampleNumber>6412345</exampleNumber>
19912 <territory id="SD" countryCode="249" internationalPrefix="00"
19913 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
19915 <sourceUrl>http://www.itu.int/oth/T02020000C4/en</sourceUrl>
19918 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
19919 <format>$1 $2 $3</format>
19921 </availableFormats>
19923 <nationalNumberPattern>[19]\d{8}</nationalNumberPattern>
19924 <possibleNumberPattern>\d{9}</possibleNumberPattern>
19927 <!-- Retaining previous prefix as 18 since it seems still to be used. Adding 11 from numbers
19929 <nationalNumberPattern>
19934 </nationalNumberPattern>
19935 <exampleNumber>121231234</exampleNumber>
19938 <!-- Adding 90X as online numbers have been found with this prefix. -->
19939 <nationalNumberPattern>9[012569]\d{7}</nationalNumberPattern>
19940 <exampleNumber>911231234</exampleNumber>
19945 <territory id="SE" countryCode="46" internationalPrefix="00"
19946 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
19947 mobileNumberPortableRegion="true">
19949 <sourceUrl>http://www.pts.se/upload/Ovrigt/Tele/Nummerfragor/swedish-numbering-plan-for-telephony-acc-itu-140407.pdf</sourceUrl>
19952 <!-- Formatting patterns are from the numbering plan and from the Swedish yellow pages
19953 http://gulasidorna.eniro.se -->
19954 <numberFormat pattern="(8)(\d{2,3})(\d{2,3})(\d{2})">
19955 <leadingDigits>8</leadingDigits>
19956 <format>$1-$2 $3 $4</format>
19957 <intlFormat>$1 $2 $3 $4</intlFormat>
19959 <numberFormat pattern="([1-69]\d)(\d{2,3})(\d{2})(\d{2})">
19969 <format>$1-$2 $3 $4</format>
19970 <intlFormat>$1 $2 $3 $4</intlFormat>
19972 <numberFormat pattern="([1-69]\d)(\d{3})(\d{2})">
19982 <format>$1-$2 $3</format>
19983 <intlFormat>$1 $2 $3</intlFormat>
19985 <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})">
19999 <format>$1-$2 $3 $4</format>
20000 <intlFormat>$1 $2 $3 $4</intlFormat>
20002 <numberFormat pattern="(\d{3})(\d{2,3})(\d{2})">
20016 <format>$1-$2 $3</format>
20017 <intlFormat>$1 $2 $3</intlFormat>
20019 <numberFormat pattern="(7\d)(\d{3})(\d{2})(\d{2})">
20020 <leadingDigits>7</leadingDigits>
20021 <format>$1-$2 $3 $4</format>
20022 <intlFormat>$1 $2 $3 $4</intlFormat>
20024 <numberFormat pattern="(77)(\d{2})(\d{2})">
20025 <leadingDigits>7</leadingDigits>
20026 <format>$1-$2$3</format>
20027 <intlFormat>$1 $2 $3</intlFormat>
20029 <numberFormat pattern="(20)(\d{2,3})(\d{2})">
20030 <leadingDigits>20</leadingDigits>
20031 <format>$1-$2 $3</format>
20032 <intlFormat>$1 $2 $3</intlFormat>
20034 <numberFormat pattern="(9[034]\d)(\d{2})(\d{2})(\d{3})">
20035 <leadingDigits>9[034]</leadingDigits>
20036 <format>$1-$2 $3 $4</format>
20037 <intlFormat>$1 $2 $3 $4</intlFormat>
20039 <numberFormat pattern="(9[034]\d)(\d{4})">
20040 <leadingDigits>9[034]</leadingDigits>
20041 <format>$1-$2</format>
20042 <intlFormat>$1 $2</intlFormat>
20044 </availableFormats>
20046 <nationalNumberPattern>[1-9]\d{5,9}</nationalNumberPattern>
20047 <possibleNumberPattern>\d{5,10}</possibleNumberPattern>
20050 <nationalNumberPattern>
20135 </nationalNumberPattern>
20136 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
20137 <exampleNumber>8123456</exampleNumber>
20140 <nationalNumberPattern>7[02369]\d{7}</nationalNumberPattern>
20141 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20142 <exampleNumber>701234567</exampleNumber>
20145 <nationalNumberPattern>74[02-9]\d{6}</nationalNumberPattern>
20146 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20147 <exampleNumber>740123456</exampleNumber>
20150 <nationalNumberPattern>
20165 </nationalNumberPattern>
20166 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
20167 <exampleNumber>20123456</exampleNumber>
20170 <nationalNumberPattern>
20209 </nationalNumberPattern>
20210 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
20211 <exampleNumber>9001234567</exampleNumber>
20214 <nationalNumberPattern>
20225 </nationalNumberPattern>
20226 <possibleNumberPattern>\d{6}(?:\d{3})?</possibleNumberPattern>
20227 <exampleNumber>771234567</exampleNumber>
20230 <nationalNumberPattern>75[1-8]\d{6}</nationalNumberPattern>
20231 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20232 <exampleNumber>751234567</exampleNumber>
20237 <territory id="SG" countryCode="65" internationalPrefix="0[0-3]\d"
20238 mobileNumberPortableRegion="true">
20240 <sourceUrl>http://www.ida.gov.sg/Policies-and-Regulations/Industry-and-Licensees/Numbering/National-Numbering-Plan-and-Allocation-Process.aspx</sourceUrl>
20243 <numberFormat pattern="([3689]\d{3})(\d{4})">
20248 <format>$1 $2</format>
20250 <numberFormat pattern="(1[89]00)(\d{3})(\d{4})">
20251 <leadingDigits>1[89]</leadingDigits>
20252 <format>$1 $2 $3</format>
20254 <numberFormat pattern="(7000)(\d{4})(\d{3})">
20255 <leadingDigits>70</leadingDigits>
20256 <format>$1 $2 $3</format>
20258 <numberFormat pattern="(800)(\d{3})(\d{4})">
20259 <leadingDigits>80</leadingDigits>
20260 <format>$1 $2 $3</format>
20262 </availableFormats>
20264 <!-- We have a stricter national number pattern for numbers beginning with 6 to enable us to
20265 easily strip off leading "65" country codes. -->
20266 <nationalNumberPattern>
20269 </nationalNumberPattern>
20270 <possibleNumberPattern>\d{8,11}</possibleNumberPattern>
20273 <nationalNumberPattern>6[1-9]\d{6}</nationalNumberPattern>
20274 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20275 <exampleNumber>61234567</exampleNumber>
20278 <nationalNumberPattern>
20283 </nationalNumberPattern>
20284 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20285 <exampleNumber>81234567</exampleNumber>
20288 <nationalNumberPattern>1?800\d{7}</nationalNumberPattern>
20289 <possibleNumberPattern>\d{10,11}</possibleNumberPattern>
20290 <exampleNumber>18001234567</exampleNumber>
20293 <nationalNumberPattern>1900\d{7}</nationalNumberPattern>
20294 <possibleNumberPattern>\d{11}</possibleNumberPattern>
20295 <exampleNumber>19001234567</exampleNumber>
20298 <nationalNumberPattern>3[12]\d{6}</nationalNumberPattern>
20299 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20300 <exampleNumber>31234567</exampleNumber>
20303 <!-- Although not detailed in the plan beyond mentioning their existence, it seems 7000
20304 numbers are used for companies. Most of the online examples are in fact alpha-numbers.
20306 <nationalNumberPattern>7000\d{7}</nationalNumberPattern>
20307 <possibleNumberPattern>\d{11}</possibleNumberPattern>
20308 <exampleNumber>70001234567</exampleNumber>
20312 <!-- Saint Helena -->
20313 <territory id="SH" countryCode="290" internationalPrefix="00" mainCountryForCode="true">
20315 <sourceUrl>http://www.itu.int/oth/T02020000AF/en</sourceUrl>
20317 <!-- Numbers are formatted as a block. -->
20319 <nationalNumberPattern>[2-79]\d{3,4}</nationalNumberPattern>
20320 <possibleNumberPattern>\d{4,5}</possibleNumberPattern>
20323 <!-- St Helena is changing to 5 digits on October 1. 2013 -> we support both patterns here.
20324 The new pattern is first, followed by the old (hence the repetition of the leading 2).
20326 <nationalNumberPattern>
20335 </nationalNumberPattern>
20336 <!-- Using St Helena Tourism as the example number. -->
20337 <exampleNumber>2158</exampleNumber>
20340 <nationalNumberPattern>NA</nationalNumberPattern>
20341 <possibleNumberPattern>NA</possibleNumberPattern>
20344 <nationalNumberPattern>
20349 </nationalNumberPattern>
20350 <exampleNumber>5012</exampleNumber>
20355 <territory id="SI" countryCode="386" internationalPrefix="00"
20356 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
20357 mobileNumberPortableRegion="true">
20359 <sourceUrl>http://www.itu.int/oth/T02020000BE/en</sourceUrl>
20362 <numberFormat nationalPrefixFormattingRule="($NP$FG)"
20363 pattern="(\d)(\d{3})(\d{2})(\d{2})">
20371 <format>$1 $2 $3 $4</format>
20373 <numberFormat pattern="([3-7]\d)(\d{3})(\d{3})">
20380 <format>$1 $2 $3</format>
20382 <numberFormat pattern="([89][09])(\d{3,6})">
20383 <leadingDigits>[89][09]</leadingDigits>
20384 <format>$1 $2</format>
20386 <numberFormat pattern="([58]\d{2})(\d{5})">
20391 <format>$1 $2</format>
20393 </availableFormats>
20395 <nationalNumberPattern>
20398 </nationalNumberPattern>
20399 <possibleNumberPattern>\d{5,8}</possibleNumberPattern>
20402 <nationalNumberPattern>
20410 </nationalNumberPattern>
20411 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
20412 <exampleNumber>11234567</exampleNumber>
20415 <!-- We include 043 and 049 here - it is VoIP in the plan, but is actually used to provide
20416 mobile coverage to Kosovo. Also added 068, which is used by the mobile operator bob.si
20418 <nationalNumberPattern>
20425 </nationalNumberPattern>
20426 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20427 <exampleNumber>31234567</exampleNumber>
20430 <nationalNumberPattern>80\d{4,6}</nationalNumberPattern>
20431 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
20432 <exampleNumber>80123456</exampleNumber>
20435 <!-- Includes televoting, mass calling -->
20436 <nationalNumberPattern>
20439 </nationalNumberPattern>
20440 <possibleNumberPattern>\d{5,8}</possibleNumberPattern>
20441 <exampleNumber>90123456</exampleNumber>
20444 <nationalNumberPattern>
20449 </nationalNumberPattern>
20450 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20451 <exampleNumber>59012345</exampleNumber>
20456 <!-- Metadata shared with Norway. -->
20457 <territory id="SJ" countryCode="47" internationalPrefix="00" leadingZeroPossible="true">
20459 <sourceUrl>http://www.npt.no/pt_internet/numsys/E.164.pdf</sourceUrl>
20462 <nationalNumberPattern>
20465 </nationalNumberPattern>
20466 <possibleNumberPattern>\d{5}(?:\d{3})?</possibleNumberPattern>
20469 <nationalNumberPattern>79\d{6}</nationalNumberPattern>
20470 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20471 <exampleNumber>79123456</exampleNumber>
20473 <!-- Copied from Norway metadata. -->
20475 <nationalNumberPattern>
20481 </nationalNumberPattern>
20482 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20483 <exampleNumber>41234567</exampleNumber>
20486 <nationalNumberPattern>80[01]\d{5}</nationalNumberPattern>
20487 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20488 <exampleNumber>80012345</exampleNumber>
20491 <nationalNumberPattern>82[09]\d{5}</nationalNumberPattern>
20492 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20493 <exampleNumber>82012345</exampleNumber>
20496 <nationalNumberPattern>
20501 </nationalNumberPattern>
20502 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20503 <exampleNumber>81021234</exampleNumber>
20506 <nationalNumberPattern>880\d{5}</nationalNumberPattern>
20507 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20508 <exampleNumber>88012345</exampleNumber>
20511 <nationalNumberPattern>85[0-5]\d{5}</nationalNumberPattern>
20512 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20513 <exampleNumber>85012345</exampleNumber>
20516 <!-- Includes some 810 local-rate numbers, and long-distance rate numbers. -->
20517 <nationalNumberPattern>
20526 </nationalNumberPattern>
20527 <exampleNumber>01234</exampleNumber>
20530 <nationalNumberPattern>81[23]\d{5}</nationalNumberPattern>
20531 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20532 <exampleNumber>81212345</exampleNumber>
20537 <territory id="SK" countryCode="421" internationalPrefix="00"
20538 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
20539 mobileNumberPortableRegion="true">
20541 <sourceUrl>http://www.itu.int/oth/T02020000BD/en</sourceUrl>
20544 <numberFormat pattern="(2)(\d{3})(\d{3})(\d{2})">
20545 <leadingDigits>2</leadingDigits>
20546 <format>$1/$2 $3 $4</format>
20548 <numberFormat pattern="([3-5]\d)(\d{3})(\d{2})(\d{2})">
20549 <leadingDigits>[3-5]</leadingDigits>
20550 <format>$1/$2 $3 $4</format>
20552 <numberFormat pattern="([689]\d{2})(\d{3})(\d{3})">
20553 <leadingDigits>[689]</leadingDigits>
20554 <format>$1 $2 $3</format>
20556 </availableFormats>
20558 <nationalNumberPattern>[2-689]\d{8}</nationalNumberPattern>
20559 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20561 <noInternationalDialling>
20562 <nationalNumberPattern>
20573 </nationalNumberPattern>
20574 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20575 <exampleNumber>800123456</exampleNumber>
20576 </noInternationalDialling>
20578 <nationalNumberPattern>[2-5]\d{8}</nationalNumberPattern>
20579 <exampleNumber>212345678</exampleNumber>
20582 <!-- 948 isn't in the number pattern, but many examples using this have been found, so
20583 deeming it valid for now. -->
20584 <nationalNumberPattern>
20590 </nationalNumberPattern>
20591 <exampleNumber>912123456</exampleNumber>
20594 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
20595 <exampleNumber>800123456</exampleNumber>
20598 <nationalNumberPattern>
20603 </nationalNumberPattern>
20604 <exampleNumber>900123456</exampleNumber>
20607 <nationalNumberPattern>8[5-9]\d{7}</nationalNumberPattern>
20608 <exampleNumber>850123456</exampleNumber>
20611 <nationalNumberPattern>
20616 </nationalNumberPattern>
20617 <exampleNumber>690123456</exampleNumber>
20620 <nationalNumberPattern>96\d{7}</nationalNumberPattern>
20621 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20622 <exampleNumber>961234567</exampleNumber>
20626 <!-- Sierra Leone -->
20627 <territory id="SL" countryCode="232" internationalPrefix="00"
20628 nationalPrefix="0" nationalPrefixFormattingRule="($NP$FG)">
20630 <sourceUrl>http://www.itu.int/oth/T02020000BB/en</sourceUrl>
20633 <!-- Following formatting of online yellow pages http://www.leonedirect.com -->
20634 <numberFormat pattern="(\d{2})(\d{6})">
20635 <format>$1 $2</format>
20637 </availableFormats>
20639 <nationalNumberPattern>[2-57-9]\d{7}</nationalNumberPattern>
20640 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
20643 <nationalNumberPattern>[235]2[2-4][2-9]\d{4}</nationalNumberPattern>
20644 <exampleNumber>22221234</exampleNumber>
20647 <nationalNumberPattern>
20657 </nationalNumberPattern>
20658 <exampleNumber>25123456</exampleNumber>
20662 <!-- San Marino -->
20663 <!-- San Marino fixed-line numbers have an area code of "0549". However, this seems to be
20664 optional when dialling from outside the country; the phone number can be reached both with
20665 and without this area code. The nationalPrefixForParsing and nationalPrefixTransformRule
20666 are used to ensure that if the 0549 is not present, it will be added. -->
20667 <territory id="SM" countryCode="378" internationalPrefix="00"
20668 nationalPrefixForParsing="(?:0549)?([89]\d{5})" nationalPrefixTransformRule="0549$1"
20669 leadingZeroPossible="true">
20671 <sourceUrl>http://www.itu.int/oth/T02020000B5/en</sourceUrl>
20672 <!-- Information about Italy. -->
20673 <sourceUrl>http://en.wikipedia.org/wiki/%2B39</sourceUrl>
20674 <sourceUrl>http://en.wikipedia.org/wiki/%2B378</sourceUrl>
20677 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
20678 <leadingDigits>[5-7]</leadingDigits>
20679 <format>$1 $2 $3 $4</format>
20681 <!-- We follow the guidelines of the yellow-pages when formatting in national format. -->
20682 <numberFormat pattern="(0549)(\d{6})">
20683 <leadingDigits>0</leadingDigits>
20684 <format>$1 $2</format>
20685 <!-- We follow the guidelines of the Telecommunications Document published on ITU when
20686 formatting in international format. -->
20687 <intlFormat>($1) $2</intlFormat>
20689 <!-- A rule in case the number has been stored without the leading 0549 necessary for
20691 <numberFormat pattern="(\d{6})">
20692 <leadingDigits>[89]</leadingDigits>
20693 <format>0549 $1</format>
20694 <intlFormat>(0549) $1</intlFormat>
20696 </availableFormats>
20698 <nationalNumberPattern>[05-7]\d{7,9}</nationalNumberPattern>
20699 <possibleNumberPattern>\d{6,10}</possibleNumberPattern>
20701 <!-- Example numbers provided by the Telecommunications Services. -->
20703 <nationalNumberPattern>
20708 </nationalNumberPattern>
20709 <exampleNumber>0549886377</exampleNumber>
20712 <nationalNumberPattern>6[16]\d{6}</nationalNumberPattern>
20713 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20714 <exampleNumber>66661212</exampleNumber>
20717 <!-- Includes Video Call numbers. -->
20718 <nationalNumberPattern>7[178]\d{6}</nationalNumberPattern>
20719 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20720 <exampleNumber>71123456</exampleNumber>
20723 <nationalNumberPattern>5[158]\d{6}</nationalNumberPattern>
20724 <possibleNumberPattern>\d{8}</possibleNumberPattern>
20725 <exampleNumber>58001110</exampleNumber>
20730 <territory id="SN" countryCode="221" internationalPrefix="00">
20732 <sourceUrl>http://www.itu.int/oth/T02020000B8/en</sourceUrl>
20733 <sourceUrl>http://www.artpsenegal.net</sourceUrl>
20736 <!-- Using yellow pages and online telecom company formatting, rather than that implied in
20737 the national numbering plan. -->
20738 <numberFormat pattern="(\d{2})(\d{3})(\d{2})(\d{2})">
20739 <leadingDigits>[379]</leadingDigits>
20740 <format>$1 $2 $3 $4</format>
20742 <numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})">
20743 <leadingDigits>8</leadingDigits>
20744 <format>$1 $2 $3 $4</format>
20746 </availableFormats>
20748 <nationalNumberPattern>[3789]\d{8}</nationalNumberPattern>
20749 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20752 <nationalNumberPattern>
20766 </nationalNumberPattern>
20767 <exampleNumber>301012345</exampleNumber>
20770 <nationalNumberPattern>
20777 </nationalNumberPattern>
20778 <exampleNumber>701234567</exampleNumber>
20781 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
20782 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20783 <exampleNumber>800123456</exampleNumber>
20786 <!-- Revenu Partagé in the plan. -->
20787 <nationalNumberPattern>88[4689]\d{6}</nationalNumberPattern>
20788 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20789 <exampleNumber>884123456</exampleNumber>
20792 <nationalNumberPattern>81[02468]\d{6}</nationalNumberPattern>
20793 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20794 <exampleNumber>810123456</exampleNumber>
20797 <!-- Also covers satellite telephony ranges. -->
20798 <nationalNumberPattern>
20801 </nationalNumberPattern>
20802 <exampleNumber>933301234</exampleNumber>
20807 <!-- This document seems to cover only a small set of prefixes in Somalia. Somalia has limited
20808 information available, and the numerous telecom carriers were previously working under an
20809 unregulated environment. The extra prefixes were added from the contact phone numbers of
20810 the countries main telecom operators. We also have received information that a national
20811 prefix of "0" is required when dialling from different regions (e.g. Puntland, Somaliland)
20812 for some operators, so that is included here although we do not use it when formatting. -->
20813 <territory id="SO" countryCode="252" internationalPrefix="00" nationalPrefix="0">
20815 <sourceUrl>http://www.itu.int/oth/T02020000C0/en</sourceUrl>
20816 <sourceUrl>http://en.wikipedia.org/wiki/+252</sourceUrl>
20819 <!-- These follow formats online, such as http://www.hortel.net/contact_us.html -->
20820 <numberFormat pattern="(\d)(\d{6})">
20825 <format>$1 $2</format>
20827 <numberFormat pattern="(\d)(\d{7})">
20832 <format>$1 $2</format>
20834 <numberFormat pattern="(\d{2})(\d{5,7})">
20840 <format>$1 $2</format>
20842 <numberFormat pattern="(69\d)(\d{6})">
20843 <leadingDigits>69</leadingDigits>
20844 <format>$1 $2</format>
20846 <numberFormat pattern="(90\d)(\d{3})(\d{3})">
20847 <leadingDigits>90</leadingDigits>
20848 <format>$1 $2 $3</format>
20850 </availableFormats>
20852 <nationalNumberPattern>[1-79]\d{6,8}</nationalNumberPattern>
20853 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
20856 <!-- Apparently Telesom and Nationlink (Somaliland) both use the prefix 2. We exclude 28
20857 here since that is apparently used for mobile. -->
20858 <nationalNumberPattern>
20866 </nationalNumberPattern>
20867 <possibleNumberPattern>\d{7}</possibleNumberPattern>
20868 <exampleNumber>4012345</exampleNumber>
20871 <!-- 24 is used by the carrier Telesom. 28 is used by Nationlink. 6[89] are apparently used
20872 by Nationlink Somalia, 67 by Nationlink Puntland, and 61 by Hormuud. 7X is used by
20873 Somtel. 6 followed by only 7 digits is used by Telecom. Note that in June 2014 many
20874 ranges were suspended by the government. 90\d{6} was listed as one of the ranges to be
20875 suspended, but open-source contributors confirm that 907\d{6} is still in use, even if
20876 the shorter 90 ranges are no longer. -->
20877 <nationalNumberPattern>
20888 </nationalNumberPattern>
20889 <exampleNumber>71123456</exampleNumber>
20894 <territory id="SR" countryCode="597" internationalPrefix="00">
20896 <sourceUrl>http://www.itu.int/oth/T02020000C5/en</sourceUrl>
20899 <!-- Following conventions used in the Suriname Yellow Pages. -->
20900 <numberFormat pattern="(\d{3})(\d{3})">
20905 <format>$1-$2</format>
20907 <numberFormat pattern="(\d{2})(\d{2})(\d{2})">
20908 <leadingDigits>56</leadingDigits>
20909 <format>$1-$2-$3</format>
20911 <numberFormat pattern="(\d{3})(\d{4})">
20916 <format>$1-$2</format>
20918 </availableFormats>
20920 <nationalNumberPattern>[2-8]\d{5,6}</nationalNumberPattern>
20921 <possibleNumberPattern>\d{6,7}</possibleNumberPattern>
20924 <!-- Includes non-geographic WLL-CDMA Fixed Lines. -->
20925 <nationalNumberPattern>
20933 </nationalNumberPattern>
20934 <exampleNumber>211234</exampleNumber>
20937 <nationalNumberPattern>
20942 </nationalNumberPattern>
20943 <possibleNumberPattern>\d{7}</possibleNumberPattern>
20944 <exampleNumber>7412345</exampleNumber>
20947 <nationalNumberPattern>
20952 </nationalNumberPattern>
20953 <possibleNumberPattern>\d{6,7}</possibleNumberPattern>
20954 <exampleNumber>561234</exampleNumber>
20958 <!-- South Sudan -->
20959 <territory id="SS" countryCode="211" internationalPrefix="00" nationalPrefix="0">
20961 <sourceUrl>http://www.itu.int/oth/T02020000F9/en</sourceUrl>
20962 <sourceUrl>http://en.wikipedia.org/wiki/+211</sourceUrl>
20965 <numberFormat pattern="(\d{3})(\d{3})(\d{3})" nationalPrefixFormattingRule="$NP$FG">
20966 <format>$1 $2 $3</format>
20968 </availableFormats>
20970 <nationalNumberPattern>[19]\d{8}</nationalNumberPattern>
20971 <possibleNumberPattern>\d{9}</possibleNumberPattern>
20974 <nationalNumberPattern>18\d{7}</nationalNumberPattern>
20975 <exampleNumber>181234567</exampleNumber>
20978 <nationalNumberPattern>
20983 </nationalNumberPattern>
20984 <exampleNumber>977123456</exampleNumber>
20988 <!-- Sao Tome and Principe -->
20989 <territory id="ST" countryCode="239" internationalPrefix="00">
20991 <sourceUrl>http://www.itu.int/oth/T02020000B6/en</sourceUrl>
20994 <numberFormat pattern="(\d{3})(\d{4})">
20995 <format>$1 $2</format>
20997 </availableFormats>
20999 <nationalNumberPattern>[29]\d{6}</nationalNumberPattern>
21000 <possibleNumberPattern>\d{7}</possibleNumberPattern>
21003 <nationalNumberPattern>22\d{5}</nationalNumberPattern>
21004 <exampleNumber>2221234</exampleNumber>
21007 <nationalNumberPattern>9[89]\d{5}</nationalNumberPattern>
21008 <exampleNumber>9812345</exampleNumber>
21012 <!-- El Salvador -->
21013 <territory id="SV" countryCode="503" internationalPrefix="00">
21015 <sourceUrl>http://www.itu.int/oth/T020200003F/en</sourceUrl>
21016 <sourceUrl>http://www.siget.gob.sv/BusquedaPublica.aspx?pagina=3&tipo=27&titulo=t8&sector=2&ordenar=&dir=DESC</sourceUrl>
21019 <numberFormat pattern="(\d{4})(\d{4})">
21020 <leadingDigits>[267]</leadingDigits>
21021 <format>$1 $2</format>
21023 <numberFormat pattern="(\d{3})(\d{4})">
21024 <leadingDigits>[89]</leadingDigits>
21025 <format>$1 $2</format>
21027 <numberFormat pattern="(\d{3})(\d{4})(\d{4})">
21028 <leadingDigits>[89]</leadingDigits>
21029 <format>$1 $2 $3</format>
21031 </availableFormats>
21033 <nationalNumberPattern>
21035 [89]\d{6}(?:\d{4})?
21036 </nationalNumberPattern>
21037 <possibleNumberPattern>
21040 </possibleNumberPattern>
21043 <!-- Numbers starting with 20, 27, 28 and 29 are reserved but not yet used. -->
21044 <nationalNumberPattern>2[1-6]\d{6}</nationalNumberPattern>
21045 <possibleNumberPattern>\d{8}</possibleNumberPattern>
21046 <exampleNumber>21234567</exampleNumber>
21049 <nationalNumberPattern>[67]\d{7}</nationalNumberPattern>
21050 <possibleNumberPattern>\d{8}</possibleNumberPattern>
21051 <exampleNumber>70123456</exampleNumber>
21054 <!-- Toll free numbers are either 800 NNNN or 800 NNNN NNNN. -->
21055 <nationalNumberPattern>800\d{4}(?:\d{4})?</nationalNumberPattern>
21056 <possibleNumberPattern>\d{7}(?:\d{4})?</possibleNumberPattern>
21057 <exampleNumber>8001234</exampleNumber>
21060 <!-- Premium rate numbers are either 900 NNNN or 900 NNNN NNNN. -->
21061 <nationalNumberPattern>900\d{4}(?:\d{4})?</nationalNumberPattern>
21062 <possibleNumberPattern>\d{7}(?:\d{4})?</possibleNumberPattern>
21063 <exampleNumber>9001234</exampleNumber>
21067 <!-- Sint Maarten -->
21068 <territory id="SX" countryCode="1" leadingDigits="721" nationalPrefix="1"
21069 internationalPrefix="011">
21071 <sourceUrl>http://www.nanpa.com/pdf/PL_429.pdf</sourceUrl>
21072 <sourceUrl>http://www.itu.int/oth/T02020000F7/en</sourceUrl>
21075 <!-- NANPA country - uses US formatting rules -->
21076 <nationalNumberPattern>[5789]\d{9}</nationalNumberPattern>
21077 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
21080 <nationalNumberPattern>
21086 </nationalNumberPattern>
21087 <exampleNumber>7215425678</exampleNumber>
21090 <!-- We assume we can send SMSs to the Fixed GSM numbers mentioned in the plan and hence
21091 include these as mobile numbers. -->
21092 <nationalNumberPattern>
21099 </nationalNumberPattern>
21100 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21101 <exampleNumber>7215205678</exampleNumber>
21104 <nationalNumberPattern>
21113 </nationalNumberPattern>
21114 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21115 <exampleNumber>8002123456</exampleNumber>
21118 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
21119 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21120 <exampleNumber>9002123456</exampleNumber>
21123 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
21124 <nationalNumberPattern>
21132 </nationalNumberPattern>
21133 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21134 <exampleNumber>5002345678</exampleNumber>
21138 <!-- Syrian Arab Republic -->
21139 <territory id="SY" countryCode="963" internationalPrefix="00"
21140 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
21141 nationalPrefixOptionalWhenFormatting="true">
21143 <sourceUrl>http://www.itu.int/oth/T02020000C9/en</sourceUrl>
21144 <sourceUrl>http://en.wikipedia.org/wiki/%2B963</sourceUrl>
21147 <numberFormat pattern="(\d{2})(\d{3})(\d{3,4})">
21148 <leadingDigits>[1-5]</leadingDigits>
21149 <format>$1 $2 $3</format>
21151 <numberFormat pattern="(9\d{2})(\d{3})(\d{3})">
21152 <leadingDigits>9</leadingDigits>
21153 <format>$1 $2 $3</format>
21155 </availableFormats>
21157 <nationalNumberPattern>[1-59]\d{7,8}</nationalNumberPattern>
21158 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
21161 <!-- Numbers with the 21 prefix are made optionally 1-digit longer based on numbers found on
21163 <nationalNumberPattern>
21181 </nationalNumberPattern>
21182 <exampleNumber>112345678</exampleNumber>
21185 <!-- Numbers have been found on the Internet for the prefixes 922, 93[046-8],
21186 95[138], and 96[05]. -->
21187 <nationalNumberPattern>
21196 </nationalNumberPattern>
21197 <possibleNumberPattern>\d{9}</possibleNumberPattern>
21198 <exampleNumber>944567890</exampleNumber>
21200 <!-- No tollFree or premiumRate information can be found. -->
21204 <territory id="SZ" countryCode="268" internationalPrefix="00" leadingZeroPossible="true">
21206 <sourceUrl>http://www.itu.int/oth/T02020000C6/en</sourceUrl>
21209 <numberFormat pattern="(\d{4})(\d{4})">
21210 <leadingDigits>[027]</leadingDigits>
21211 <format>$1 $2</format>
21213 </availableFormats>
21215 <nationalNumberPattern>[027]\d{7}</nationalNumberPattern>
21216 <possibleNumberPattern>\d{8}</possibleNumberPattern>
21218 <noInternationalDialling>
21219 <nationalNumberPattern>0800\d{4}</nationalNumberPattern>
21220 <possibleNumberPattern>\d{8}</possibleNumberPattern>
21221 <exampleNumber>08001234</exampleNumber>
21222 </noInternationalDialling>
21224 <nationalNumberPattern>
21249 </nationalNumberPattern>
21250 <exampleNumber>22171234</exampleNumber>
21253 <nationalNumberPattern>7[6-8]\d{6}</nationalNumberPattern>
21254 <exampleNumber>76123456</exampleNumber>
21257 <nationalNumberPattern>0800\d{4}</nationalNumberPattern>
21258 <exampleNumber>08001234</exampleNumber>
21262 <!-- Tristan da Cunha -->
21263 <territory id="TA" countryCode="290" internationalPrefix="00">
21265 <sourceUrl>http://www.itu.int/oth/T02020000AF/en</sourceUrl>
21267 <!-- Numbers are formatted as a block. Shares a country code with Saint Helena. -->
21269 <nationalNumberPattern>8\d{3}</nationalNumberPattern>
21270 <possibleNumberPattern>\d{4}</possibleNumberPattern>
21273 <nationalNumberPattern>8\d{3}</nationalNumberPattern>
21274 <exampleNumber>8999</exampleNumber>
21277 <nationalNumberPattern>NA</nationalNumberPattern>
21278 <possibleNumberPattern>NA</possibleNumberPattern>
21282 <!-- Turks and Caicos Islands -->
21283 <territory id="TC" countryCode="1" leadingDigits="649" nationalPrefix="1"
21284 internationalPrefix="011">
21286 <sourceUrl>http://www.itu.int/oth/T02020000D8/en</sourceUrl>
21289 <!-- NANPA country - uses US formatting rules -->
21290 <nationalNumberPattern>[5689]\d{9}</nationalNumberPattern>
21291 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
21294 <nationalNumberPattern>
21302 </nationalNumberPattern>
21303 <exampleNumber>6497121234</exampleNumber>
21306 <!-- Extra prefixes 246, 247, 346 found online and in the yellow pages. -->
21307 <nationalNumberPattern>
21319 </nationalNumberPattern>
21320 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21321 <exampleNumber>6492311234</exampleNumber>
21324 <nationalNumberPattern>
21333 </nationalNumberPattern>
21334 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21335 <exampleNumber>8002345678</exampleNumber>
21338 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
21339 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21340 <exampleNumber>9002345678</exampleNumber>
21343 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
21344 <nationalNumberPattern>
21352 </nationalNumberPattern>
21353 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21354 <exampleNumber>5002345678</exampleNumber>
21357 <nationalNumberPattern>64971[01]\d{4}</nationalNumberPattern>
21358 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21359 <exampleNumber>6497101234</exampleNumber>
21364 <!-- The international prefix includes 16 as the international manual exchange. -->
21365 <territory id="TD" countryCode="235" preferredInternationalPrefix="00"
21366 internationalPrefix="00|16">
21368 <sourceUrl>http://www.itu.int/oth/T0202000029/en</sourceUrl>
21372 pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
21373 <format>$1 $2 $3 $4</format>
21375 </availableFormats>
21377 <nationalNumberPattern>[2679]\d{7}</nationalNumberPattern>
21378 <possibleNumberPattern>\d{8}</possibleNumberPattern>
21381 <nationalNumberPattern>
21387 </nationalNumberPattern>
21388 <exampleNumber>22501234</exampleNumber>
21391 <!-- Sotel Tchad "SALAM" (77 XX XX XX) is classified as a fixed operator in the plan, but it
21392 also says numbers starting with 7 are mobile numbers. Putting under mobile for now.
21393 Also adding 6[028] and 63[5-9] which are operated by Airtel. -->
21394 <nationalNumberPattern>
21403 </nationalNumberPattern>
21404 <exampleNumber>63012345</exampleNumber>
21408 <!-- French Southern Territories -->
21409 <!-- id="TF" countryCode="262" internationalPrefix="00" nationalPrefix="0" -->
21410 <!-- This country is not covered due to lack of information about its numbering plan. It has 140
21411 temporary inhabitants. -->
21414 <territory id="TG" countryCode="228" internationalPrefix="00">
21416 <sourceUrl>http://www.itu.int/oth/T02020000D1/en</sourceUrl>
21419 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
21420 <format>$1 $2 $3 $4</format>
21422 </availableFormats>
21424 <nationalNumberPattern>[29]\d{7}</nationalNumberPattern>
21425 <possibleNumberPattern>\d{8}</possibleNumberPattern>
21428 <nationalNumberPattern>
21437 </nationalNumberPattern>
21438 <exampleNumber>22212345</exampleNumber>
21441 <!-- Prefix 93 is from an open-source bug report -->
21442 <nationalNumberPattern>9[0-389]\d{6}</nationalNumberPattern>
21443 <exampleNumber>90112345</exampleNumber>
21448 <territory id="TH" countryCode="66" internationalPrefix="00"
21449 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
21450 mobileNumberPortableRegion="true">
21452 <sourceUrl>http://www.itu.int/oth/T02020000CD/en</sourceUrl>
21453 <sourceUrl>http://www.barascientific.com/bscnews/variety/emergency/Tel-4Digi.pdf</sourceUrl>
21456 <!-- Formatting patterns from wikipedia and the document itself -
21457 http://en.wikipedia.org/wiki/%2B66 -->
21458 <numberFormat pattern="(2)(\d{3})(\d{4})">
21459 <leadingDigits>2</leadingDigits>
21460 <format>$1 $2 $3</format>
21462 <numberFormat pattern="([13-9]\d)(\d{3})(\d{3,4})">
21467 <format>$1 $2 $3</format>
21469 <numberFormat nationalPrefixFormattingRule="$FG"
21470 pattern="(1[89]00)(\d{3})(\d{3})">
21471 <leadingDigits>1</leadingDigits>
21472 <format>$1 $2 $3</format>
21474 </availableFormats>
21476 <nationalNumberPattern>
21479 </nationalNumberPattern>
21480 <possibleNumberPattern>\d{4}|\d{8,10}</possibleNumberPattern>
21482 <noInternationalDialling>
21483 <nationalNumberPattern>1\d{3}</nationalNumberPattern>
21484 <possibleNumberPattern>\d{4}</possibleNumberPattern>
21485 <exampleNumber>1100</exampleNumber>
21486 </noInternationalDialling>
21488 <!-- Numbers online have been found that start with 20, despite the ITU doc not covering
21490 <nationalNumberPattern>
21498 </nationalNumberPattern>
21499 <possibleNumberPattern>\d{8}</possibleNumberPattern>
21500 <exampleNumber>21234567</exampleNumber>
21503 <!-- Numbers found online starting with 62. 14 and 63 are from an open-source bug report,
21504 we couldn't find evidence of these specifically being in use but this article
21505 http://www.prachachat.net/news_detail.php?newsid=1395732787&grpid=03&catid=06&subcatid=0600
21506 talks about prefix 6 and 1 being cleared for mobile use. -->
21507 <nationalNumberPattern>
21513 </nationalNumberPattern>
21514 <possibleNumberPattern>\d{9}</possibleNumberPattern>
21515 <exampleNumber>812345678</exampleNumber>
21517 <!-- http://en.wikipedia.org/wiki/Toll-free_telephone_number -->
21519 <nationalNumberPattern>1800\d{6}</nationalNumberPattern>
21520 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21521 <exampleNumber>1800123456</exampleNumber>
21524 <nationalNumberPattern>1900\d{6}</nationalNumberPattern>
21525 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21526 <exampleNumber>1900123456</exampleNumber>
21529 <!-- The ITU document says that the 89 prefix is also VOIP but there are lots of numbers
21530 online to suggest they are actually used as mobile numbers. -->
21531 <nationalNumberPattern>6[08]\d{7}</nationalNumberPattern>
21532 <possibleNumberPattern>\d{9}</possibleNumberPattern>
21533 <exampleNumber>601234567</exampleNumber>
21536 <!-- 4-digit numbers are classified under UAN. Most of these are commercial numbers, and
21537 their costs range from free to 6 Baht/min. -->
21538 <nationalNumberPattern>1\d{3}</nationalNumberPattern>
21539 <possibleNumberPattern>\d{4}</possibleNumberPattern>
21540 <exampleNumber>1100</exampleNumber>
21544 <!-- Tajikistan -->
21545 <territory id="TJ" countryCode="992" preferredInternationalPrefix="8~10"
21546 internationalPrefix="810" nationalPrefix="8"
21547 nationalPrefixFormattingRule="($NP) $FG"
21548 nationalPrefixOptionalWhenFormatting="true">
21550 <sourceUrl>http://www.itu.int/oth/T02020000CA/en</sourceUrl>
21553 <numberFormat pattern="([349]\d{2})(\d{2})(\d{4})">
21558 <format>$1 $2 $3</format>
21560 <numberFormat pattern="([459]\d)(\d{3})(\d{4})">
21569 <format>$1 $2 $3</format>
21571 <numberFormat pattern="(331700)(\d)(\d{2})">
21572 <leadingDigits>331</leadingDigits>
21573 <leadingDigits>3317</leadingDigits>
21574 <leadingDigits>33170</leadingDigits>
21575 <leadingDigits>331700</leadingDigits>
21576 <format>$1 $2 $3</format>
21578 <numberFormat pattern="(\d{4})(\d)(\d{4})">
21579 <leadingDigits>3[1-5]</leadingDigits>
21589 <format>$1 $2 $3</format>
21591 </availableFormats>
21593 <nationalNumberPattern>[3-59]\d{8}</nationalNumberPattern>
21594 <possibleNumberPattern>\d{3,9}</possibleNumberPattern>
21597 <nationalNumberPattern>
21613 </nationalNumberPattern>
21614 <exampleNumber>372123456</exampleNumber>
21617 <!-- Adding 90 prefix as SMS messages could be successfully delivered to these mobile
21618 numbers, and 50[12] for TCell from bug reports. -->
21619 <nationalNumberPattern>
21624 </nationalNumberPattern>
21625 <possibleNumberPattern>\d{9}</possibleNumberPattern>
21626 <exampleNumber>917123456</exampleNumber>
21628 <!-- No tollFree or premiumRate information can be found. -->
21632 <territory id="TK" countryCode="690" internationalPrefix="00">
21634 <sourceUrl>http://www.itu.int/oth/T02020000D2/en</sourceUrl>
21637 <nationalNumberPattern>[2-9]\d{3}</nationalNumberPattern>
21638 <possibleNumberPattern>\d{4}</possibleNumberPattern>
21641 <nationalNumberPattern>[2-4]\d{3}</nationalNumberPattern>
21642 <!-- The example number is the contact number from the ITU document. -->
21643 <exampleNumber>3010</exampleNumber>
21646 <nationalNumberPattern>[5-9]\d{3}</nationalNumberPattern>
21647 <exampleNumber>5190</exampleNumber>
21651 <!-- Timor-Leste (East Timor) -->
21652 <territory id="TL" countryCode="670" internationalPrefix="00">
21654 <sourceUrl>http://www.itu.int/oth/T02020000D0/en</sourceUrl>
21657 <numberFormat pattern="(\d{3})(\d{4})">
21658 <leadingDigits>[2-489]</leadingDigits>
21659 <format>$1 $2</format>
21661 <!-- Since numbers grew an extra digit, we have no indication of how people are formatting
21662 them. If we see another pattern being used, we should change this later. -->
21663 <numberFormat pattern="(\d{4})(\d{4})">
21664 <leadingDigits>7</leadingDigits>
21665 <format>$1 $2</format>
21667 </availableFormats>
21669 <nationalNumberPattern>
21672 </nationalNumberPattern>
21673 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
21676 <nationalNumberPattern>
21682 </nationalNumberPattern>
21683 <possibleNumberPattern>\d{7}</possibleNumberPattern>
21684 <exampleNumber>2112345</exampleNumber>
21687 <nationalNumberPattern>7[3-8]\d{6}</nationalNumberPattern>
21688 <possibleNumberPattern>\d{8}</possibleNumberPattern>
21689 <exampleNumber>77212345</exampleNumber>
21692 <nationalNumberPattern>80\d{5}</nationalNumberPattern>
21693 <possibleNumberPattern>\d{7}</possibleNumberPattern>
21694 <exampleNumber>8012345</exampleNumber>
21697 <nationalNumberPattern>90\d{5}</nationalNumberPattern>
21698 <possibleNumberPattern>\d{7}</possibleNumberPattern>
21699 <exampleNumber>9012345</exampleNumber>
21701 <!-- We don't include paging or voicemail because the identified paging range was used by
21702 mobile previously, and for voicemail, it is unclear if the 2012 change affected these
21703 numbers, or if the range was indeed previously used for voicemail at all. -->
21705 <!-- We presume this wasn't affected by the numbering plan update. -->
21706 <nationalNumberPattern>70\d{5}</nationalNumberPattern>
21707 <possibleNumberPattern>\d{7}</possibleNumberPattern>
21708 <exampleNumber>7012345</exampleNumber>
21712 <!-- Turkmenistan -->
21713 <territory id="TM" countryCode="993" preferredInternationalPrefix="8~10"
21714 internationalPrefix="810" nationalPrefix="8"
21715 nationalPrefixFormattingRule="($NP $FG)">
21717 <sourceUrl>http://www.itu.int/oth/T02020000D7/en</sourceUrl>
21718 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Turkmenistan</sourceUrl>
21721 <!-- There doesn't seem to be a standardized format. The format below is based on the
21722 Turkmenistan embassy at
21723 http://www.turkmenistanembassy.org/turkmen/info/contact.html -->
21724 <numberFormat pattern="(\d{2})(\d{2})(\d{2})(\d{2})">
21725 <leadingDigits>12</leadingDigits>
21726 <format>$1 $2-$3-$4</format>
21728 <numberFormat pattern="(\d{2})(\d{6})" nationalPrefixFormattingRule="$NP $FG">
21729 <leadingDigits>6</leadingDigits>
21730 <format>$1 $2</format>
21732 <numberFormat pattern="(\d{3})(\d)(\d{2})(\d{2})">
21737 <format>$1 $2-$3-$4</format>
21739 </availableFormats>
21741 <nationalNumberPattern>[1-6]\d{7}</nationalNumberPattern>
21742 <possibleNumberPattern>\d{8}</possibleNumberPattern>
21745 <!-- Additional prefixes from the wikipedia page. -->
21746 <nationalNumberPattern>
21772 </nationalNumberPattern>
21773 <exampleNumber>12345678</exampleNumber>
21776 <!-- According to feedback from users, the carrier Altyn Asyr is the only one currently
21777 operating, with the numbers 6[3-5]\d{6}. MTS used to operate the ranges 6[6-8] but this
21778 has been suspended. It is unclear whether it will resume. We support both ranges in the
21779 meantime. The range 62 seems also now to be in use, according to numbers found online.
21781 <nationalNumberPattern>6[2-8]\d{6}</nationalNumberPattern>
21782 <exampleNumber>66123456</exampleNumber>
21784 <!-- No tollFree or premiumRate information can be found. -->
21788 <territory id="TN" countryCode="216" internationalPrefix="00">
21790 <sourceUrl>http://www.itu.int/oth/T02020000D5/en</sourceUrl>
21791 <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>
21792 <sourceUrl>http://www.tunisietelecom.tn/tt/internet/fr/pme/fixe/numeros_acceuil</sourceUrl>
21795 <numberFormat pattern="(\d{2})(\d{3})(\d{3})">
21796 <format>$1 $2 $3</format>
21798 </availableFormats>
21800 <nationalNumberPattern>[2-57-9]\d{7}</nationalNumberPattern>
21801 <possibleNumberPattern>\d{8}</possibleNumberPattern>
21804 <!-- 3[012] numbers are no longer listed in the ITU doc, but we support them based on
21805 online searches. -->
21806 <nationalNumberPattern>
21810 </nationalNumberPattern>
21811 <exampleNumber>71234567</exampleNumber>
21814 <!-- Numbers starting with 5 are no longer listed in the ITU doc, but we support them based
21815 on online searches and Wikipedia. -->
21816 <nationalNumberPattern>
21821 </nationalNumberPattern>
21822 <exampleNumber>20123456</exampleNumber>
21825 <!-- ITU lists 80 xx xx xx, but the document published by Tunisie Telecom has more specific
21826 information which is followed here. -->
21827 <nationalNumberPattern>8010\d{4}</nationalNumberPattern>
21828 <exampleNumber>80101234</exampleNumber>
21831 <nationalNumberPattern>88\d{6}</nationalNumberPattern>
21832 <exampleNumber>88123456</exampleNumber>
21835 <!-- 8110xxxx numbers are listed as being "discounted non-geographical numbers" and are put
21836 here for now. In the future we might consider them as UAN.
21837 ITU lists 82 xx xx xx, but the document published by Tunisie Telecom has more specific
21838 information which is followed here. -->
21839 <nationalNumberPattern>8[12]10\d{4}</nationalNumberPattern>
21840 <exampleNumber>81101234</exampleNumber>
21845 <territory id="TO" countryCode="676" internationalPrefix="00" leadingZeroPossible="true">
21847 <sourceUrl>http://www.itu.int/oth/T02020000D3/en</sourceUrl>
21848 <sourceUrl>http://www.wtng.info/wtng-676-to.html</sourceUrl>
21851 <numberFormat pattern="(\d{2})(\d{3})">
21857 <format>$1-$2</format>
21859 <numberFormat pattern="(\d{3})(\d{4})">
21864 <format>$1 $2</format>
21866 <numberFormat pattern="(\d{4})(\d{3})">
21867 <leadingDigits>0</leadingDigits>
21868 <format>$1 $2</format>
21870 </availableFormats>
21872 <nationalNumberPattern>[02-8]\d{4,6}</nationalNumberPattern>
21873 <possibleNumberPattern>\d{5,7}</possibleNumberPattern>
21876 <nationalNumberPattern>
21885 </nationalNumberPattern>
21886 <possibleNumberPattern>\d{5}</possibleNumberPattern>
21887 <exampleNumber>20123</exampleNumber>
21890 <!-- TCC mobile numbers were given a prefix of "77" in 2009, although this is not mentioned
21891 in their ITU document. Numbers with a prefix of "75" and "84" have also been found. -->
21892 <nationalNumberPattern>
21897 </nationalNumberPattern>
21898 <possibleNumberPattern>\d{7}</possibleNumberPattern>
21899 <exampleNumber>7715123</exampleNumber>
21902 <nationalNumberPattern>0800\d{3}</nationalNumberPattern>
21903 <possibleNumberPattern>\d{7}</possibleNumberPattern>
21904 <exampleNumber>0800222</exampleNumber>
21909 <territory id="TR" countryCode="90" internationalPrefix="00" nationalPrefix="0"
21910 mobileNumberPortableRegion="true">
21912 <sourceUrl>http://en.wikipedia.org/wiki/%2B90</sourceUrl>
21913 <sourceUrl>http://www.itu.int/oth/T02020000D6/en</sourceUrl>
21916 <numberFormat nationalPrefixFormattingRule="($NP$FG)" pattern="(\d{3})(\d{3})(\d{4})"
21917 nationalPrefixOptionalWhenFormatting="true">
21925 <format>$1 $2 $3</format>
21927 <numberFormat nationalPrefixFormattingRule="$NP$FG" pattern="(\d{3})(\d{3})(\d{4})"
21928 nationalPrefixOptionalWhenFormatting="true">
21929 <leadingDigits>[589]</leadingDigits>
21930 <format>$1 $2 $3</format>
21932 <numberFormat pattern="(444)(\d{1})(\d{3})">
21933 <leadingDigits>444</leadingDigits>
21934 <format>$1 $2 $3</format>
21936 </availableFormats>
21938 <nationalNumberPattern>
21941 </nationalNumberPattern>
21942 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
21944 <noInternationalDialling>
21945 <nationalNumberPattern>444\d{4}</nationalNumberPattern>
21946 <possibleNumberPattern>\d{7}</possibleNumberPattern>
21947 <exampleNumber>4441444</exampleNumber>
21948 </noInternationalDialling>
21950 <!-- Includes numbers starting with 392 for Northern Cyprus. -->
21951 <nationalNumberPattern>
21971 </nationalNumberPattern>
21972 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21973 <exampleNumber>2123456789</exampleNumber>
21976 <!-- There are some differences between the Turkish and English wikipedia pages here, and
21977 some number prefixes do not seem to be able to be found online. Omitting 500, 508 and
21978 509 from the English page because of this. -->
21979 <nationalNumberPattern>
21987 </nationalNumberPattern>
21988 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21989 <exampleNumber>5012345678</exampleNumber>
21992 <nationalNumberPattern>512\d{7}</nationalNumberPattern>
21993 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21994 <exampleNumber>5123456789</exampleNumber>
21997 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
21998 <possibleNumberPattern>\d{10}</possibleNumberPattern>
21999 <exampleNumber>8001234567</exampleNumber>
22002 <nationalNumberPattern>900\d{7}</nationalNumberPattern>
22003 <possibleNumberPattern>\d{10}</possibleNumberPattern>
22004 <exampleNumber>9001234567</exampleNumber>
22007 <!-- http://www.turktelekom.com.tr/tt/portal/News/Archive/7-digit-special-service-number-starting-with-444 -->
22008 <nationalNumberPattern>
22011 </nationalNumberPattern>
22012 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
22013 <exampleNumber>4441444</exampleNumber>
22017 <!-- Trinidad and Tobago -->
22018 <territory id="TT" countryCode="1" leadingDigits="868" nationalPrefix="1"
22019 internationalPrefix="011">
22021 <sourceUrl>http://www.itu.int/oth/T02020000D4/en</sourceUrl>
22024 <!-- NANPA country - uses US formatting rules -->
22025 <nationalNumberPattern>[589]\d{9}</nationalNumberPattern>
22026 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
22029 <nationalNumberPattern>
22044 </nationalNumberPattern>
22045 <exampleNumber>8682211234</exampleNumber>
22048 <nationalNumberPattern>
22070 </nationalNumberPattern>
22071 <possibleNumberPattern>\d{10}</possibleNumberPattern>
22072 <exampleNumber>8682911234</exampleNumber>
22075 <nationalNumberPattern>
22084 </nationalNumberPattern>
22085 <possibleNumberPattern>\d{10}</possibleNumberPattern>
22086 <exampleNumber>8002345678</exampleNumber>
22089 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
22090 <possibleNumberPattern>\d{10}</possibleNumberPattern>
22091 <exampleNumber>9002345678</exampleNumber>
22094 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
22095 <nationalNumberPattern>
22103 </nationalNumberPattern>
22104 <possibleNumberPattern>\d{10}</possibleNumberPattern>
22105 <exampleNumber>5002345678</exampleNumber>
22110 <territory id="TV" countryCode="688" internationalPrefix="00">
22112 <sourceUrl>http://www.itu.int/oth/T02020000D9/en</sourceUrl>
22113 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Tuvalu</sourceUrl>
22115 <!-- Numbers are formatted as a block. -->
22117 <nationalNumberPattern>[29]\d{4,5}</nationalNumberPattern>
22118 <possibleNumberPattern>\d{5,6}</possibleNumberPattern>
22121 <nationalNumberPattern>2[02-9]\d{3}</nationalNumberPattern>
22122 <possibleNumberPattern>\d{5}</possibleNumberPattern>
22123 <exampleNumber>20123</exampleNumber>
22126 <!-- Some numbers online can be found that are 5-digits long, and start with 90 or 91. We
22127 don't know if these are valid or not - the ITU document excludes them - so are not
22128 covering these for now. -->
22129 <nationalNumberPattern>90\d{4}</nationalNumberPattern>
22130 <possibleNumberPattern>\d{6}</possibleNumberPattern>
22131 <exampleNumber>901234</exampleNumber>
22135 <!-- Taiwan, China -->
22136 <!-- Extension symbols found on the internet so far have been #, X and Ext - so # has been
22137 chosen as the preferred extension prefix. -->
22138 <territory id="TW" countryCode="886" internationalPrefix="0(?:0[25679]|19)"
22139 nationalPrefix="0" preferredExtnPrefix="#" nationalPrefixFormattingRule="$NP$FG"
22140 mobileNumberPortableRegion="true">
22142 <sourceUrl>http://www.itu.int/oth/T02020000EB/en</sourceUrl>
22145 <numberFormat pattern="([2-8])(\d{3,4})(\d{4})">
22150 <format>$1 $2 $3</format>
22152 <numberFormat pattern="([89]\d{2})(\d{3})(\d{3})">
22157 <format>$1 $2 $3</format>
22159 <numberFormat pattern="(70)(\d{4})(\d{4})">
22160 <leadingDigits>70</leadingDigits>
22161 <format>$1 $2 $3</format>
22163 </availableFormats>
22165 <nationalNumberPattern>
22168 </nationalNumberPattern>
22169 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
22172 <nationalNumberPattern>[2-8]\d{7,8}</nationalNumberPattern>
22173 <possibleNumberPattern>\d{8,9}</possibleNumberPattern>
22174 <exampleNumber>21234567</exampleNumber>
22177 <nationalNumberPattern>9\d{8}</nationalNumberPattern>
22178 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22179 <exampleNumber>912345678</exampleNumber>
22182 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
22183 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22184 <exampleNumber>800123456</exampleNumber>
22187 <nationalNumberPattern>900\d{6}</nationalNumberPattern>
22188 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22189 <exampleNumber>900123456</exampleNumber>
22191 <!-- http://www.chief.com.tw/telecom_eng/front/bin/ptlist.phtml?Category=107 -->
22193 <nationalNumberPattern>70\d{8}</nationalNumberPattern>
22194 <possibleNumberPattern>\d{10}</possibleNumberPattern>
22195 <exampleNumber>7012345678</exampleNumber>
22200 <territory id="TZ" countryCode="255" internationalPrefix="00[056]"
22201 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
22203 <sourceUrl>http://www.itu.int/oth/T02020000CB/en</sourceUrl>
22206 <numberFormat pattern="([24]\d)(\d{3})(\d{4})">
22207 <leadingDigits>[24]</leadingDigits>
22208 <format>$1 $2 $3</format>
22210 <numberFormat pattern="([67]\d{2})(\d{3})(\d{3})">
22211 <leadingDigits>[67]</leadingDigits>
22212 <format>$1 $2 $3</format>
22214 <!-- Formatting for special numbers from http://www.tcra.go.tz -->
22215 <numberFormat pattern="([89]\d{2})(\d{2})(\d{4})">
22216 <leadingDigits>[89]</leadingDigits>
22217 <format>$1 $2 $3</format>
22219 </availableFormats>
22221 <nationalNumberPattern>\d{9}</nationalNumberPattern>
22222 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
22225 <nationalNumberPattern>2[2-8]\d{7}</nationalNumberPattern>
22226 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
22227 <exampleNumber>222345678</exampleNumber>
22230 <nationalNumberPattern>
22235 </nationalNumberPattern>
22236 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22237 <exampleNumber>612345678</exampleNumber>
22240 <nationalNumberPattern>80[08]\d{6}</nationalNumberPattern>
22241 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22242 <exampleNumber>800123456</exampleNumber>
22245 <nationalNumberPattern>90\d{7}</nationalNumberPattern>
22246 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22247 <exampleNumber>900123456</exampleNumber>
22250 <nationalNumberPattern>
22255 </nationalNumberPattern>
22256 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22257 <exampleNumber>840123456</exampleNumber>
22260 <nationalNumberPattern>41\d{7}</nationalNumberPattern>
22261 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22262 <exampleNumber>412345678</exampleNumber>
22267 <territory id="UA" countryCode="380" preferredInternationalPrefix="0~0"
22268 internationalPrefix="00"
22269 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
22271 <sourceUrl>http://www.itu.int/oth/T02020000DB/en</sourceUrl>
22272 <sourceUrl>http://en.wikipedia.org/wiki/%2B380</sourceUrl>
22275 <!-- City codes separated out. No definitive list has been found of what constitutes the
22276 area code - http://www.ua.all-biz.info/guide/phonecodes is useful but not error-free.
22277 Have used local yellow pages guidelines, Google searches and regression tests to
22278 reverse-engineer these rules as well as bugs. -->
22279 <numberFormat pattern="([3-689]\d)(\d{3})(\d{4})">
22311 <format>$1 $2 $3</format>
22313 <numberFormat pattern="([3-689]\d{2})(\d{3})(\d{3})">
22350 <format>$1 $2 $3</format>
22352 <numberFormat pattern="([3-6]\d{3})(\d{5})">
22408 <format>$1 $2</format>
22410 </availableFormats>
22412 <nationalNumberPattern>[3-689]\d{8}</nationalNumberPattern>
22413 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
22416 <nationalNumberPattern>
22423 </nationalNumberPattern>
22424 <exampleNumber>311234567</exampleNumber>
22427 <nationalNumberPattern>
22434 </nationalNumberPattern>
22435 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22436 <exampleNumber>391234567</exampleNumber>
22439 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
22440 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22441 <exampleNumber>800123456</exampleNumber>
22444 <nationalNumberPattern>900\d{6}</nationalNumberPattern>
22445 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22446 <exampleNumber>900123456</exampleNumber>
22448 <!-- Added based on: http://www.didx.net/did/ShowCountry/Country/AreaDesc/Area/9442 -->
22450 <nationalNumberPattern>89\d{7}</nationalNumberPattern>
22451 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22452 <exampleNumber>891234567</exampleNumber>
22457 <territory id="UG" countryCode="256" internationalPrefix="00[057]"
22458 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
22460 <sourceUrl>http://www.itu.int/oth/T02020000F1/en</sourceUrl>
22461 <sourceUrl>http://www.ucc.co.ug/licensing/ugandaNumberingPlan.pdf</sourceUrl>
22464 <numberFormat pattern="(\d{3})(\d{6})">
22476 <format>$1 $2</format>
22478 <numberFormat pattern="(\d{2})(\d{7})">
22486 <format>$1 $2</format>
22488 <numberFormat pattern="(2024)(\d{5})">
22489 <leadingDigits>2024</leadingDigits>
22490 <format>$1 $2</format>
22492 </availableFormats>
22494 <nationalNumberPattern>\d{9}</nationalNumberPattern>
22495 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
22498 <!-- Ranges with prefixes 20[5-8] are "not yet operational" as of Feb. 2013. -->
22499 <nationalNumberPattern>
22512 </nationalNumberPattern>
22513 <!-- The ITU plan calls for all numbers to be exactly 9 digits. However, it's not clear if
22514 local dialing is still possible. We assume it is for now. -->
22515 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
22516 <exampleNumber>312345678</exampleNumber>
22519 <!-- Added 79[5-9] and 707 from online numbers found with this prefix. -->
22520 <!-- Ranges with prefixes 7[46] are "not yet operational" as of Jun. 2013. -->
22521 <!-- Ranges with prefixes 2030 or 723 are "not yet operational" as of Oct. 2014. -->
22522 <nationalNumberPattern>
22531 </nationalNumberPattern>
22532 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22533 <exampleNumber>712345678</exampleNumber>
22536 <nationalNumberPattern>800[123]\d{5}</nationalNumberPattern>
22537 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22538 <exampleNumber>800123456</exampleNumber>
22541 <nationalNumberPattern>90[123]\d{6}</nationalNumberPattern>
22542 <possibleNumberPattern>\d{9}</possibleNumberPattern>
22543 <exampleNumber>901123456</exampleNumber>
22547 <!-- United States -->
22548 <!-- Note the national prefix of US is the same as its country code, and when formatting phone
22549 numbers in the national format, it is not included. Therefore, we omit it here to make
22550 formatting consistent with the rest of the world. The same applies to all the
22551 countries/regions under NANPA -->
22552 <!-- The national prefix of "1" here is the same as the country code. It is not used by default
22553 when formatting, but is set here so that users who are calling formatByPattern can specify
22554 NationalPrefixFormattingRule if they want to. -->
22555 <territory id="US" countryCode="1" internationalPrefix="011" mainCountryForCode="true"
22556 nationalPrefix="1" nationalPrefixOptionalWhenFormatting="true"
22557 mobileNumberPortableRegion="true">
22559 <sourceUrl>http://www.nanpa.com/reports/reports_npa.html</sourceUrl>
22560 <sourceUrl>http://en.wikipedia.org/wiki/North_American_Numbering_Plan</sourceUrl>
22563 <numberFormat pattern="(\d{3})(\d{4})">
22564 <format>$1-$2</format>
22565 <intlFormat>NA</intlFormat>
22567 <numberFormat pattern="(\d{3})(\d{3})(\d{4})">
22568 <format>($1) $2-$3</format>
22569 <!-- A different pattern is used when formatting internationally, as the area code is no
22570 longer optional and should not be in brackets. -->
22571 <intlFormat>$1-$2-$3</intlFormat>
22573 </availableFormats>
22575 <nationalNumberPattern>[2-9]\d{9}</nationalNumberPattern>
22576 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
22579 <nationalNumberPattern>
22667 </nationalNumberPattern>
22668 <exampleNumber>2015555555</exampleNumber>
22671 <nationalNumberPattern>
22759 </nationalNumberPattern>
22760 <exampleNumber>2015555555</exampleNumber>
22763 <nationalNumberPattern>
22772 </nationalNumberPattern>
22773 <possibleNumberPattern>\d{10}</possibleNumberPattern>
22774 <exampleNumber>8002345678</exampleNumber>
22777 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
22778 <possibleNumberPattern>\d{10}</possibleNumberPattern>
22779 <exampleNumber>9002345678</exampleNumber>
22782 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
22783 <nationalNumberPattern>
22791 </nationalNumberPattern>
22792 <possibleNumberPattern>\d{10}</possibleNumberPattern>
22793 <exampleNumber>5002345678</exampleNumber>
22798 <!-- International long-distance providers can be dialled by dialling 01 followed by a carrier
22799 code JK, where J = [3-9] and K is any digit. -->
22800 <territory id="UY" countryCode="598" internationalPrefix="0(?:1[3-9]\d|0)"
22801 preferredInternationalPrefix="00" nationalPrefix="0" preferredExtnPrefix=" int. ">
22803 <sourceUrl>http://www.itu.int/oth/T02020000E0/en</sourceUrl>
22804 <sourceUrl>http://www.ursec.gub.uy</sourceUrl>
22805 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Uruguay</sourceUrl>
22808 <!-- Following paginasamarillas.com.uy formatting. -->
22809 <numberFormat pattern="(\d{4})(\d{4})">
22810 <leadingDigits>[24]</leadingDigits>
22811 <format>$1 $2</format>
22813 <!-- Including the national prefix here since URSEC does when formatting these. -->
22814 <numberFormat pattern="(\d{2})(\d{3})(\d{3})" nationalPrefixFormattingRule="$NP$FG">
22815 <leadingDigits>9[1-9]</leadingDigits>
22816 <format>$1 $2 $3</format>
22818 <numberFormat pattern="(\d{3})(\d{4})" nationalPrefixFormattingRule="$NP$FG">
22819 <leadingDigits>[89]0</leadingDigits>
22820 <format>$1 $2</format>
22822 </availableFormats>
22824 <nationalNumberPattern>[2489]\d{6,7}</nationalNumberPattern>
22825 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
22828 <nationalNumberPattern>
22831 </nationalNumberPattern>
22832 <exampleNumber>21231234</exampleNumber>
22835 <nationalNumberPattern>9[1-9]\d{6}</nationalNumberPattern>
22836 <possibleNumberPattern>\d{8}</possibleNumberPattern>
22837 <exampleNumber>94231234</exampleNumber>
22840 <nationalNumberPattern>80[05]\d{4}</nationalNumberPattern>
22841 <possibleNumberPattern>\d{7}</possibleNumberPattern>
22842 <exampleNumber>8001234</exampleNumber>
22845 <nationalNumberPattern>90[0-8]\d{4}</nationalNumberPattern>
22846 <possibleNumberPattern>\d{7}</possibleNumberPattern>
22847 <exampleNumber>9001234</exampleNumber>
22851 <!-- Uzbekistan -->
22852 <territory id="UZ" countryCode="998" preferredInternationalPrefix="8~10"
22853 internationalPrefix="810" nationalPrefix="8"
22854 nationalPrefixFormattingRule="$NP $FG">
22856 <sourceUrl>http://www.ttts.uz/eng/telephone_codes/codes_uzb_eng</sourceUrl>
22857 <sourceUrl>http://www.itu.int/oth/T02020000E1/en</sourceUrl>
22860 <numberFormat pattern="([679]\d)(\d{3})(\d{2})(\d{2})">
22861 <format>$1 $2 $3 $4</format>
22863 </availableFormats>
22865 <nationalNumberPattern>[679]\d{8}</nationalNumberPattern>
22866 <possibleNumberPattern>\d{7,9}</possibleNumberPattern>
22869 <!-- Adding 711 from numbers found online, such as the US embassy, and 6922, which seems to
22870 be used in Namangan. -->
22871 <nationalNumberPattern>
22944 </nationalNumberPattern>
22945 <exampleNumber>662345678</exampleNumber>
22948 <!-- Adding 9[45] as suggested by http://www.ucell.uz/en/for_subscribers/how_to_call.html
22949 Adding other prefixes from http://www.weltvorwahlen.de/99861353.html, and any other
22950 prefixes Tyntec has a carrier mapped to. -->
22951 <nationalNumberPattern>
23191 </nationalNumberPattern>
23192 <exampleNumber>912345678</exampleNumber>
23194 <!-- No tollFree or premiumRate information can be found. -->
23197 <!-- Vatican City -->
23198 <!-- Note that numbers here are also accessible via Italy (+39 and prefix of 06 698) but can
23199 also be dialled with the Vatican City country code. -->
23200 <territory id="VA" countryCode="379" internationalPrefix="00" leadingZeroPossible="true">
23202 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Vatican_City</sourceUrl>
23205 <numberFormat pattern="(06)(\d{4})(\d{4})">
23206 <format>$1 $2 $3</format>
23208 </availableFormats>
23210 <nationalNumberPattern>06\d{8}</nationalNumberPattern>
23211 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23214 <nationalNumberPattern>06698\d{5}</nationalNumberPattern>
23215 <exampleNumber>0669812345</exampleNumber>
23218 <!-- We have no information on mobile numbers from the Vatican. It is probable that they use
23219 Italian mobile contracts. -->
23220 <nationalNumberPattern>NA</nationalNumberPattern>
23221 <possibleNumberPattern>NA</possibleNumberPattern>
23223 <!-- No information exists about other types of numbers. -->
23226 <!-- Saint Vincent and the Grenadines -->
23227 <territory id="VC" countryCode="1" leadingDigits="784" nationalPrefix="1"
23228 internationalPrefix="011">
23230 <sourceUrl>http://www.itu.int/oth/T02020000B3/en</sourceUrl>
23233 <!-- NANPA country - uses US formatting rules -->
23234 <nationalNumberPattern>[5789]\d{9}</nationalNumberPattern>
23235 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
23237 <!-- For 570, 571 and 572 prefixes, we believe the ITU doc incorrectly listed them to be under
23238 area code 758, which should be 784. -->
23240 <nationalNumberPattern>
23261 </nationalNumberPattern>
23262 <exampleNumber>7842661234</exampleNumber>
23265 <nationalNumberPattern>
23278 </nationalNumberPattern>
23279 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23280 <exampleNumber>7844301234</exampleNumber>
23283 <nationalNumberPattern>
23292 </nationalNumberPattern>
23293 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23294 <exampleNumber>8002345678</exampleNumber>
23297 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
23298 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23299 <exampleNumber>9002345678</exampleNumber>
23302 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
23303 <nationalNumberPattern>
23311 </nationalNumberPattern>
23312 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23313 <exampleNumber>5002345678</exampleNumber>
23318 <!-- 1XX specifies a particular carrier to route a call to, but none of these have been
23320 <territory id="VE" countryCode="58" internationalPrefix="00"
23321 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
23322 carrierCodeFormattingRule="$CC $FG">
23324 <sourceUrl>http://www.itu.int/oth/T02020000E3/en</sourceUrl>
23325 <sourceUrl>http://en.wikipedia.org/wiki/+58</sourceUrl>
23328 <numberFormat pattern="(\d{3})(\d{7})">
23329 <format>$1-$2</format>
23331 </availableFormats>
23333 <nationalNumberPattern>[24589]\d{9}</nationalNumberPattern>
23334 <!-- Open numbering plan. -->
23335 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
23338 <!-- Including region-free 500 calls here, since these are treated as local calls. Wikipedia
23339 mentions these as 5XX, but online examples that can be found are seemingly restricted
23341 <nationalNumberPattern>
23352 </nationalNumberPattern>
23353 <exampleNumber>2121234567</exampleNumber>
23356 <nationalNumberPattern>
23361 </nationalNumberPattern>
23362 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23363 <exampleNumber>4121234567</exampleNumber>
23366 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
23367 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23368 <exampleNumber>8001234567</exampleNumber>
23371 <nationalNumberPattern>900\d{7}</nationalNumberPattern>
23372 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23373 <exampleNumber>9001234567</exampleNumber>
23377 <!-- Virgin Islands, British -->
23378 <territory id="VG" countryCode="1" leadingDigits="284" nationalPrefix="1"
23379 internationalPrefix="011">
23381 <sourceUrl>http://www.itu.int/oth/T020200001E/en</sourceUrl>
23384 <!-- NANPA country - uses US formatting rules -->
23385 <nationalNumberPattern>[2589]\d{9}</nationalNumberPattern>
23386 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
23389 <!-- No data on central office codes can be found on the nanpa.com website. The codes 422
23390 and 774 have been added from numbers found in the white pages. -->
23391 <nationalNumberPattern>
23407 </nationalNumberPattern>
23408 <exampleNumber>2842291234</exampleNumber>
23411 <!-- No data on central office codes can be found on the nanpa.com website. The codes
23412 34[0-367], 446 and 54[57] have been added from numbers found in the white pages. -->
23413 <nationalNumberPattern>
23429 </nationalNumberPattern>
23430 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23431 <exampleNumber>2843001234</exampleNumber>
23434 <nationalNumberPattern>
23443 </nationalNumberPattern>
23444 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23445 <exampleNumber>8002345678</exampleNumber>
23448 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
23449 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23450 <exampleNumber>9002345678</exampleNumber>
23453 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
23454 <nationalNumberPattern>
23462 </nationalNumberPattern>
23463 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23464 <exampleNumber>5002345678</exampleNumber>
23468 <!-- Virgin Islands, United States -->
23469 <territory id="VI" countryCode="1" leadingDigits="340" nationalPrefix="1"
23470 internationalPrefix="011">
23472 <sourceUrl>http://www.itu.int/oth/T02020000DF/en</sourceUrl>
23475 <!-- NANPA country - uses US formatting rules -->
23476 <nationalNumberPattern>[3589]\d{9}</nationalNumberPattern>
23477 <possibleNumberPattern>\d{7}(?:\d{3})?</possibleNumberPattern>
23480 <!-- The ITU document seems a bit out-of-date so extra prefixes based on numbers in the
23481 yellow pages have been added, and the list of exchanges found on
23482 http://www.allareacodes.com/340 -->
23483 <nationalNumberPattern>
23517 </nationalNumberPattern>
23518 <exampleNumber>3406421234</exampleNumber>
23521 <nationalNumberPattern>
23555 </nationalNumberPattern>
23556 <exampleNumber>3406421234</exampleNumber>
23559 <nationalNumberPattern>
23568 </nationalNumberPattern>
23569 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23570 <exampleNumber>8002345678</exampleNumber>
23573 <nationalNumberPattern>900[2-9]\d{6}</nationalNumberPattern>
23574 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23575 <exampleNumber>9002345678</exampleNumber>
23578 <!-- http://www.nanpa.com/pdf/PL_466.pdf -->
23579 <nationalNumberPattern>
23587 </nationalNumberPattern>
23588 <possibleNumberPattern>\d{10}</possibleNumberPattern>
23589 <exampleNumber>5002345678</exampleNumber>
23593 <!-- Viet Nam (Vietnam) -->
23594 <territory id="VN" countryCode="84" internationalPrefix="00"
23595 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
23596 nationalPrefixOptionalWhenFormatting="true">
23598 <sourceUrl>http://www.itu.int/oth/T02020000E4/en</sourceUrl>
23599 <sourceUrl>http://en.wikipedia.org/wiki/%2B84</sourceUrl>
23602 <numberFormat pattern="([17]99)(\d{4})">
23603 <leadingDigits>[17]99</leadingDigits>
23604 <format>$1 $2</format>
23606 <numberFormat pattern="([48])(\d{4})(\d{4})">
23607 <leadingDigits>[48]</leadingDigits>
23608 <format>$1 $2 $3</format>
23610 <numberFormat pattern="([235-7]\d)(\d{4})(\d{3})">
23618 <format>$1 $2 $3</format>
23620 <numberFormat pattern="(80)(\d{5})">
23621 <leadingDigits>80</leadingDigits>
23622 <format>$1 $2</format>
23624 <numberFormat pattern="(69\d)(\d{4,5})">
23625 <leadingDigits>69</leadingDigits>
23626 <format>$1 $2</format>
23628 <numberFormat pattern="([235-7]\d{2})(\d{4})(\d{3})">
23636 <format>$1 $2 $3</format>
23638 <numberFormat pattern="(9\d)(\d{3})(\d{2})(\d{2})">
23639 <leadingDigits>9</leadingDigits>
23640 <format>$1 $2 $3 $4</format>
23642 <numberFormat pattern="(1[2689]\d)(\d{3})(\d{4})">
23650 <format>$1 $2 $3</format>
23652 <numberFormat nationalPrefixFormattingRule="$FG"
23653 pattern="(1[89]00)(\d{4,6})">
23654 <leadingDigits>1[89]0</leadingDigits>
23655 <format>$1 $2</format>
23657 </availableFormats>
23659 <nationalNumberPattern>
23663 </nationalNumberPattern>
23664 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
23666 <noInternationalDialling>
23667 <nationalNumberPattern>
23670 </nationalNumberPattern>
23671 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
23672 <exampleNumber>1992000</exampleNumber>
23673 </noInternationalDialling>
23675 <nationalNumberPattern>
23701 </nationalNumberPattern>
23702 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
23703 <exampleNumber>2101234567</exampleNumber>
23706 <nationalNumberPattern>
23716 </nationalNumberPattern>
23717 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
23718 <exampleNumber>912345678</exampleNumber>
23721 <nationalNumberPattern>1800\d{4,6}</nationalNumberPattern>
23722 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
23723 <exampleNumber>1800123456</exampleNumber>
23726 <nationalNumberPattern>1900\d{4,6}</nationalNumberPattern>
23727 <possibleNumberPattern>\d{8,10}</possibleNumberPattern>
23728 <exampleNumber>1900123456</exampleNumber>
23731 <!-- These include non-geographic fixed numbers, such as for government ministries. While
23732 listed as "private networks", they may actually be callable from within Vietnam. (They are
23733 "private" in the sense that ordinary people could not be assigned these numbers.) -->
23734 <nationalNumberPattern>
23738 </nationalNumberPattern>
23739 <possibleNumberPattern>\d{7,8}</possibleNumberPattern>
23740 <exampleNumber>1992000</exampleNumber>
23745 <territory id="VU" countryCode="678" internationalPrefix="00">
23747 <sourceUrl>http://www.itu.int/oth/T02020000E2/en</sourceUrl>
23749 <!-- Should be formatted in one block, apart from the mobile numbers. -->
23751 <numberFormat pattern="(\d{3})(\d{4})">
23752 <leadingDigits>[579]</leadingDigits>
23753 <format>$1 $2</format>
23755 </availableFormats>
23757 <nationalNumberPattern>[2-57-9]\d{4,6}</nationalNumberPattern>
23758 <possibleNumberPattern>\d{5,7}</possibleNumberPattern>
23761 <nationalNumberPattern>
23771 </nationalNumberPattern>
23772 <possibleNumberPattern>\d{5}</possibleNumberPattern>
23773 <exampleNumber>22123</exampleNumber>
23776 <nationalNumberPattern>
23784 </nationalNumberPattern>
23785 <possibleNumberPattern>\d{7}</possibleNumberPattern>
23786 <exampleNumber>5912345</exampleNumber>
23788 <!-- Using this for non-geographical numbers, since they have not been clearly defined, and
23789 for government fixed-line numbers. -->
23791 <nationalNumberPattern>
23794 </nationalNumberPattern>
23795 <possibleNumberPattern>\d{5,7}</possibleNumberPattern>
23796 <exampleNumber>30123</exampleNumber>
23800 <!-- Wallis and Futuna (Territoire français d'outre-mer) -->
23801 <territory id="WF" countryCode="681" internationalPrefix="00">
23803 <sourceUrl>http://www.itu.int/oth/T02020000E6/en</sourceUrl>
23806 <numberFormat pattern="(\d{2})(\d{2})(\d{2})">
23807 <format>$1 $2 $3</format>
23809 </availableFormats>
23811 <nationalNumberPattern>[5-7]\d{5}</nationalNumberPattern>
23812 <possibleNumberPattern>\d{6}</possibleNumberPattern>
23815 <!-- Web searching only finds examples with the 72 prefix but the ITU document states that
23816 50 and 68 are possible, so they are included here. -->
23817 <nationalNumberPattern>
23823 </nationalNumberPattern>
23824 <exampleNumber>501234</exampleNumber>
23827 <nationalNumberPattern>
23833 </nationalNumberPattern>
23834 <exampleNumber>501234</exampleNumber>
23839 <territory id="WS" countryCode="685" internationalPrefix="0">
23841 <sourceUrl>http://www.itu.int/oth/T02020000B4/en</sourceUrl>
23844 <numberFormat pattern="(8\d{2})(\d{3,4})">
23845 <leadingDigits>8</leadingDigits>
23846 <format>$1 $2</format>
23848 <numberFormat pattern="(7\d)(\d{5})">
23849 <leadingDigits>7</leadingDigits>
23850 <format>$1 $2</format>
23852 <numberFormat pattern="(\d{5})">
23853 <leadingDigits>[2-6]</leadingDigits>
23854 <format>$1</format>
23856 </availableFormats>
23858 <nationalNumberPattern>[2-8]\d{4,6}</nationalNumberPattern>
23859 <possibleNumberPattern>\d{5,7}</possibleNumberPattern>
23862 <nationalNumberPattern>
23868 </nationalNumberPattern>
23869 <possibleNumberPattern>\d{5,7}</possibleNumberPattern>
23870 <exampleNumber>22123</exampleNumber>
23873 <nationalNumberPattern>
23878 </nationalNumberPattern>
23879 <possibleNumberPattern>\d{6,7}</possibleNumberPattern>
23880 <exampleNumber>601234</exampleNumber>
23883 <!-- The 800 number series is new, and is used by companies such as the ANZ bank in Samoa to
23884 provide 24 hour eMerchant support. It is marked as "Customized Services" in the plan
23885 for now, so may be also used for other purposes than toll free, but until we have
23886 further evidence of these we will keep it as toll free. -->
23887 <nationalNumberPattern>800\d{3}</nationalNumberPattern>
23888 <possibleNumberPattern>\d{6}</possibleNumberPattern>
23889 <exampleNumber>800123</exampleNumber>
23891 <!-- Current research suggests other types of numbers are not used in Samoa. -->
23895 <territory id="YE" countryCode="967" internationalPrefix="00"
23896 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
23898 <sourceUrl>http://www.itu.int/oth/T02020000E7/en</sourceUrl>
23901 <numberFormat pattern="([1-7])(\d{3})(\d{3,4})">
23906 <format>$1 $2 $3</format>
23908 <numberFormat pattern="(7\d{2})(\d{3})(\d{3})">
23909 <leadingDigits>7[0137]</leadingDigits>
23910 <format>$1 $2 $3</format>
23912 </availableFormats>
23914 <nationalNumberPattern>[1-7]\d{6,8}</nationalNumberPattern>
23915 <possibleNumberPattern>\d{6,9}</possibleNumberPattern>
23918 <nationalNumberPattern>
23931 </nationalNumberPattern>
23932 <possibleNumberPattern>\d{6,8}</possibleNumberPattern>
23933 <exampleNumber>1234567</exampleNumber>
23936 <!-- Adding 70 from numbers found online. -->
23937 <nationalNumberPattern>7[0137]\d{7}</nationalNumberPattern>
23938 <possibleNumberPattern>\d{9}</possibleNumberPattern>
23939 <exampleNumber>712345678</exampleNumber>
23941 <!-- No tollFree or premiumRate information can be found. -->
23945 <territory id="YT" countryCode="262" internationalPrefix="00" nationalPrefix="0"
23946 nationalPrefixFormattingRule="$NP$FG" leadingDigits="269|63">
23948 <!-- Some information at the following source, but most from collection of internet data.
23950 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_France</sourceUrl>
23951 <!-- Verifies the fixed-line prefixes, but the mobile prefixes listed here seem out of date.
23953 <sourceUrl>http://www.comores-online.com/mwezinet/internet/262</sourceUrl>
23955 <!-- Formatting as per La Réunion. -->
23957 <nationalNumberPattern>[268]\d{8}</nationalNumberPattern>
23958 <possibleNumberPattern>\d{9}</possibleNumberPattern>
23961 <nationalNumberPattern>2696[0-4]\d{4}</nationalNumberPattern>
23962 <exampleNumber>269601234</exampleNumber>
23965 <nationalNumberPattern>639\d{6}</nationalNumberPattern>
23966 <exampleNumber>639123456</exampleNumber>
23968 <!-- Same as in France. -->
23970 <nationalNumberPattern>80\d{7}</nationalNumberPattern>
23971 <exampleNumber>801234567</exampleNumber>
23975 <!-- South Africa -->
23976 <territory id="ZA" countryCode="27" internationalPrefix="00"
23977 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG"
23978 mobileNumberPortableRegion="true">
23980 <sourceUrl>http://www.itu.int/oth/T02020000C1/en</sourceUrl>
23981 <sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_South_Africa</sourceUrl>
23984 <numberFormat pattern="(860)(\d{3})(\d{3})">
23985 <leadingDigits>860</leadingDigits>
23986 <format>$1 $2 $3</format>
23988 <numberFormat pattern="(\d{2})(\d{3})(\d{4})">
23996 <format>$1 $2 $3</format>
23998 <numberFormat pattern="(\d{2})(\d{3,4})">
23999 <leadingDigits>8[1-4]</leadingDigits>
24000 <format>$1 $2</format>
24002 <numberFormat pattern="(\d{2})(\d{3})(\d{2,3})">
24003 <leadingDigits>8[1-4]</leadingDigits>
24004 <format>$1 $2 $3</format>
24006 </availableFormats>
24008 <nationalNumberPattern>
24014 </nationalNumberPattern>
24015 <possibleNumberPattern>\d{5,9}</possibleNumberPattern>
24018 <!-- Wikipedia is missing 020, and the 024 code it lists for Somerset West stopped being
24020 <nationalNumberPattern>
24028 </nationalNumberPattern>
24029 <possibleNumberPattern>\d{9}</possibleNumberPattern>
24030 <exampleNumber>101234567</exampleNumber>
24033 <!-- Wikipedia says 085 is for cellular: ITU says it is protected. Also note that we are
24034 still supporting numbers beginning with 8 that are fewer than 9 digits since they are
24035 in prominent places online, even though the ITU document says numbers must be 10 digits
24036 long (including the national prefix). -->
24037 <nationalNumberPattern>
24043 </nationalNumberPattern>
24044 <exampleNumber>711234567</exampleNumber>
24047 <nationalNumberPattern>80\d{7}</nationalNumberPattern>
24048 <possibleNumberPattern>\d{9}</possibleNumberPattern>
24049 <exampleNumber>801234567</exampleNumber>
24052 <nationalNumberPattern>
24055 </nationalNumberPattern>
24056 <possibleNumberPattern>\d{9}</possibleNumberPattern>
24057 <exampleNumber>862345678</exampleNumber>
24060 <nationalNumberPattern>860\d{6}</nationalNumberPattern>
24061 <possibleNumberPattern>\d{9}</possibleNumberPattern>
24062 <exampleNumber>860123456</exampleNumber>
24065 <nationalNumberPattern>87\d{7}</nationalNumberPattern>
24066 <possibleNumberPattern>\d{9}</possibleNumberPattern>
24067 <exampleNumber>871234567</exampleNumber>
24070 <!-- MaxiCall numbers cost as much as national long distance, so they are classified as UAN
24072 <nationalNumberPattern>861\d{6}</nationalNumberPattern>
24073 <possibleNumberPattern>\d{9}</possibleNumberPattern>
24074 <exampleNumber>861123456</exampleNumber>
24079 <territory id="ZM" countryCode="260" internationalPrefix="00"
24080 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
24082 <sourceUrl>http://www.itu.int/oth/T02020000E8/en</sourceUrl>
24085 <numberFormat pattern="([29]\d)(\d{7})">
24086 <leadingDigits>[29]</leadingDigits>
24087 <format>$1 $2</format>
24089 <numberFormat pattern="(800)(\d{3})(\d{3})">
24090 <leadingDigits>8</leadingDigits>
24091 <format>$1 $2 $3</format>
24093 </availableFormats>
24095 <nationalNumberPattern>[289]\d{8}</nationalNumberPattern>
24096 <possibleNumberPattern>\d{9}</possibleNumberPattern>
24099 <nationalNumberPattern>21[1-8]\d{6}</nationalNumberPattern>
24100 <exampleNumber>211234567</exampleNumber>
24103 <!-- Adding extra prefixes 50 and 6[1-57-9] since SMS messages have been successfully
24104 delivered to these numbers, and numbers like this can be found on the Internet. Adding
24105 prefix 960 based on information received from MTN Zambia. The 97 range has been
24106 expanded based on their IR21 document, which states the range 97[1-9] is used. -->
24107 <nationalNumberPattern>
24113 </nationalNumberPattern>
24114 <exampleNumber>955123456</exampleNumber>
24117 <nationalNumberPattern>800\d{6}</nationalNumberPattern>
24118 <exampleNumber>800123456</exampleNumber>
24123 <territory id="ZW" countryCode="263" internationalPrefix="00"
24124 nationalPrefix="0" nationalPrefixFormattingRule="$NP$FG">
24126 <sourceUrl>http://www.itu.int/oth/T02020000E9/en</sourceUrl>
24129 <!-- One-digit area codes -->
24130 <numberFormat pattern="([49])(\d{3})(\d{2,5})">
24135 <format>$1 $2 $3</format>
24137 <!-- Mobile numbers -->
24138 <numberFormat pattern="([179]\d)(\d{3})(\d{3,4})">
24143 <format>$1 $2 $3</format>
24145 <numberFormat pattern="(86\d{2})(\d{3})(\d{3})">
24146 <leadingDigits>86[24]</leadingDigits>
24147 <format>$1 $2 $3</format>
24149 <!-- Three-digit area codes (listed before the two-digit ones since some overlap) -->
24150 <numberFormat pattern="([2356]\d{2})(\d{3,5})">
24170 <format>$1 $2</format>
24172 <numberFormat pattern="(\d{3})(\d{3})(\d{3,4})">
24193 <format>$1 $2 $3</format>
24195 <!-- Two-digit area codes -->
24196 <numberFormat pattern="([1-356]\d)(\d{3,5})">
24221 <format>$1 $2</format>
24223 <numberFormat pattern="([1-356]\d)(\d{3})(\d{3})">
24248 <format>$1 $2 $3</format>
24250 <!-- Four-digit area codes -->
24251 <numberFormat pattern="([25]\d{3})(\d{3,5})">
24262 <format>$1 $2</format>
24264 <numberFormat pattern="([25]\d{3})(\d{3})(\d{3})">
24275 <format>$1 $2 $3</format>
24277 <!-- VOIP numbers -->
24278 <numberFormat pattern="(8\d{3})(\d{6})">
24279 <leadingDigits>86</leadingDigits>
24280 <format>$1 $2</format>
24282 </availableFormats>
24284 <!-- A complicated nationalNumberPattern is necessary here, since the numbers are extremely
24285 variable in length and the possible prefixes clash with the country code. -->
24286 <nationalNumberPattern>
24293 </nationalNumberPattern>
24294 <possibleNumberPattern>\d{3,10}</possibleNumberPattern>
24297 <!-- Numbering is grouped by subscriber-number length. -->
24298 <nationalNumberPattern>
24358 </nationalNumberPattern>
24359 <exampleNumber>1312345</exampleNumber>
24361 <!-- The ITU document list 8622 and 8644 as VoIP, but an online search reveals that they are
24362 also being used by the carriers as mobile prefixes. -->
24364 <nationalNumberPattern>
24370 </nationalNumberPattern>
24371 <possibleNumberPattern>\d{9,10}</possibleNumberPattern>
24372 <exampleNumber>711234567</exampleNumber>
24375 <nationalNumberPattern>800\d{7}</nationalNumberPattern>
24376 <possibleNumberPattern>\d{10}</possibleNumberPattern>
24377 <exampleNumber>8001234567</exampleNumber>
24379 <!-- No premiumRate information can be found. -->
24381 <nationalNumberPattern>
24390 </nationalNumberPattern>
24391 <possibleNumberPattern>\d{10}</possibleNumberPattern>
24392 <exampleNumber>8686123456</exampleNumber>
24396 <!-- Universal International Toll Free Number -->
24397 <territory id="001" countryCode="800" leadingZeroPossible="true">
24399 <sourceUrl>http://www.itu.int/en/ITU-T/inr/unum/Pages/uifn.aspx</sourceUrl>
24402 <numberFormat pattern="(\d{4})(\d{4})">
24403 <format>$1 $2</format>
24405 </availableFormats>
24407 <nationalNumberPattern>\d{8}</nationalNumberPattern>
24408 <possibleNumberPattern>\d{8}</possibleNumberPattern>
24409 <exampleNumber>12345678</exampleNumber>
24412 <nationalNumberPattern>NA</nationalNumberPattern>
24413 <possibleNumberPattern>NA</possibleNumberPattern>
24416 <nationalNumberPattern>NA</nationalNumberPattern>
24417 <possibleNumberPattern>NA</possibleNumberPattern>
24420 <nationalNumberPattern>\d{8}</nationalNumberPattern>
24424 <!-- Universal International Shared Cost Number -->
24425 <territory id="001" countryCode="808" leadingZeroPossible="true">
24427 <sourceUrl>http://www.itu.int/rec/T-REC-E.169-200205-I/en</sourceUrl>
24430 <numberFormat pattern="(\d{4})(\d{4})">
24431 <format>$1 $2</format>
24433 </availableFormats>
24435 <nationalNumberPattern>\d{8}</nationalNumberPattern>
24436 <possibleNumberPattern>\d{8}</possibleNumberPattern>
24437 <exampleNumber>12345678</exampleNumber>
24440 <nationalNumberPattern>NA</nationalNumberPattern>
24441 <possibleNumberPattern>NA</possibleNumberPattern>
24444 <nationalNumberPattern>NA</nationalNumberPattern>
24445 <possibleNumberPattern>NA</possibleNumberPattern>
24448 <nationalNumberPattern>\d{8}</nationalNumberPattern>
24452 <!-- Inmarsat Global Limited -->
24453 <territory id="001" countryCode="870">
24455 <sourceUrl>http://www.itu.int/oth/T0202000065/en</sourceUrl>
24456 <sourceUrl>http://www.inmarsat.com</sourceUrl>
24459 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
24460 <format>$1 $2 $3</format>
24462 </availableFormats>
24464 <nationalNumberPattern>[35-7]\d{8}</nationalNumberPattern>
24465 <possibleNumberPattern>\d{9}</possibleNumberPattern>
24466 <exampleNumber>301234567</exampleNumber>
24469 <nationalNumberPattern>NA</nationalNumberPattern>
24470 <possibleNumberPattern>NA</possibleNumberPattern>
24473 <!-- Assigning these to mobile since Inmarsat considers them to be mobile numbers. -->
24474 <nationalNumberPattern>
24479 </nationalNumberPattern>
24484 <!-- Number length has been derived from examples found online. -->
24485 <territory id="001" countryCode="878">
24487 <sourceUrl>http://www.itu.int/oth/T02020000E5/en</sourceUrl>
24490 <!-- Formatting chosen based on online examples. -->
24491 <numberFormat pattern="(\d{2})(\d{5})(\d{5})">
24492 <format>$1 $2 $3</format>
24494 </availableFormats>
24496 <nationalNumberPattern>1\d{11}</nationalNumberPattern>
24497 <possibleNumberPattern>\d{12}</possibleNumberPattern>
24498 <exampleNumber>101234567890</exampleNumber>
24501 <nationalNumberPattern>NA</nationalNumberPattern>
24502 <possibleNumberPattern>NA</possibleNumberPattern>
24505 <nationalNumberPattern>NA</nationalNumberPattern>
24506 <possibleNumberPattern>NA</possibleNumberPattern>
24509 <nationalNumberPattern>10\d{10}</nationalNumberPattern>
24514 <!-- Globalstar also reports using this prefix, but we cannot find any online numbers with the
24515 Globalstar prefixes, so are not sure how exactly these work, and what length the numbers
24516 are. For this reason, we only support Iridium numbers at the moment. -->
24517 <territory id="001" countryCode="881">
24519 <sourceUrl>http://www.iridium.com</sourceUrl>
24520 <sourceUrl>http://www.itu.int/oth/T0202000069/en</sourceUrl>
24523 <!-- Formatting chosen based on ITU document and Iridium website FAQ. -->
24524 <numberFormat pattern="(\d)(\d{3})(\d{5})">
24525 <leadingDigits>[67]</leadingDigits>
24526 <format>$1 $2 $3</format>
24528 </availableFormats>
24530 <nationalNumberPattern>[67]\d{8}</nationalNumberPattern>
24531 <possibleNumberPattern>\d{9}</possibleNumberPattern>
24532 <exampleNumber>612345678</exampleNumber>
24535 <nationalNumberPattern>NA</nationalNumberPattern>
24536 <possibleNumberPattern>NA</possibleNumberPattern>
24539 <nationalNumberPattern>[67]\d{8}</nationalNumberPattern>
24543 <territory id="001" countryCode="882">
24545 <!-- BebbiCell (Formerly Global Networks Switzerland AG) +88234 -->
24546 <sourceUrl>http://www.itu.int/oth/T0202000054/en</sourceUrl>
24547 <sourceUrl>http://www.gsm.aq/numberplan.php</sourceUrl>
24548 <sourceUrl>http://www.global.aq</sourceUrl>
24549 <!-- Maritime Communications Partner (MCP) +88232 -->
24550 <sourceUrl>http://www.itu.int/oth/T02020000F4/en</sourceUrl>
24551 <!-- Oration Technologies +88237 -->
24552 <sourceUrl>http://www.itu.int/oth/T02020000A0/en</sourceUrl>
24553 <!-- Telespazio S.p.A. +88213 -->
24554 <sourceUrl>http://www.itu.int/oth/T02020000CC/en</sourceUrl>
24555 <!-- Thuraya +88216 -->
24556 <sourceUrl>http://www.itu.int/oth/T02020000CF/en</sourceUrl>
24559 <numberFormat pattern="(\d{2})(\d{4})(\d{3})">
24560 <leadingDigits>3[23]</leadingDigits>
24561 <format>$1 $2 $3</format>
24563 <numberFormat pattern="(\d{2})(\d{5})">
24568 <format>$1 $2</format>
24570 <numberFormat pattern="(\d{2})(\d{4})(\d{4})">
24571 <leadingDigits>34[57]</leadingDigits>
24572 <format>$1 $2 $3</format>
24574 <numberFormat pattern="(\d{3})(\d{4})(\d{4})">
24575 <leadingDigits>348</leadingDigits>
24576 <format>$1 $2 $3</format>
24578 <numberFormat pattern="(\d{2})(\d{2})(\d{4})">
24579 <leadingDigits>1</leadingDigits>
24580 <format>$1 $2 $3</format>
24582 <numberFormat pattern="(\d{2})(\d{3,4})(\d{4})">
24583 <leadingDigits>16</leadingDigits>
24584 <format>$1 $2 $3</format>
24586 <numberFormat pattern="(\d{2})(\d{4,5})(\d{5})">
24587 <leadingDigits>16</leadingDigits>
24588 <format>$1 $2 $3</format>
24590 </availableFormats>
24592 <nationalNumberPattern>[13]\d{6,11}</nationalNumberPattern>
24593 <possibleNumberPattern>\d{7,12}</possibleNumberPattern>
24594 <exampleNumber>3451234567</exampleNumber>
24597 <nationalNumberPattern>NA</nationalNumberPattern>
24598 <possibleNumberPattern>NA</possibleNumberPattern>
24601 <!-- Bebbicell Mobile numbers, MCP & Oration. We are guessing the number length for
24602 Oration based on numbers found online. -->
24603 <nationalNumberPattern>
24612 </nationalNumberPattern>
24613 <possibleNumberPattern>\d{7,10}</possibleNumberPattern>
24616 <!-- Telespazio S.p.A., Thuraya and Bebbicell VOIP numbers. -->
24617 <nationalNumberPattern>
24632 </nationalNumberPattern>
24633 <possibleNumberPattern>\d{7,12}</possibleNumberPattern>
24636 <nationalNumberPattern>348[57]\d{7}</nationalNumberPattern>
24637 <possibleNumberPattern>\d{11}</possibleNumberPattern>
24641 <territory id="001" countryCode="883">
24643 <!-- bandwidth.com -->
24644 <sourceUrl>http://www.itu.int/oth/T02020000FB/en</sourceUrl>
24646 <sourceUrl>http://www.itu.int/oth/T02020000FC/en</sourceUrl>
24648 <sourceUrl>http://www.itu.int/oth/T02020000F3/en</sourceUrl>
24651 <numberFormat pattern="(\d{3})(\d{3})(\d{3})">
24652 <leadingDigits>510</leadingDigits>
24653 <format>$1 $2 $3</format>
24655 <numberFormat pattern="(\d{3})(\d{3})(\d{3})(\d{3})">
24656 <leadingDigits>510</leadingDigits>
24657 <format>$1 $2 $3 $4</format>
24659 <!-- When only 8 digits follow the "area code" formatting as XXXX XXXX
24660 seems preferred (see Bandwidth.com and SipMe). -->
24661 <numberFormat pattern="(\d{4})(\d{4})(\d{4})">
24662 <leadingDigits>51[13]</leadingDigits>
24663 <format>$1 $2 $3</format>
24665 </availableFormats>
24667 <!-- Wikipedia also listed a few other +883 ranges, but no information on their lengths and
24668 costs can be found online, so we don't include them here for now. -->
24669 <nationalNumberPattern>51\d{7}(?:\d{3})?</nationalNumberPattern>
24670 <possibleNumberPattern>\d{9}(?:\d{3})?</possibleNumberPattern>
24671 <exampleNumber>510012345</exampleNumber>
24674 <nationalNumberPattern>NA</nationalNumberPattern>
24675 <possibleNumberPattern>NA</possibleNumberPattern>
24678 <nationalNumberPattern>NA</nationalNumberPattern>
24679 <possibleNumberPattern>NA</possibleNumberPattern>
24682 <nationalNumberPattern>
24687 </nationalNumberPattern>
24691 <!-- United Nations- OCHA -->
24692 <!-- Numbers here are classified as UAN, as they are non-geographical and universally
24693 accessible. In addition, the end-user tariff to reach these numbers is lower or similar to
24694 the tariff of a national call. -->
24695 <territory id="001" countryCode="888" leadingZeroPossible="true">
24697 <sourceUrl>http://www.itu.int/oth/T02020000FA/en</sourceUrl>
24700 <numberFormat pattern="(\d{3})(\d{3})(\d{5})">
24701 <format>$1 $2 $3</format>
24703 </availableFormats>
24705 <nationalNumberPattern>\d{11}</nationalNumberPattern>
24706 <possibleNumberPattern>\d{11}</possibleNumberPattern>
24707 <exampleNumber>12345678901</exampleNumber>
24710 <nationalNumberPattern>NA</nationalNumberPattern>
24711 <possibleNumberPattern>NA</possibleNumberPattern>
24714 <nationalNumberPattern>NA</nationalNumberPattern>
24715 <possibleNumberPattern>NA</possibleNumberPattern>
24718 <nationalNumberPattern>\d{11}</nationalNumberPattern>
24722 <!-- Universal International Premium Rate Number -->
24723 <territory id="001" countryCode="979" leadingZeroPossible="true">
24725 <sourceUrl>http://www.itu.int/rec/T-REC-E.169-200205-I/en</sourceUrl>
24728 <numberFormat pattern="(\d)(\d{4})(\d{4})">
24729 <format>$1 $2 $3</format>
24731 </availableFormats>
24733 <nationalNumberPattern>\d{9}</nationalNumberPattern>
24734 <possibleNumberPattern>\d{9}</possibleNumberPattern>
24735 <exampleNumber>123456789</exampleNumber>
24738 <nationalNumberPattern>NA</nationalNumberPattern>
24739 <possibleNumberPattern>NA</possibleNumberPattern>
24742 <nationalNumberPattern>NA</nationalNumberPattern>
24743 <possibleNumberPattern>NA</possibleNumberPattern>
24746 <nationalNumberPattern>\d{9}</nationalNumberPattern>
24750 </phoneNumberMetadata>