-
Notifications
You must be signed in to change notification settings - Fork 0
/
full.json
1605 lines (1605 loc) · 39.9 KB
/
full.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
[
{
"Note": "The first two digits (ranging from 10–43) correspond to the province, while the last two digits correspond either to the city/delivery zone (range 01–50) or to the district/delivery zone (range 51–99). Afghanistan Postal code lookup",
"Country": "Afghanistan",
"ISO": "AF",
"Format": "NNNN",
"Regex": "^\\d{4}$"
},
{
"Note": "With Finland, first two numbers are 22.",
"Country": "Åland Islands",
"ISO": "AX",
"Format": "NNNNN",
"Regex": "^\\d{5}$"
},
{
"Note": "Introduced in 2006, gradually implemented throughout 2007.",
"Country": "Albania",
"ISO": "AL",
"Format": "NNNN",
"Regex": "^\\d{4}$"
},
{
"Note": "First two as in ISO 3166-2:DZ",
"Country": "Algeria",
"ISO": "DZ",
"Format": "NNNNN",
"Regex": "^\\d{5}$"
},
{
"Note": "Each parish now has its own post code.",
"Country": "Andorra",
"ISO": "AD",
"Format": "CCNNN",
"Regex": "^[Aa][Dd]\\d{3}$"
},
{
"Note": "",
"Country": "Angola",
"ISO": "AO",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "Single code used for all addresses.",
"Country": "Anguilla",
"ISO": "AI",
"Format": "AI-2640",
"Regex": "^[Aa][I][-][2][6][4][0]$"
},
{
"Note": "",
"Country": "Antigua and Barbuda",
"ISO": "AG",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "https://www.correoargentino.com.ar/formularios/cpa",
"Country": "Argentina",
"ISO": "AR",
"Format": "ANNNN(AAA)?",
"Regex": "^[A-HJ-NP-Z]\\d{4}([A-Z]{3})?$"
},
{
"Note": "Previously used NNNNNN system inherited from former Soviet Union.",
"Country": "Armenia",
"ISO": "AM",
"Format": "NNNN",
"Regex": "^\\d{4}$"
},
{
"Note": "",
"Country": "Aruba",
"ISO": "AW",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "In general, the first digit identifies the state or territory.",
"Country": "Australia",
"ISO": "AU",
"Format": "NNNN",
"Regex": "^\\d{4}$"
},
{
"Note": "The first digit denotes regions, which are partly identical to one of the nine provinces—called Bundesländer; the last the nearest post office in the area.",
"Country": "Austria",
"ISO": "AT",
"Format": "NNNN",
"Regex": "^\\d{4}$"
},
{
"Note": "Previously used NNNNNN system inherited from former Soviet Union.",
"Country": "Azerbaijan",
"ISO": "AZ",
"Format": "CCNNNN",
"Regex": "^[Aa][Zz]\\d{4}$"
},
{
"Note": "",
"Country": "Bahamas",
"ISO": "BS",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "Valid post code numbers are 101 to 1216 with gaps in the range. Known as block number (Arabic: رقم المجمع) formally. The first digit in NNN format and the first two digits in NNNN format refer to one of the 12 municipalities of the country. PO Box address doesn't need a block number or city name, just the PO Box number followed by the name of the country, Bahrain.",
"Country": "Bahrain",
"ISO": "BH",
"Format": "NNN or NNNN",
"Regex": "^\\d{3,4}$"
},
{
"Note": "",
"Country": "Bangladesh",
"ISO": "BD",
"Format": "NNNN",
"Regex": "^\\d{4}$"
},
{
"Note": "Only one postal code currently assigned. 11000 applies to the General Post Office building in Cheapside, Bridgetown, to enable delivery to Barbados by global package delivery companies whose software requires a postal code.",
"Country": "Barbados",
"ISO": "BB",
"Format": "CCNNNNN",
"Regex": "^BB*\\d{5}$"
},
{
"Note": "Retained system inherited from former Soviet Union.",
"Country": "Belarus",
"ISO": "BY",
"Format": "NNNNNN",
"Regex": "^\\d{6}$"
},
{
"Note": "In general, the first digit gives the province.",
"Country": "Belgium",
"ISO": "BE",
"Format": "NNNN",
"Regex": "^\\d{4}$"
},
{
"Note": "",
"Country": "Belize",
"ISO": "BZ",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "",
"Country": "Benin",
"ISO": "BJ",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "AA NN for street addresses, AA AA for P.O. Box addresses. The second half of the postcode identifies the street delivery walk (e.g.: Hamilton HM 12) or the PO Box number range (e.g.: Hamilton HM BX). See Postal codes in Bermuda.",
"Country": "Bermuda",
"ISO": "BM",
"Format": "AA NN or AA AA",
"Regex": "^[A-Za-z]{2} ([A-Za-z]{2}|\\d{2})$"
},
{
"Note": "",
"Country": "Bhutan",
"ISO": "BT",
"Format": "NNNNN",
"Regex": "^\\d{5}$"
},
{
"Note": "",
"Country": "Bolivia",
"ISO": "BO",
"Format": "NNNN",
"Regex": "^\\d{4}$"
},
{
"Note": "",
"Country": "Bonaire, Sint Eustatius and Saba",
"ISO": "BQ",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "",
"Country": "Bosnia and Herzegovina",
"ISO": "BA",
"Format": "NNNNN",
"Regex": "^\\d{5}$"
},
{
"Note": "",
"Country": "Botswana",
"ISO": "BW",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "Código de Endereçamento Postal (CEP): -000 to -899 are used for streets, roads, avenues, boulevards; -900 to -959 are used for buildings with a high postal use; -960 to -969 are for promotional use; -970 to -989 are post offices and regular P.O. boxes; and -990 to -998 are used for community P.O. boxes. -999 is used for special services.",
"Country": "Brazil",
"ISO": "BR",
"Format": "NNNNN-NNN",
"Regex": "^\\d{5}-?\\d{3}$"
},
{
"Note": "Specifically, VG1110 through VG1160[1]",
"Country": "British Virgin Islands",
"ISO": "VG",
"Format": "CCNNNN",
"Regex": "^[Vv][Gg]\\d{4}$"
},
{
"Note": "",
"Country": "Brunei",
"ISO": "BN",
"Format": "AANNNN",
"Regex": "^[A-Za-z]{2}\\d{4}$"
},
{
"Note": "",
"Country": "Bulgaria",
"ISO": "BG",
"Format": "NNNN",
"Regex": "^\\d{4}$"
},
{
"Note": "",
"Country": "Burkina Faso",
"ISO": "BF",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "",
"Country": "Burundi",
"ISO": "BI",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "",
"Country": "Cambodia",
"ISO": "KH",
"Format": "NNNNN",
"Regex": "^\\d{5}$"
},
{
"Note": "",
"Country": "Cameroon",
"ISO": "CM",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "The system was gradually introduced starting in April 1971 in Ottawa. The letters D, F, I, O, Q, and U are not used to avoid confusion with other letters or numbers.",
"Country": "Canada",
"ISO": "CA",
"Format": "ANA NAN",
"Regex": "^[ABCEGHJKLMNPRSTVXYabceghjklmnprstvxy]\\d[ABCEGHJKLMNPRSTVWXYZabceghjklmnprstvwxyz] ?\\d[ABCEGHJKLMNPRSTVWXYZabceghjklmnprstvwxyz]\\d$"
},
{
"Note": "The first digit indicates the island.",
"Country": "Cape Verde",
"ISO": "CV",
"Format": "NNNN",
"Regex": "^\\d{4}$"
},
{
"Note": "",
"Country": "Cayman Islands",
"ISO": "KY",
"Format": "CCN-NNNN",
"Regex": "^[Kk][Yy]\\d[- ]?\\d{4}$"
},
{
"Note": "",
"Country": "Central African Republic",
"ISO": "CF",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "",
"Country": "Chad",
"ISO": "TD",
"Format": "NNNNN",
"Regex": "^\\d{5}$"
},
{
"Note": "May only be required for bulk mail.",
"Country": "Chile",
"ISO": "CL",
"Format": "NNNNNNN",
"Regex": "^\\d{7}$"
},
{
"Note": "A postal code or youbian (邮编) in a subordinate division will have the same first two digits as its governing one (see Political divisions of China. The postal services in Macau or Hong Kong Special Administrative Regions remain separate from Mainland China, with no post code system currently used.",
"Country": "China",
"ISO": "CN",
"Format": "NNNNNN",
"Regex": "^\\d{6}$"
},
{
"Note": "Part of the Australian postal code system.",
"Country": "Christmas Island",
"ISO": "CX",
"Format": "NNNN",
"Regex": "^\\d{4}$"
},
{
"Note": "Part of the Australian postal code system.",
"Country": "Cocos (Keeling) Island",
"ISO": "CC",
"Format": "NNNN",
"Regex": "^\\d{4}$"
},
{
"Note": "First NN = 32 departments Códigos Postales | 4-72",
"Country": "Colombia",
"ISO": "CO",
"Format": "NNNNNN",
"Regex": "^\\d{6}$"
},
{
"Note": "",
"Country": "Comoros",
"ISO": "KM",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "",
"Country": "Congo (Brazzaville)",
"ISO": "CG",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "",
"Country": "Congo, Democratic Republic",
"ISO": "CD",
"Format": "- no codes -",
"Regex": "^[Cc][Dd]$"
},
{
"Note": "",
"Country": "Cook Islands",
"ISO": "CK",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "First codes the provinces, next two the canton, last two the district.",
"Country": "Costa Rica",
"ISO": "CR",
"Format": "NNNNN (NNNN until 2007)",
"Regex": "^\\d{4,5}|\\d{3}-\\d{4})$"
},
{
"Note": "",
"Country": "Côte d'Ivoire (Ivory Coast)",
"ISO": "CI",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "",
"Country": "Croatia",
"ISO": "HR",
"Format": "NNNNN",
"Regex": "^\\d{5}$"
},
{
"Note": "May only be required for bulk mail. The letters CP are frequently used before the postal code. This is not a country code, but an abbreviation for \"codigo postal\" or postal code.",
"Country": "Cuba",
"ISO": "CU",
"Format": "NNNNN",
"Regex": "^\\d{5}$"
},
{
"Note": "",
"Country": "Curaçao",
"ISO": "CW",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "Post code system covers whole island, but not used in Northern Cyprus where 'Mersin 10, Turkey' is used instead.",
"Country": "Cyprus",
"ISO": "CY",
"Format": "NNNN",
"Regex": "^\\d{4}$"
},
{
"Note": "With Slovak Republic, Poštovní směrovací číslo (PSČ) - postal routing number.",
"Country": "Czech Republic",
"ISO": "CZ",
"Format": "NNN NN",
"Regex": "^\\d{3} ?\\d{2}$"
},
{
"Note": "Numbering follows the dispatch of postal trains from Copenhagen.[3] Also used by Greenland, e.g.: DK-3900 Nuuk.",
"Country": "Denmark",
"ISO": "DK",
"Format": "NNNN",
"Regex": "^\\d{4}$"
},
{
"Note": "",
"Country": "Djibouti",
"ISO": "DJ",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "",
"Country": "Dominica",
"ISO": "DM",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "",
"Country": "Dominican Republic",
"ISO": "DO",
"Format": "NNNNN",
"Regex": "^\\d{5}$"
},
{
"Note": "No postal code system in use since Indonesian withdrawal in 1999.",
"Country": "East Timor",
"ISO": "TL",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "",
"Country": "Ecuador",
"ISO": "EC",
"Format": "NNNNNN",
"Regex": "^\\d{6}$"
},
{
"Note": "Used for all inbound mail to El Salvador. The postal office then distributes the mail internally depending on their destination.",
"Country": "El Salvador",
"ISO": "SV",
"Format": "1101",
"Regex": "^1101$"
},
{
"Note": "",
"Country": "Egypt",
"ISO": "EG",
"Format": "NNNNN",
"Regex": "^\\d{5}$"
},
{
"Note": "",
"Country": "Equatorial Guinea",
"ISO": "GQ",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "",
"Country": "Eritrea",
"ISO": "ER",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "",
"Country": "Estonia",
"ISO": "EE",
"Format": "NNNNN",
"Regex": "^\\d{5}$"
},
{
"Note": "The code is only used on a trial basis for Addis Ababa addresses.",
"Country": "Ethiopia",
"ISO": "ET",
"Format": "NNNN",
"Regex": "^\\d{4}$"
},
{
"Note": "Self-governing territory within the Kingdom of Denmark, but not Danish postcode.",
"Country": "Faroe Islands",
"ISO": "FO",
"Format": "NNN",
"Regex": "^\\d{3}$"
},
{
"Note": "",
"Country": "Fiji",
"ISO": "FJ",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "A lower first digit indicates a place in south (for example 00100 Helsinki), a higher indicates a place further to north (99800 in Ivalo). The last digit is usually 0, except for postal codes for PO Box number ranges, in which case it is 1. Country code for Finland: \"FI\". In the Åland Islands, the postal code is prefixed with \"AX\", not \"FI\". Some postal codes for rural settlements may end with 5, and there are some unique postal codes for large companies and institutions, e.g. 00014 HELSINGIN YLIOPISTO (university), 00102 EDUSKUNTA (parliament), 00020 NORDEA (a major Scandinavian bank).",
"Country": "Finland",
"ISO": "FI",
"Format": "NNNNN",
"Regex": "^\\d{5}$"
},
{
"Note": "The first two digits give the département number, while in Paris, Lyon and Marseille, the last two digits of the postal code indicates the arrondissement. Both of the 2 corsican départements use \"20\" as the first two digits. Also used by French overseas departments and territories. Monaco is also part of the French postal code system, but the country code MC- is used for Monegasque addresses.",
"Country": "France",
"ISO": "FR",
"Format": "NNNNN",
"Regex": "^\\d{5}$"
},
{
"Note": "Overseas Department of France. French codes used. Range 97300 - 97390.",
"Country": "French Guiana",
"ISO": "GF",
"Format": "973NN",
"Regex": "^973\\d{2}$"
},
{
"Note": "Overseas Department of France. French codes used. Range 98700 - 98790.",
"Country": "French Polynesia",
"ISO": "PF",
"Format": "987NN",
"Regex": "^987\\d{2}$"
},
{
"Note": "French codes in the 98400 range have been reserved.",
"Country": "French Southern and Antarctic Territories",
"ISO": "TF",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "Two digit postal zone goes after city name.",
"Country": "Gabon",
"ISO": "GA",
"Format": "NN [city name] NN",
"Regex": ""
},
{
"Note": "",
"Country": "Gambia",
"ISO": "GM",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "",
"Country": "Georgia",
"ISO": "GE",
"Format": "NNNN",
"Regex": "^\\d{4}$"
},
{
"Note": "Postleitzahl (PLZ), introduced after the German reunification. Between 1989 and 1993 the old separate 4-digit postal codes of former West- and East-Germany were distinguished by preceding \"W-\" or \"O-\" ('Ost' for East).",
"Country": "Germany",
"ISO": "DE",
"Format": "NNNNN",
"Regex": "^\\d{5}$"
},
{
"Note": "[citation needed]",
"Country": "Ghana",
"ISO": "GH",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "Single code used for all addresses.",
"Country": "Gibraltar",
"ISO": "GI",
"Format": "GX11 1AA",
"Regex": "^[Gg][Xx][1]{2} ?[1][Aa]{2}$"
},
{
"Note": "",
"Country": "Greece",
"ISO": "GR",
"Format": "NNN NN",
"Regex": "^\\d{3} ?\\d{2}$"
},
{
"Note": "Part of the Danish postal code system.",
"Country": "Greenland",
"ISO": "GL",
"Format": "NNNN",
"Regex": "^\\d{4}$"
},
{
"Note": "",
"Country": "Grenada",
"ISO": "GD",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "Overseas Department of France. French codes used. Range 97100 - 97190.",
"Country": "Guadeloupe",
"ISO": "GP",
"Format": "971NN",
"Regex": "^971\\d{2}$"
},
{
"Note": "The first two numbers identify the department, the third number the route and the last two the office.",
"Country": "Guatemala",
"ISO": "GT",
"Format": "NNNNN",
"Regex": "^\\d{5}$"
},
{
"Note": "UK-format postcode (first two letters are always GY not GG)",
"Country": "Guernsey",
"ISO": "GG",
"Format": "AAN NAA, AANN NAA",
"Regex": "^[A-Za-z]{2}\\d ?\\d[A-Za-z]{2}$"
},
{
"Note": "",
"Country": "Guinea",
"ISO": "GN",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "",
"Country": "Guinea Bissau",
"ISO": "GW",
"Format": "NNNN",
"Regex": "^\\d{4}$"
},
{
"Note": "",
"Country": "Guyana",
"ISO": "GY",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "",
"Country": "Haiti",
"ISO": "HT",
"Format": "NNNN",
"Regex": "^\\d{4}$"
},
{
"Note": "Part of the Australian postcode system.",
"Country": "Heard and McDonald Islands",
"ISO": "HM",
"Format": "NNNN",
"Regex": "^\\d{4}$"
},
{
"Note": "",
"Country": "Honduras",
"ISO": "HN",
"Format": "NNNNN",
"Regex": "^\\d{5}$"
},
{
"Note": "[1] The dummy postal code of Hong Kong is 999077 but it is unnecessary in fact",
"Country": "Hong Kong",
"ISO": "HK",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "The code defines an area, usually one code per settlement except the six largest towns. One code can identify more (usually) small settlements as well.",
"Country": "Hungary",
"ISO": "HU",
"Format": "NNNN",
"Regex": "^\\d{4}$"
},
{
"Note": "",
"Country": "Iceland",
"ISO": "IS",
"Format": "NNN",
"Regex": "^\\d{3}$"
},
{
"Note": "Postal Index Number (PIN)",
"Country": "India",
"ISO": "IN",
"Format": "NNNNNN",
"Regex": "^\\d{6}$"
},
{
"Note": "Kode Pos. Included East Timor (ranges 88xxx and 89xxx) until 1999, no longer used. For Indonesia postal code information visit [2]",
"Country": "Indonesia",
"ISO": "ID",
"Format": "NNNNN",
"Regex": "^\\d{5}$"
},
{
"Note": "(Persian: کد پستی)",
"Country": "Iran",
"ISO": "IR",
"Format": "NNNNN-NNNNN",
"Regex": "^\\d{5}(-?\\d{5})?$"
},
{
"Note": "",
"Country": "Iraq",
"ISO": "IQ",
"Format": "NNNNN",
"Regex": "^\\d{5}$"
},
{
"Note": "Currently no postal codes; however, Dublin is divided into postal districts on syntax Dublin 9. A national post code system is planned. See also Republic of Ireland postal addresses.",
"Country": "Ireland",
"ISO": "IE",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "UK-format postcode. The first two letters are always IM.",
"Country": "Isle of Man",
"ISO": "IM",
"Format": "CCN NAA, CCNN NAA",
"Regex": "^[Ii][Mm]\\d{1,2} \\d[A-Z]{2}$"
},
{
"Note": "Postcode is always written BEFORE the city/place name, i.e. to the Right in Hebrew or Arabic script - to the Left in Latin script.",
"Country": "Israel",
"ISO": "IL",
"Format": "NNNNNNN",
"Regex": "^\\d{7}$"
},
{
"Note": "Codice di Avviamento Postale (CAP). Also used by San Marino and Vatican City. First two digits identify province with some exceptions, because there are more than 100 provinces.",
"Country": "Italy",
"ISO": "IT",
"Format": "NNNNN",
"Regex": "^\\d{5}$"
},
{
"Note": "Jamaica currently has no national postal code system, except for Kingston and Lower St. Andrew, which are divided into postal districts numbered 1-20[4] Before the 2007 suspension, the first two letters of a national post code were always 'JM' (for Jamaica) while the third was for one of the four zones (A-D) into which the island was divided. The last two letters were for the parish, while the two digits were for the local post office.[5]",
"Country": "Jamaica",
"ISO": "JM",
"Format": "Before suspension: CCAAANN After suspension: NN",
"Regex": ""
},
{
"Note": "See also Japanese addressing system.",
"Country": "Japan",
"ISO": "JP",
"Format": "NNN-NNNN",
"Regex": "^\\d{3}-\\d{4}$"
},
{
"Note": "UK-format postcode.",
"Country": "Jersey",
"ISO": "JE",
"Format": "CCN NAA",
"Regex": "^[Jj][Ee]\\d ?\\d[A-Za-z]{2}$"
},
{
"Note": "Deliveries to PO Boxes only.",
"Country": "Jordan",
"ISO": "JO",
"Format": "NNNNN",
"Regex": "^\\d{5}$"
},
{
"Note": "[6]",
"Country": "Kazakhstan",
"ISO": "KZ",
"Format": "NNNNNN",
"Regex": "^\\d{6}$"
},
{
"Note": "Deliveries to PO Boxes only. The postal code refers to the post office at which the receiver's P. O. Box is located.",
"Country": "Kenya",
"ISO": "KE",
"Format": "NNNNN",
"Regex": "^\\d{5}$"
},
{
"Note": "",
"Country": "Kiribati",
"ISO": "KI",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "",
"Country": "Korea, North",
"ISO": "KP",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "A separate postal code for Kosovo was introduced by the UNMIK postal administration in 2004. Serbian postcodes are still widely used in the Serbian enclaves. No country code has been assigned.",
"Country": "Kosovo",
"ISO": "XK",
"Format": "NNNNN",
"Regex": "^\\d{5}$"
},
{
"Note": "The first two digits represent the sector and the last three digits represents the post office.",
"Country": "Kuwait",
"ISO": "KW",
"Format": "NNNNN",
"Regex": "^\\d{5}$"
},
{
"Note": "",
"Country": "Kyrgyzstan",
"ISO": "KG",
"Format": "NNNNNN",
"Regex": "^\\d{6}$"
},
{
"Note": "",
"Country": "Latvia",
"ISO": "LV",
"Format": "LV-NNNN",
"Regex": "^LV-\\d{4}$"
},
{
"Note": "",
"Country": "Laos",
"ISO": "LA",
"Format": "NNNNN",
"Regex": "^\\d{5}$"
},
{
"Note": "The first four digits represent the region or postal zone,the last four digits represent the building see also Lebanon Postal code website.",
"Country": "Lebanon",
"ISO": "LB",
"Format": "NNNN NNNN",
"Regex": "^\\d{4}( \\d{4})?$"
},
{
"Note": "",
"Country": "Lesotho",
"ISO": "LS",
"Format": "NNN",
"Regex": "^\\d{3}$"
},
{
"Note": "Two digit postal zone after city name.",
"Country": "Liberia",
"ISO": "LR",
"Format": "NNNN",
"Regex": "^\\d{4}$"
},
{
"Note": "",
"Country": "Libya",
"ISO": "LY",
"Format": "NNNNN",
"Regex": "^\\d{5}$"
},
{
"Note": "With Switzerland, ordered from west to east. Range 9485 - 9498.",
"Country": "Liechtenstein",
"ISO": "LI",
"Format": "NNNN",
"Regex": "^\\d{4}$"
},
{
"Note": "References: http://www.post.lt/en/help/postal-code-search. Previously 9999 which was actually the old Soviet 999999 format code with the first 2 digits dropped.",
"Country": "Lithuania",
"ISO": "LT",
"Format": "LT-NNNNN",
"Regex": "^(LT-)?\\d{5}$"
},
{
"Note": "References: http://www.upu.int/post_code/en/countries/LUX.pdf",
"Country": "Luxembourg",
"ISO": "LU",
"Format": "NNNN",
"Regex": "^\\d{4}$"
},
{
"Note": "[2]",
"Country": "Macau",
"ISO": "MO",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "",
"Country": "Macedonia",
"ISO": "MK",
"Format": "NNNN",
"Regex": "^\\d{4}$"
},
{
"Note": "",
"Country": "Madagascar",
"ISO": "MG",
"Format": "NNN",
"Regex": "^\\d{3}$"
},
{
"Note": "",
"Country": "Malawi",
"ISO": "MW",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "",
"Country": "Maldives",
"ISO": "MV",
"Format": "NNNN, NNNNN",
"Regex": "^\\d{4,5}$"
},
{
"Note": "",
"Country": "Malaysia",
"ISO": "MY",
"Format": "NNNNN",
"Regex": "^\\d{5}$"
},
{
"Note": "",
"Country": "Mali",
"ISO": "ML",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "Kodiċi Postali",
"Country": "Malta",
"ISO": "MT",
"Format": "AAA NNNN",
"Regex": "^[A-Za-z]{3} ?\\d{4}$"
},
{
"Note": "",
"Country": "Mauritania",
"ISO": "MR",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "",
"Country": "Mauritius",
"ISO": "MU",
"Format": "- no codes -",
"Regex": ""
},
{
"Note": "Overseas Department of France. French codes used. Range 97200 - 97290.",
"Country": "Martinique",
"ISO": "MQ",
"Format": "972NN",
"Regex": "^972\\d{2}$"
},
{
"Note": "Overseas Department of France. French codes used. Range 97600 - 97690.",
"Country": "Mayotte",
"ISO": "YT",
"Format": "976NN",
"Regex": "^976\\d{2}$"
},
{
"Note": "The first two digits identify the state (or a part thereof), except for Nos. 00 to 16, which indicate delegaciones (boroughs) of the Federal District (Mexico City).",
"Country": "Mexico",
"ISO": "MX",
"Format": "NNNNN",
"Regex": "^\\d{5}$"
},
{
"Note": "Range 96941 - 96944.",
"Country": "Micronesia",
"ISO": "FM",
"Format": "9694N",
"Regex": "^9694\\d$"
},
{
"Note": "",
"Country": "Moldova",
"ISO": "MD",
"Format": "MD-NNNN",
"Regex": "^MD-\\d{4}$"
},
{
"Note": "Uses the French Postal System, but with an \"MC\" Prefix for Monaco.",
"Country": "Monaco",
"ISO": "MC",
"Format": "980NN",
"Regex": "^980\\d{2}$"
},
{
"Note": "First digit: region / zone Second digit: province / district Last three digits: locality / delivery block[7]",
"Country": "Mongolia",
"ISO": "MN",
"Format": "NNNNN",
"Regex": "^\\d{5}$"
},
{
"Note": "",
"Country": "Montenegro",
"ISO": "ME",
"Format": "NNNNN",