_____ _____
Global Sourcebook for International Data Management
by Graham Rhind
Tips for practical management of international postal code data
Knowing the format of a postal code is essential not only to be able to recognize it within an address or database field, but also as using the postal code correctly will speed up delivery and reduce returns.
Postal code formats are covered by each country chapter. This data is summarized below for all countries covered:
NB: 9 indicates a numeric digit, A a letter.
Strings between brackets () should be typed exactly as written. Thus for Greenland, (39)99 indicates that all postal codes begin with 39, are four digits long, and the last two digits are numeric.
Where more than one format is given, each format is possible.
(*) Level of coverage
The level of coverage is shown of the following scale, and is a guideline only. For fuller details refer to the appropriate country chapter:
4 = All postal codes are unique point-of-delivery codes or cover approximately equal-sized groups of points-of-delivery
3 = Some postal codes down to point-of-delivery or small groups of points-of-delivery; others to settlement or groups of settlement level
2 =All postal codes cover a settlement, municipality, post office, postal route or larger area
1 = A single postal code covers the whole country/territory.
n/a = no national postal code coverage.
The regular expression flavour used is Perl. The anchors use (\A, \Z) are those for a code being on its own in a field, without padding with spaces.
Note: Some information cannot be shown in the summary table below for technical reasons. Please refer to each country chapter for full information.
Postal code format | Postal code specifics | Postal code level of coverage | |
---|---|---|---|
Afghanistan | 9999 | 2 | |
Aland Islands | (22)999 | All postal codes commence with 22 | 3 |
Albania | 9999 | First digit may not be 0 | ? |
Algeria | 99999 | The first two digits can be in the range 01 to 48 | 2 |
American Samoa | (96799), (96799-)9999 | First five digits are 96799 | 3 |
Andorra | (AD)999 | The first digit can be in the range 1-7 | 2 |
Angola | n/a | n/a | n/a |
Anguilla | (AI-2640) | There is only a single postal code: AI-2640 | 1 |
Antigua and Barbuda | n/a | n/a | n/a |
Argentina | A9999AAA | The first character cannot be I, O or V | 4 |
Armenia | 9999 | Codes are in the range 0001 to 4216 | 2 |
Aruba | n/a | n/a | n/a |
Ascension Island | ASCN 1ZZ | n/a | 2 |
Australia | 9999 | n/a | 3 |
Austria | 9999 | First digit may not be 0 | 3 |
Azerbaijan | (AZ )9999 or (AZ)9999 | First digits range between 01 and 74 or 80 | 3 |
Bahamas | n/a | n/a | n/a |
Bahrain | 999, 9999 | Codes range between 101 and 199 and between 1000 and 1216 | 2 |
Bangladesh | 9999 | There are also no postal codes commencing 0, 25-29, 48-49, 60-61, 68-69, 88-89 or 95-99. | 2 |
Barbados | (BB)99999 | n/a | 2 |
Belarus | 999999 | The first digits range between 200 and 247 | 2 |
Belgium | 9999 | The first digit may not be 0. Postal codes cannot commence with 57, 58 or 59 | 3 |
Belize | n/a | n/a | n/a |
Benin | n/a | n/a | n/a |
Bermuda | AA( )99, AA( )AA | The first two characters may be one of these combinations: CR, DD, DV, FL, GE, HM, HS, MA, PG, SB, SN, WK | 3 |
Bhutan | 99999 | Postal codes currently do not exist commencing 0, 10, 17-20, 23-30, 37-40 or 47-99 | 2 |
Bolivia | n/a | n/a | n/a |
Bonaire | n/a | n/a | n/a |
Bosnia-Hercegovina | 99999 | All postal codes commence with 7, 80, 88 or 89 | 2 |
Botswana | n/a | n/a | n/a |
Bouvet Island | n/a | n/a | n/a |
Brazil | 99999(-)999 | n/a | 4 |
British Antarctic Territory | (BIQQ 1ZZ) | A single postal codes is used: BIQQ 1ZZ | 1 |
British Indian Ocean Territory | (BBND 1ZZ), United States’ and British military postal code formats | British and United States’ military postal codes are used in addition to the single civilian code: BBND 1ZZ | 1 |
British Virgin Islands | (VG11)9(0) | Only the 5th character differs between codes | 2 |
Brunei Darussalam | AA9999 | The first letters cannot be BA to BU (excluding BI, BO and BQ); KA to KH, PA to PE or TA to TH | 2 |
Bulgaria | 9999 | The first digit may not be 0 | 2 |
Burkina Faso | 99999 | The first digit cannot be 0 | n/a |
Burundi | n/a | n/a | n/a |
Cambodia | 999999 | All postal codes fall into the range 010100-250702 | 2 |
Cameroon | n/a | n/a | n/a |
Canada | A9A( )9A9 | Character 1 can only be A, B, C, E, G, H, J, K, L, M, N, P, R, S, T, V, X, Y. The letters D, F, I, O, Q and U are not used in any part of the postal code | 3 |
Cape Verde | 9999, 9999-999 | Old codes may begin with these numbers: 11-12, 21, 31, 41, 51, 61, 71-76, 81-82, 91 | 2 |
Cayman Islands | (KY)9(-)9999 | The first two characters are always KY. The third character can be 1, 2 or 3 | 2 |
Central African Republic | n/a | n/a | n/a |
Chad | n/a | n/a | n/a |
Chile | 9999999 | n/a | 4 |
China | 999999 | n/a | 2 |
Christmas Island | (6798) | n/a | 1 |
Cocos (Keeling) Islands | (6799) | n/a | 1 |
Colombia | 999999 | n/a | 2 |
Comoros | n/a | n/a | n/a |
Congo (Democratic Republic of - Kinshasa) | 9999999 | n/a | 2 |
Congo (Republic of the - Brazzaville) | n/a | n/a | n/a |
Cook Islands | n/a | n/a | n/a |
Costa Rica | 99999, 99999-9999 | n/a | 2 |
Croatia | 99999, 99( )999 | All postal codes commence with a digit between 1 and 5 | 3 |
Cuba | 99999 | Postal codes cannot commence with 0 or 45-49 | 2 |
Curacao | n/a | n/a | n/a |
Cyprus | 9999 | The first digit may not be 0 | 2 |
Czechia / Czech Republic | 999()99 | All postal codes commence with a digit between 1 and 7 | 3 |
Denmark | 9999 | n/a | 3 |
Djibouti | n/a | n/a | n/a |
Dominica | n/a | n/a | n/a |
Dominican Republic | 99999 | Codes cannot commence with 0, 100,12-20, 26-30, 35-40, 44-50, 52-55, 58-60, 65-70, 74-80, 85-90, 95-99 | 2 |
East Timor | n/a | n/a | n/a |
Ecuador | 999999 | Only the ranges 01-24 are currently in use. | 3 |
Egypt | 9999999 | n/a | 2 (5-digits codes); 4 (7-digit codes) |
El Salvador | 9999 | Codes fall only in these ranges: 11-17, 21-23 or 31-34 | 2 |
Equatorial Guinea | n/a | n/a | n/a |
Eritrea | n/a | n/a | n/a |
Estonia | 99999 | First digit may not be 0 | 3 |
Ethiopia | 9999 | n/a | 2 |
Faeroe Islands / Faroe Islands | 999 | First digit may not be 0 | 2 |
Falkland Islands | FIQQ 1ZZ, SIQQ 1ZZ | n/a | 1 |
Fiji | n/a | n/a | n/a |
Finland | 99999 | n/a | 3 |
France | 99999 | Metropolitan France has postal codes commencing 00-95 and 99 | 3 |
French Guiana | (973)99 | All codes commence with 973 | 3 |
French Polynesia | (987)99 | All codes commence with 987 | 3 |
French Southern Territories | n/a | n/a | n/a |
Gabon | n/a | n/a | n/a |
Gambia | n/a | n/a | n/a |
Georgia | 9999 | n/a | 2 |
Germany | 99999 | Codes range between 01 and 99, except 05, 43 and 62 | 3 |
Ghana | n/a | n/a | n/a |
Gibraltar | GX11 1AA | n/a | 1 |
Greece | 999( )99 | The first two digits range between 10 and 85 | 2 |
Greenland | (39)99 | The first two digits are 39 | 2 |
Grenada | n/a | n/a | n/a |
Guadeloupe | (970)99, (971)99 | Postal codes commence 970 or 971 | 3 |
Guam | (969)99, (969)99(-)9999 | Postal codes commence 969 | 3 |
Guatemala | 99999 | Postal codes range between 01000 and 22027 | 2 |
Guernsey | (GY)9( )9AA, (GY)99( )9AA | n/a | 4 |
Guinea | 999 | The first digit falls in the range 0-4 | 2 |
Guinea-Bissau | 9999 | n/a | 2 |
Guyana | n/a | n/a | n/a |
Haiti | (HT)9999, (HT )9999 | Codes currently only fall within these ranges: 11-17, 21-24, 31-33, 41-45, 51-54, 61-65, 71-75, 81-85 and 91-93 | 2 |
Heard and McDonald Islands | (7151) | All addresses have the code 7151 | 1 |
Holy See | (00120) | A single postal code is used: 00120 | 1 |
Honduras | 99999 | Postal codes currently fall within the ranges 111-16, 211-23, 311-34, 412-43 and 511-52 | 2 |
Hong Kong | n/a | n/a | n/a |
Hungary | 9999 | The first digit may not be 0 | 2 |
Iceland | 999 | The first digit may not be 0 | 2 |
India | 999999 | The first digit may not be 0 | 2 |
Indonesia | 99999 | The first digit cannot be 0 | 2 |
Iran | 9999999999 | Codes cannot commence with 0 or 2. The fifth digit must be 1 or 5-9. | 4 |
Iraq | 99999 | Postal codes begin with one of these combinations: 10, 31-32, 34, 36, 41-42, 44, 46, 51-52, 54, 56, 58, 61-62, 64, 66 | 2 |
Ireland | A99 A9A9, A99 AA99, A99 A9AA, D6W A9A9, D6W AA99, D6W A9AA | Codes do not include the letters B, G, I, J, L, M, O, Q or S | 4 |
Isle of Man | (IM)9( )9AA, (IM)99( )9AA | All codes commence IM | 4 |
Israel | 9999999 | n/a | 3 |
Italy | 99999 | These strings are not found at the start of the postal code: 49, 68-69, 76-79,99 | 3 |
Ivory Coast | n/a | n/a | n/a |
Jamaica | (JM)AAA99 | n/a | 2 |
Japan | 999(-)9999 | n/a | 3 |
Jersey |
(JE)9( )9AA (JE)99( )9AA |
All codes commence JE | 4 |
Jordan | 99999 | Codes do not commence with 0 or numbers in the range 79-98 | 2 |
Kazakhstan |
999999 A99A9A9 |
Codes begin with numbers in the range 01-16 |
2 4 |
Kenya | 99999 | n/a | 2 |
Kiribati | (KI0)999 | The first two characters are always KI. The third character is always 0. The fourth character is 1 for the Gilbert Islands, 2 for the Phoenix Islands and 3 for the Line Islands. | 2 |
Kosovo | 99( )999, 99999 | Postal codes commence with a number between 1 and 7 | 2 |
Kuwait | 99999 | n/a | 3 |
Kyrgyzstan | 999999 | Postal codes commence with 71 or 72 | 2 |
Laos | 99999 | Postal codes commence with a number between 01 and 18 | 3 |
Latvia | 9999, (LV-)9999 | Postal codes do not begin with 0, 22-29, 35, 49, 55 or 58-99 | 2 |
Lebanon | 9999, 9999( )9999 | n/a | 4 |
Lesotho | 999 | n/a | 2 |
Liberia | 9999 | n/a | 2 |
Libya | 99.99.999 | n/a | n/a |
Liechtenstein | (94)99 | The first digits are 94. The final two digits fall between 85 and 88 or 90 and 98 | 2 |
Lithuania | 99999 | n/a | 2 |
Luxembourg | 9999, (L-)9999 | The first digits may not be 0, 30-31, 50-51, 60, 70-71, 78-79, 89 | 3 |
Macao | n/a | n/a | n/a |
Madagascar | 999 | The first two number of the postal codes fall within these ranges: 10-11, 20, 23, 30-32, 40-42, 50-51, 60-62 | 2 |
Malawi | 999999 | 2 | |
Malaysia | 99999 | n/a | 2 |
Maldives | 99999 | The first two digits fall in the range 00-21 | 3 |
Mali | n/a | n/a | n/a |
Malta | AAA( )9999, AA( )99 | n/a | 2 |
Marshall Islands | (969)99, (969)99(-)9999 | Postal codes commence 969 | 3 |
Martinique | (972)99 | Postal codes commence 972 | 3 |
Mauritania | n/a | n/a | n/a |
Mauritius | 99999 or A9999 | Codes may commence with a number between 1 and 9, A or R | 3 |
Mayotte | (976)99, (985)99 | Postal codes commence 976 or 985 | 3 |
Mexico | 99999 | n/a | 3 |
Micronesia | (9694)9, (9694)9(-)9999 | First four digits are always 9694 | 3 |
Moldova | 9999, MD-9999 | The first two digits fall in the range 20-77 | 2 |
Monaco | (980)99 | All codes commence 980 | 3 |
Mongolia | 99999, 99999-9999 | No postal codes currently commence with 0, 10, 19-20, 24-40, 47, 49-60, 66, 68-80 or 86-99 | 3 |
Montenegro | (8)9999 | All postal codes begin with 81, 84 or 85 | 2 |
Montserrat | (MSR1)99(0) | The first three letters are always MSR. The first digit is always 1. The second digit can currently be between 1 and 3, the third 1, 2, 3 or 5. The last digit is always 0 | 2 |
Morocco | 99999 | First digit may not be 0 | 2 |
Mozambique | 9999 | The first digit is 1, 2 or 3. The second digit is 1, 2, 3 or 4. The final two digits fall in the range 00-25 | 2 |
Myanmar | 9999999 | 2 | |
Namibia | 99(0)99 | All codes commence with number ranges between 10 and 23. The third digit is always 0. The fourth digit ranges from 0 to 3 | 2 |
Nauru | (NRU68) | All addresses have the code NRU68 | 1 |
Nepal | 99999 | Postal codes commence with these number ranges: 00, 10, 12, 21-22, 32-35, 44-45, 56-57 | 2 |
Netherlands | 9999( )AA | First digit may not be 0. The letter combinations SS, SA and SD are not used | 4 |
New Caledonia | (988)99 | n/a | 3 |
New Zealand | 9999 | n/a | 2 |
Nicaragua | 99999 | Postal codes may commence with numbers in these ranges: 10-16, 21-22, 25-27, 31-32, 34-35, 37-38, 41-48, 51-52, 55-56, 61-62, 65-66, 71-72, 81-82, 91-92. | 2 |
Niger | 9999 | The first two digits are 10, 20, 30, 40, 50, 60, 70 or 80, and the third digit 0 or 1 | 2 |
Nigeria | 999999 | The first digit may not be 0 | 2 |
Niue | (9974) | All addresses have the code 9974 | 1 |
Norfolk Island | (2899) | All addresses have the code 2899 | 1 |
North Korea | n/a | n/a | n/a |
North Macedonia | 9999 | The first digit may be 1, 2, 6 or 7 | 3 |
Northern Cyprus | 99999 | The first two digits are 99 | 2 |
Northern Mariana Islands | (9695)9, (9695)9(-)9999 | All codes commence 9695 | 3 |
Norway | 9999 | n/a | 3 |
Oman | 999 | First digit may not be 0 or 9 | 2 |
Pakistan | 99999 | The first digit may not be 0 | 2 |
Palau | (96939), (96939-)9999, (96940), (96940-)9999 | All codes commence 96939 or 96940 | 3 |
Palestinian Authority | P9999999 | The first digit cannot be 0 | 4 |
Panama | 9999 | n/a | 2 |
Papua New Guinea | 999 | Postal codes fall in the range 111-641 | 2 |
Paraguay | 999999 | Codes fall into the range 10-17 | 2 |
Peru | 99999 | Postal codes range between 01 and 25 | 2 |
Philippines | 9999 | n/a | 2 |
Pitcairn Islands | (PRCN 1ZZ) | All addresses have the code PCRN 1ZZ | 1 |
Poland | 99(-)999 | n/a | 3 |
Portugal | 9999(-)999 | The first digit may not be 0 | 3 |
Puerto Rico | (00)999, (00)999(-)9999 | The first two digits are 00. The third digit is 6, 7 or 9 | 3 |
Qatar | n/a | n/a | n/a |
Reunion | (97)999 | All codes commence with digits in the ranges 974, 977 and 978 | 3 |
Romania | 999999 | The second digit may not be 9 | 3 |
Russia | 999999 | Postal codes can begin with a 1,2,3,4 or 6. No codes begin with 22, 25-28, 31-33, 37, 47-49, 5 or 7-9 | 2 |
Rwanda | n/a | n/a | n/a |
Saba | n/a | n/a | n/a |
Saint Helena | STHL 1ZZ (St Helena Island); ASCN 1ZZ (Ascension Island); TSCU 1ZZ (Tristan da Cunha) | n/a | 2 |
Saint Kitts and Nevis | (KN)9999 | n/a | 2 |
Saint Lucia | LC99 999 | There are two spaces between the second and third digits | 2 |
Saint Pierre and Miquelon | (975)99 | All codes commence 975 | 3 |
Saint Vincent and the Grenadines | (VC)9999 | All codes fall in the range VC01-VC0472 | ? |
Saint-Barthelemy | (9709)9, (97133) | Postal codes commence 9709 or 97133 | 3 |
Saint-Martin | (97)999 | All codes commence 970 or 971 | 3 |
Samoa | WS9999 | The first number can be 1 or 2 | 2 |
San Marino | (4789)9 | All codes commence 4789 | 2 |
Sao Tome and Principe | n/a | n/a | n/a |
Saudi Arabia | 99999 | Codes can commence with any digit between 1 and 8 | 2 |
Senegal | 99999 | Codes cannot commence with 0 or 9 | 3 |
Serbia | 99999 (old system), 999999 (PAK) | All codes begin with 1, 2 or 3 (old system) | 2 (old system), 4 (PAK) |
Seychelles | n/a | n/a | n/a |
Sierra Leone | n/a | n/a | n/a |
Singapore | 999999 | n/a | 4 |
Sint Eustatius | n/a | n/a | n/a |
Sint Maarten | n/a | n/a | n/a |
Slovakia | 999( )99 | All postal codes commence with 0, 8 or 9 | 3 |
Slovenia | 9999 | Postal codes cannot commence with 0 or 7 | 2 |
Solomon Islands | n/a | n/a | n/a |
Somalia | AA( )99999 | n/a | 2 |
South Africa | 9999 | Codes 9000-9299 are not used | 2 |
South Georgia and the South Sandwich Islands | SIQQ 1ZZ | A single code, SIQQ 1ZZ, is used | 1 |
South Korea | 99999 | n/a | 2 |
South Sudan | 99999 | n/a | ? |
Spain | 99999 | All postal codes commence with digits in the range 01-52 | 3 |
Sri Lanka | 99999 | n/a | 2 |
Sudan | 99999 | n/a | 2 |
Suriname | n/a | n/a | n/a |
Svalbard and Jan Mayen Islands | 9999 | Jan Mayen uses the postal code 8099. Svalbard uses the codes 9170 and 9171 | 1 |
Swaziland | A999 | The first letter is H, L, M or S | 2 |
Sweden | 999( )99 | The first digit may not be 0. No postal codes commence with the digits 32, 48, 49 or 99 | 3 |
Switzerland | 9999 | The first digit may not be 0 | 2 |
Syria | n/a | n/a | n/a |
Taiwan | 999, 999999, 999(-)999 | n/a | 2 |
Tajikistan | 999999 | All postal codes commence with 7 | 2 |
Tanzania | 99999 | Codes commence with one of these number combinations: 11-12, 14-17, 21, 23, 25, 27, 30-31, 33, 35, 37, 39, 41, 43, 45, 47, 50-51, 53-55, 57, 59, 61, 63, 65, 67, 71-75. | 2 |
Thailand | 99999 | First digit may not be 0. There are currently no codes commencing: 19, 28-29, 38, 59, 68-69, 78-79, 87-89, 97-99 | 2 |
Togo | n/a | n/a | n/a |
Tokelau | n/a | n/a | n/a |
Tonga | n/a | n/a | n/a |
Trinidad and Tobago | 999999 | n/a | 3 |
Tunisia | 9999 | n/a | 2 |
Turkey | 99999 | The first two digits fall in the range 01-81. | 2 |
Turkmenistan | 999999 | All postal codes commence with 7 | 2 |
Turks and Caicos Islands | TKCA 1ZZ | A single code, TKCA 1ZZ, is used | 1 |
Tuvalu | (TUV)999 | n/a | 2 |
Uganda | n/a | n/a | n/a |
Ukraine | 99999 | Codes can commence with digits between 01 and 99 | 3 |
United Arab Emirates | n/a | n/a | n/a |
United Kingdom | A9( )9AA, A99( )9AA, A9A( )9AA, AA9( )9AA, AA99( )9AA, AA9A( )9AA, (GIR 0AA) (XM4 5HQ) | 4 | |
United States Minor Outlying Islands | n/a | n/a | n/a |
United States of America | 99999, 99999(-)9999 | These codes belong to other, independent, countries: 96940-96944; 96960-96970 | 3 |
United States Virgin Islands | (008)99, (008)99(-)9999 | All codes commence 008 | 3 |
Uruguay | 99999 | The first digit may not be 0 | 3 |
Uzbekistan | 999999 | Postal code currently exist in these ranges: 1000-1002, 1101-1120, 1201-1210, 1301-1313, 1401-1416, 1501-1519, 1601-1612, 1701-1716, 1801-1814, 1901-1915, 2001-2012, 2101-2110, 2201-2212 and 2301-2316 | 2 |
Vanuatu | n/a | n/a | n/a |
Venezuela | 9999, 9999(-)A | Codes commence with a number in the range 1-8 | 2 |
Vietnam | 99999 | Codes currently do not commence with any of these numbers or number ranges: 09, 19, 27-29, 37-39, 58, 68-69, 79, 88-89, 93, 99 | 3 |
Wallis and Futuna | (986)99 | Postal codes commence 986 | 3 |
Western Sahara | 99999 | All codes commence with 7 | 2 |
Yemen | n/a | n/a | n/a |
Zambia | 99999 | n/a | 2 |
Zimbabwe | n/a | n/a | n/a |
Afghanistan: Afghani postal codes all currently fall within these ranges: 1001-1016, 1051-1064, 1101-1103, 1151-1159, 1201-1203, 1251-1256, 1301-1303, 1351-1358, 1401-1403, 1451-1456, 1501-1502, 1551-1557, 1601-1606, 1651-1657, 1701-1704, 1741-1742, 1751-1764, 1801-1803, 1851-1863, 1901-1905, 1951-1960, 2001-2004, 2051-2056, 2101-2103, 2151-2156, 2201-2203, 2251-2264, 2301-2303, 2351-2368, 2401-2403, 2451-2468, 2501-2504, 2551-2562, 2601-2603, 2641-2642, 2651-2672, 2701-2703, 2751-2755, 2801-2803, 2851-2866, 2901-2903, 2951-2957, 3001-3005, 3041-3042, 3051-3069, 3101-3103, 3151-3160, 3201-3203, 3251-3260, 3301-3303, 3351-3356, 3401-3403, 3451-3477, 3501-3503, 3541, 3551-3559, 3601-3603, 3651-3664, 3701-3703, 3751-3766, 3801-3803, 3851-3867, 3901-3903, 3951-3964, 4001-4003, 4051-4060, 4101-4103, 4151-4155, 4201-4203, 4251-4259, 4301-4303, 4351-4355.
Malawi: Malawian postal codes all currently fall within these ranges: 101100-101109, 102100-102106, 103100-103112, 104100-104114, 105200-105216, 106100-106113, 107100-107101, 201100-201126, 201300-201311, 202100-202109, 203100-203107, 204100-204109, 205100-205113, 206101-206118, 207201-207258, 208100-208111, 209100-209108, 210100-210110, 301100-301114, 301400-301410, 302100-302110, 303100-303118, 304101-304112, 305200-305219, 306100-306109, 307100-307107, 308100-308109, 309300, 310100-310115, 311101-311111, 312200-312238, 313100-313105, 314100-314103, 315100-315115, 316100-316111
Myanmar: The initial digits fall in the ranges 010-011, 016-017, 020-023, 026-027, 030, 036-037, 040-042, 046, 050-052, 056, 060-062, 066-067, 070-071, 076-077, 080-081, 086-087, 090-096, 100-105, 106-107, 110-114, 116, 120-121, 126, 130, 136-137, 140-141, 146, 150, 160-162, 166-167, 170-171, 176, 180-181, 186
United Kingdom: Postal code specifics: The letter J is never found as one of the first two letters. The letters Q, V and X are never found in the first position of the postal code. The letters I and Z are not found in the second position (except for the single postal code GIR 0AA ). Where the third position is a letter, the letters I, L, O, Q and Z are not found. Only the letters A, B, E, H, M, N, P, R, V, W, X and Y can appear in the fourth position. In the part of the postal code after the space, the letters C, I, K, M, O and V are never found.
Regular expression | |
Afghanistan | \A( (1001-1016)|(1051-1064)|(1101-1103)|(1151-1159)|(1201-1203)|(1251-1256)|(1301-1303)|(1351-1358)|(1401-1403)|(1451-1456)|(1501-1502)|(1551-1557)|(1601-1606)|(1651-1657)|(1701-1704)|(1741-1742)|(1751-1764)|(1801-1803)|(1851-1863)|(1901-1905)|(1951-1960)|(2001-2004)|(2051-2056)|(2101-2103)|(2151-2156)|(2201-2203)|(2251-2264)|(2301-2303)|(2351-2368)|(2401-2403)|(2451-2468)|(2501-2504)|(2551-2562)|(2601-2603)|(2641-2642)|(2651-2672)|(2701-2703)|(2751-2755)|(2801-2803)|(2851-2866)|(2901-2903)|(2951-2957)|(3001-3005)|(3041-3042)|(3051-3069)|(3101-3103)|(3151-3160)|(3201-3203)|(3251-3260)|(3301-3303)|(3351-3356)|(3401-3403)|(3451-3477)|(3501-3503)|(3541)|(3551-3559)|(3601-3603)|(3651-3664)|(3701-3703)|(3751-3766)|(3801-3803)|(3851-3867)|(3901-3903)|(3951-3964)|(4001-4003)|(4051-4060)|(4101-4103)|(4151-4155)|(4201-4203)|(4251-4259)|(4301-4303)|(4351-4355) )\Z |
Åland Islands | \A(22[0-9][0-9][0-9])\Z |
Albania | \A[1-9]\d{3,3}\Z |
Algeria | \A([0-3]\d{4,4}|r(4)[0-8]\d{3,3})\Z |
American Samoa | \A(96799|96799[-][0-9][0-9][0-9][0-9])\Z |
Andorra | \A(AD[1-7][0-9][0-9])\Z |
Angola | none |
Anguilla | \A(AI-2640)\Z |
Antigua and Barbuda | none |
Argentina | \A[A-H|J-N|P-U|W-Z][0-9][0-9][0-9][0-9][A-Z][A-Z][A-Z]\Z |
Armenia | \A(0[0-9][0-9][1-9]|1[0-9][0-9][0-9]|2[0-9][0-9][0-9]|3[0-9][0-9][0-9]|4[0-1][0-9][0-9]|4[2][0-1][0-6])\Z |
Aruba | none |
Ascension Island | \A(ASCN 1ZZ)\Z |
Australia | \A\d{4,4}\Z |
Austria | \A[1-9]\d{3,3}\Z |
Azerbaijan | \A((AZ )[0-6][0-9][0-9][0-9]|(AZ )[7][0-4][0-9][0-9]|(AZ )[80][0-9][0-9]|(AZ)[0-6][0-9][0-9][0-9]|(AZ)[7][0-4][0-9][0-9]|(AZ)[80][0-9][0-9])\Z |
Bahamas | none |
Bahrain | \A[1-9][0-9][0-9]\d{3,3}|[0-1][0-2][0-9][0-9]\d{4,4}\Z |
Bangladesh | \A([1,3,5,7]\d{3,3}|[2,9][0-4]\d{2,2}|[4,8][0-7]\d{2,2}|[6][2-7]\d{2,2})\Z |
Barbados | \A(BB)\d{5,5}\Z |
Belarus | \A((2)[0-3][0-9]\d{3,3}|(24)[0-7]\d{3,3})\Z |
Belgium | \A(1[0-9][0-9][0-9]|2[0-9][0-9][0-9]|3[0-9][0-9][0-9]|4[0-9][0-9][0-9]|5[0-6][0-9][0-9]|6[0-9][0-9][0-9]|7[0-9][0-9][0-9]|8[0-9][0-9][0-9]|9[0-9][0-9][0-9])\Z |
Belize | n/a |
Benin | n/a |
Bermuda | \A((CR )[A-Z][A-Z]\Z|\A(CR )[0-9][0-9]|(DD )[A-Z][A-Z]\Z|\A(DD )[0-9][0-9]|(DV )[A-Z][A-Z]\Z|\A(DV )[0-9][0-9]|(FL )[A-Z][A-Z]\Z|\A(FL )[0-9][0-9]|(GE )[A-Z][A-Z]\Z|\A(GE )[0-9][0-9]|(HM )[A-Z][A-Z]\Z|\A(HM )[0-9][0-9]|(HS )[A-Z][A-Z]\Z|\A(HS )[0-9][0-9]|(MA )[A-Z][A-Z]\Z|\A(MA )[0-9][0-9]|(PG )[A-Z][A-Z]\Z|\A(PG )[0-9][0-9]|(SB )[A-Z][A-Z]\Z|\A(SB )[0-9][0-9]|(SN )[A-Z][A-Z]\Z|\A(SN )[0-9][0-9]|(WK )[A-Z][A-Z]\Z|\A(WK )[0-9][0-9]|)\Z |
Bhutan | \A(1[1-6][0-9][0-9][0-9]|2[1-2][0-9][0-9][0-9]|3[1-6][0-9][0-9][0-9]|4[1-6][0-9][0-9][0-9]|)\Z |
Bolivia | n/a |
Bonaire | n/a |
Bosnia-Hercegovina | \A(7[0-9][0-9][0-9][0-9]|80[0-9][0-9][0-9]|88[0-9][0-9][0-9]|89[0-9][0-9][0-9])\Z |
Botswana | n/a |
Bouvet Island | n/a |
Brazil | \A\d{5,5}[-]\d{3,3}\Z |
British Antarctic Territory | \A(BIQQ 1ZZ)\Z |
British Indian Ocean Territory | \A(BBND 1ZZ)\Z (Does not include military formats) |
British Virgin Islands | \A(VG11[1-6]0)\Z |
Brunei Darussalam | \A((B)[A-H|J-N|P|R-U]\d{4,4}|(K)[A-H]\d{4,4}|(P)[A-E]\d{4,4}|(T)[A-H]\d{4,4})\Z |
Bulgaria | \A[1-9]\d{3,3}\Z |
Burkina Faso | \A[1-9]\d{4,4}\Z |
Burundi | n/a |
Cambodia | \A((0-1)\d{5,5}|(2)[0-4]\d{4,4}|(25)[0-9][0-7][0-9][0-9])\Z |
Cameroon | n/a |
Canada | \A(A|B|C|E|G|H|J|K|L|M|N|P|R|S|T|V|X|Y)[0-9](A|B|C|E|G|H|J|K|L|M|N|P|R|S|T|V|W|X|Y|Z)( )[0-9](A|B|C|E|G|H|J|K|L|M|N|P|R|S|T|V|W|X|Y|Z)[0-9]\Z |
Cape Verde | \A((11|12|13|21|31|41|51|61|71|72|73|74|75|76|81|82|91)\d{2,2})\Z |
Cayman Islands | \A((KY)[1-3](-)\d{4,4})\Z |
Central African Republic | n/a |
Chad | n/a |
Chile | \A(\d{7,7})\Z |
China | \A\d{6,6}\Z |
Christmas Island | \A(6798)\Z |
Cocos (Keeling) Islands | \A(6799)\Z |
Colombia | \A((05|08|11|13|15|17|18|19|20|23|25|27|41|44|47|50|52|54|63|66|68|70|73|76|81|85|86|88|91|94|95|97|99)\d{4,4})\Z |
Comoros | n/a |
Congo (Democratic Republic of - Kinshasa) | \A(\d{7,7})\Z |
Congo (Republic of the - Brazzaville) | n/a |
Cook Islands | n/a |
Costa Rica | \A(\d{5,5}|\d{5,5}(-)\d{4,4})\Z |
Croatia | \A([1-5][0-9][0-9][0-9][0-9]|[1-5][0-9]( )[0-9][0-9][0-9])\Z |
Cuba | \A([1-3,5-9]\d{4,4}|[40-44]\d{3,3})\Z |
Curaçao | n/a |
Cyprus | \A([1-9][0-9][0-9][0-9])\Z |
Czechia / Czech Republic | \A([1,3,6,7][0-9][0-9]( )[0-9][0-9]|[2][2,5-9][0-9]( )[0-9][0-9]|[4][0-1,3-4,6-7][0-9]( )[0-9][0-9]|[5][0-1,3-9][0-9]( )[0-9][0-9])\Z |
Denmark | \A\d{4,4}\Z |
Djibouti | n/a |
Dominica | n/a |
Dominican Republic | \A([10-11|21-25|31-34|41-43|51|56-57|61-64|71-73|81-84|91-94]\d{3,3})\Z |
East Timor | n/a |
Ecuador | \A([01-24]\d{4,4})\Z |
Egypt | \A\d{5,5}\Z (5-digit postal codes) \A\d{7,7}\Z (7-digit postal codes) |
El Salvador | \A([11-17|21-23|31-34]\d{2,2})\Z |
Equatorial Guinea | n/a |
Eritrea | n/a |
Estonia | \A([1-9][0-9][0-9][0-9][0-9])\Z |
Ethiopia | \A\d{4,4}\Z |
Faeroe Islands / Faroe Islands | \A([1-9][0-9][0-9])\Z |
Falkland Islands | \A( (FIQQ 1ZZ)|(SIQQ 1ZZ) )\Z |
Fiji | n/a |
Finland | \A\d{5,5}\Z |
France | \A([0-8][0-9]\d{3,3}|[9][0-6]\d{3,3}|(99)\d{3,3})\Z |
French Guiana | \A((973)[0-9][0-9])\Z |
French Polynesia | \A((987)[0-9][0-9])\Z |
French Southern Territories | n/a |
Gabon | n/a |
Gambia | n/a |
Georgia | \A\d{4,4}\Z |
Germany | \A((0)[1-4|6-9]\d{3,3}|(4)[0-2|4-9]\d{3,3}|(6)[0-1|3-9]\d{3,3}|[1-3|5|7-9]\d{4,4})\Z |
Ghana | n/a |
Gibraltar | \A(GX11 1AA)\Z |
Greece | \A( ([1-7][0-9][0-9]( )[0-9][0-9]|(8)[0-5][0-9]( )[0-9][0-9]) )\Z |
Greenland | \A((39)[0-9][0-9])\Z |
Grenada | n/a |
Guadeloupe | \A((970)[0-9][0-9]|(971)[0-9][0-9])\Z |
Guam | \A((969)[0-9][0-9]|(969)[0-9][0-9](-)[0-9][0-9][0-9][0-9])\Z |
Guatemala | \A((010)[0-6][0-9]|(010)[7][0-3]|(0200)[0-9]|(0201)[0-5]|(0300)[0-9]|(0301)[0-7]|(0400)[0-9]|(0401)[0-6]|(050)[0-1][0-9]|(0502)[0-1]|(060)[0-1][0-9]|(0602)[0-7]|(070)[0-1][0-9]|(0702)[0-4]|(0800)[0-8]|(090)[0-2][0-9]|(0903)[0-4]|(100)[0-2][0-9]|(10030)|(1100)[0-9]|(1101)[0-4]|(120)[0-4][0-9]|(12050)|(130)[0-3][0-9]|(1304)[0-1]|(140)[0-1][0-9]|(1402)[0-5]|(1500)[0-9]|(1501)[0-2]|(160)[0-1][0-9]|(1602)[0-6]|(170)[0-2][0-9]|(180)[0-1][0-9]|(1802)[0-3]|(1900)[0-9]|(1901)[0-8]|(200)[0-1][0-9]|(20020)|(2100)[0-8]|(220)[0-1][0-9]|(2202)[0-7]|)\Z |
Guernsey | \A((GY)[0-9]( )[0-9][A-Z][A-Z]|(GY)[0-9][0-9]( )[0-9][A-Z][A-Z])\Z |
Guinea | \A((0-4)\d{3,3})\Z |
Guinea-Bissau | \A\d{4,4}\Z |
Guyana | n/a |
Haiti | \A((HT)(11-17|21-24|31-33|41-45|51-54|61-65|71-75|81-85|91-93)\d{2,2})|((HT )(11-17|21-24|31-33|41-45|51-54|61-65|71-75|81-85|91-93)\d{2,2})\Z |
Heard and McDonald Islands | \A(7151)\Z |
Holy See | \A(00120)\Z |
Honduras | \A((10101)|(12101)|(12111)|(13101)|(13201)|(14101)|(14201)|(15101)|(15201)|(16101)|(16201)|(21)[101-104]|(21112)|(21301)|(22101)|(22114)|(23101)|(23201)|(31101)|(31301)|(32101)|(32301)|(33101)|(34101)|(41202)|(42101)|(42201)|(43101)|(43201)|(51101)|(52)[101-102])\Z |
Hong Kong | n/a |
Hungary | \A[1-9]\d{3,3}\Z |
Iceland | \A[1-9]\d{2,2}\Z |
India | \A[1-9]\d{5,5}\Z |
Indonesia | \A([1-9]\d{4,4})\Z |
Iran | \A([1|3-9][1-9][1-9][1-9][1|6-9][1-9][1-9][1-9][1-9][1-9])|([1|3-9][1-9][1-9][1-9][5][-]\d{1-3})\Z |
Iraq | \A((10|31|32|34|36|41|42|44|46|51|53|54|56|58|61|62|64|66)\d{3,3})\Z |
Ireland | \A([A|C-F|H|K|N|P|R|T-Z][0-9][0-9]|D6W]( )[A|C-F|H|K|N|P|R|T-Z][A|C-F|H|K|N|P|R|T-Z|0-9][A|C-F|H|K|N|P|R|T-Z|0-9][A|C-F|H|K|N|P|R|T-Z|0-9])\Z |
Isle of Man | \A((IM)[0-9]( )[0-9][A-Z][A-Z]|(IM)[0-9][0-9]( )[0-9][A-Z][A-Z])\Z |
Israel | \A\d{7,7}\Z |
Italy | \A([0-3|5|8][0-9][0-9][0-9][0-9]|4[0-8][0-9][0-9][0-9]|6[0-7][0-9][0-9][0-9]|7[0-5][0-9][0-9][0-9]|9[0-8][0-9][0-9][0-9])\Z |
Ivory Coast | n/a |
Jamaica | \A((JM)[A-Z]{3,3}\d{2,2})\Z |
Japan | \A(\d{3,3}(-)\d{4,4})\Z |
Jersey | \A((JE)[0-9]( )[0-9][A-Z][A-Z]|(JE)[0-9][0-9]( )[0-9][A-Z][A-Z])\Z |
Jordan | \A([1-6]\d{4,4}|(7)[0-8]\d{3,3}|(99)\d{3,3})\Z |
Kazakhstan New code | \A([A-Z]\d{2,2}[A-Z][0-9][A-Z][0-9])\Z |
Kazakhstan Old code | \A((0)[1-9]\d{4,4}|(1)[0-6]\d{4,4})\Z |
Kenya | \A\d{5,5}\Z |
Kiribati | \A([KI0]([1][01-21]|[2][01-08]|[3][01-08]))\Z |
Kosovo | \A(1[0-6]( )[0-9][0-9][0-9]|2[0-4]( )[0-9][0-9][0-9]|3[0-2]( )[0-9][0-9][0-9]|4[0-3]( )[0-9][0-9][0-9]|5[0-1]( )[0-9][0-9][0-9]|6[0-2]( )[0-9][0-9][0-9]|7[0-3]( )[0-9][0-9][0-9])\Z |
Kuwait | \A\d{5,5}\Z |
Kyrgyzstan | \A(7)[1-2]\d{4,4}\Z |
Laos | \A([0][1-9][0-9][0-9][0-9]|[1][0-8][0-9][0-9][0-9])\Z |
Latvia | \A((1)[0-9][0-9][0-9]|(2)[0-1][0-9][0-9]|(3)[0-4][0-9][0-9]|(3)[6-9][0-9][0-9]|(4)[0-8][0-9][0-9]|(5)[0-4][0-9][0-9]|(5)[6-7][0-9][0-9]|(LV-1)[0-9][0-9][0-9]|(LV-2)[0-1][0-9][0-9]|(LV-3)[0-4][0-9][0-9]|(LV-3)[6-9][0-9][0-9]|(LV-4)[0-8][0-9][0-9]|(LV-5)[0-4][0-9][0-9]|(LV-5)[6-7][0-9][0-9])\Z |
Lebanon | \A(\d{4,4}|\d{4,4}( )\d{4,4})\Z |
Lesotho | \A\d{3,3}\Z |
Liberia | \A\d{4,4}\Z |
Libya | \A([1-9][1-9](.)[1-9][1-9](.)[1-9][1-9][1-9])\Z |
Liechtenstein | \A((948)[5-8]|(949)[0-8])\Z |
Lithuania | \A\d{5,5}\Z |
Luxembourg | \A((1|2|4|9)[0-9][0-9][0-9]|(3)[2-9][0-9][0-9]|(5)[2-9][0-9][0-9]|(6)[1-9][0-9][0-9]|(7)[2-7][0-9][0-9]|(8)[0-8][0-9][0-9]|(L-)(1|2|4|9)[0-9][0-9][0-9]|(L-)(3)[2-9][0-9][0-9]|(L-)(5)[2-9][0-9][0-9]|(L-)(6)[1-9][0-9][0-9]|(L-)(7)[2-7][0-9][0-9]|(L-)(8)[0-8][0-9][0-9])\Z |
Macao | n/a |
Madagascar | \A((1)[0-1][0-9]|(20)[0-9]|(23)[0-9]|(3)[0-2][0-9]|(4)[0-2][0-9]|(5)[0-1][0-9]|(6)[0-2][0-9])\Z |
Malawi | \A((101)[100-109]|(102)[100-106]|(103)[100-112]|(104)[100-114]|(105)[200-216]|(106)[100-113]|(107)[100-101]|(201)[100-126|300-311]|(202)[100-109]|(203)[100-107]|(204)[100-109]|(205)[100-113]|(206)[101-118]|(207)[201-258]|(208)[100-111]|(209)[100-108]|(210)[100-110]|(301)[100-114|400-410]|(302)[100-110]|(303)[100-118]|(304)[101-112]|(305)[200-219]|(306)[100-109]|(307)[100-107]|(308)[100-109]|(309300)|(310)[100-115]|(311)[101-111]|(312)[200-238]|(313)[100-105]|(314)[100-103]|(315)[100-115]|(316)[100-111])\Z |
Malaysia | \A\d{5,5}\Z |
Maldives | \A([0-1]\d{4,4}|[2][0-1]\d{3,3})\Z |
Mali | n/a |
Malta | \A([A-Z]{2,2}( )\d{2,2}|[A-Z]{3,3}( )\d{4,4})\Z |
Marshall Islands | \A((969)[0-9][0-9]|(969)[0-9][0-9](-)[0-9][0-9][0-9][0-9])\Z |
Martinique | \A((972)\d{2,2})\Z |
Mauritania | n/a |
Mauritius | \A([1-9]|A|R)\d{4,4})\Z |
Mayotte | \A((976)\d{2,2}|(985)\d{2,2})\Z |
Mexico | \A\d{5,5}\Z |
Micronesia | \A((9694)[0-9]|(9694)[0-9](-)[0-9][0-9][0-9][0-9])\Z |
Moldova | \A([2-6]\d{3,3}|(7)[0-7]\d{2,2}|(MD-)[2-6]\d{3,3}|(MD-)(7)[0-7]\d{2,2})\Z |
Monaco | \A((980)\d{2,2})\Z |
Mongolia | \A([11-18,21-23,41-46,48,61-65,67,81-85][0-9][0-9][0-9][0-9]|[11-18,21-23,41-46,48,61-65,67,81-85][0-9][0-9][0-9][0-9](-)[0-9][0-9][0-9][0-9])\Z |
Montenegro | \A((8)(1|4|5)\d{3,3})\Z |
Montserrat | \A((MSR)[1][1-3][1-3,5][0])\Z |
Morocco | \A[1-9]\d{4,4}\Z |
Mozambique | \A([1-3][1-4][0-1][0-9]|[1-3][1-4][2][0-5])\Z |
Myanmar | \A[010-011,016-017,020-023,026-027,030,036-037,040-042,046,050-052,056,060-062,066-067,070-071,076-077,080-081,086-087,090-096,100-105,106-107,110-114, 116,120-121,126,130,136-137,140-141,146,150,160-162,166-167,170-171,176,180-181,186]\d{4,4}\Z |
Namibia | \A([10-23][0][0-3][0-9])\Z |
Nauru | \A(NRU68)\Z |
Nepal | \A(00|10|12|21|22|32|33|34|35|44|45|56|57)\d{3,3}\Z |
Netherlands | \A([1-9]\d{3,3}( )([A-R|T-Z][A-Z]|[S][B|C|E-R|T-Z]))\Z |
New Caledonia | \A((988)\d{2,2})\Z |
New Zealand | \A\d{4,4}\Z |
Nicaragua | \A((10|11|12|13|14|15|16|21|22|25|26|27|31|32|34|35|37|38|41|42|43|44|45|46|47|48|51|52|55|56|61|62|65|66|71|72|81|82|91|92)\d{3,3})\Z |
Niger | \A(10|20|30|40|50|60|70|80)(0|1)[0-9]\Z |
Nigeria | \A([1-9]\d{5,5})\Z |
Niue | \A(9974)\Z |
Norfolk Island | \A( (2899) )\Z |
North Korea | n/a |
North Macedonia | \A((1|2|6|7)\d{3,3})\Z |
Northern Cyprus | \A((99)[0-9][0-9][0-9])\Z |
Northern Mariana Islands | \A((9695)[0-9]|(9695)[0-9](-)[0-9][0-9][0-9][0-9])\Z |
Norway | \A\d{4,4}\Z |
Oman | \A([1-8]\d{2,2})\Z |
Pakistan | \A([1-9]\d{4,4})\Z |
Palau | \A((96939)|(96939-)[0-9][0-9][0-9][0-9]|(96940)|(96940-)[0-9][0-9][0-9][0-9])\Z |
Palestinian Authority | \A([P][1-9]\d{6,6})\Z |
Panama | \A\d{4,4}\Z |
Papua New Guinea | \A([1][1-9][0-9]|[2-5][0-9][0-9]|(6)[0-3][0-9]|(640)|(641))\Z |
Paraguay | \A([00-17]\d{4,4})\Z |
Peru | \A([01-25]\d{3,3})\Z |
Philippines | \A\d{4,4}\Z |
Pitcairn Islands | \A( (PCRN 1ZZ) )\Z |
Poland | \A(\d{2,2}(-)\d{3,3})\Z |
Portugal | \A([1-9]\d{3,3}(-)\d{3,3})\Z |
Puerto Rico | \A((00)[6-7|9][0-9][0-9]|(00)[6-7|9][0-9][0-9](-)[0-9][0-9][0-9][0-9])\Z |
Qatar | n/a |
Reunion | \A((97)[4|7|8][0-9][0-9])\Z |
Romania | \A([0-9][0-8]\d{4,4})\Z |
Russia | \A([1|6]\d{5,5}|[2][0|1|3|4|9]\d{4,4}|[3][0|4|5|6|8|9]\d{4,4}|[4][0-6]\d{4,4})\Z |
Rwanda | n/a |
Saba | n/a |
Saint-Barthélemy | \A((97133)|(9709)\d{1,1})\Z |
Saint Helena | \A( (STHL 1ZZ)|(ASCN 1ZZ)|(TSCU 1ZZ) )\Z |
Saint Kitts and Nevis | \A ( (KN)(0101-0111|0201-0202|0301-0302|0401-0403|0501|0601-0602|0700|0801+0802|0901-0902|1001-1002|1101-1102|1201-1202) ) \Z |
Saint Lucia | \A((LC)[0-9][0-9]( )[0-9][0-9][0-9])\Z |
Saint-Martin | \A( (970)[5-8][0-9]|(97150) )\Z |
Saint Pierre and Miquelon | \A((975)\d{2,2})\Z |
Saint Vincent and the Grenadines | \A((VC0)[1-3]\d{2,2}|(VC04)[0-7]\d{1,1})\Z |
Samoa | \A(WS[1-2][0-9][0-9][0-9])\Z |
San Marino | \A((4789)[0-9])\Z |
Sao Tome and Principe | n/a |
Saudi Arabia | \A([1-8][1-9][1-9][1-9][1-9])\Z |
Senegal | \A[1-8]\d{4,4}\Z |
Serbia (old system) | \A([1-3]\d{4,4}|\d{6,6})\Z |
Serbia (PAK) | \A\d{6,6}\Z |
Seychelles | n/a |
Sierra Leone | n/a |
Singapore | \A\d{6,6}\Z |
Sint Eustatius | n/a |
Sint Maarten | n/a |
Slovakia | \A((0|8|9)\d{2,2}( )\d{2,2})\Z |
Slovenia | \A[1-6,8-9]\d{3,3}\Z |
Solomon Islands | n/a |
Somalia | \A((AD|BK|BN|BR|BY|GG|GD|HR|JD|JH|MD|NG|SG|SD|SH|SOL|TG|WG)( )\d{5,5})\Z |
South Africa | \A([0-8]\d{3,3}|9[3-9][0-9][0-9]|)\Z |
South Georgia and the South Sandwich Islands | \A(SIQQ 1ZZ)\Z |
South Korea | \A((0)[1-8]\d{3,3}|[1][0-8]\d{3,3}|[2][1-9]\d{3,3}|[3-5]\d{4,4}|[6][1-3]\d{3,3})\Z |
South Sudan | \A\d{5,5}\Z |
Spain | \A((0)[1-9]\d{3,3}|[1-4]\d{4,4}|(5)[0-2]\d{3,3})\Z |
Sri Lanka | \A\d{5,5}\Z |
Sudan | \A\d{5,5}\Z |
Suriname | n/a |
Svalbard and Jan Mayen Islands | \A( (8099)|(9170)|(9171) )\Z |
Swaziland | \A((H|L|M|S)\d{3,3})\Z |
Sweden | \A([1-2|5-8]\d{2,2}( )\d{2,2}|(3)[0-1|3-9][0-9]( )\d{2,2}|(4)[0-7][0-9]( )\d{2,2}|(9)[0-8][0-9]( )\d{2,2})\Z |
Switzerland | \A([1-9]\d{3,3})\Z |
Syria | n/a |
Taiwan | \A(\d{3,3}|\d{6,6}|\d{3,3}(-)\d{3,3})\Z |
Tajikistan | \A((7)\d{5,5})\Z |
Tanzania | \A((11-12|14-17|21|23|25|27|30-31|33|35|37|39|41|43|45|47|50-51|53-55|57|59|61|63|65|67|71-75)\d{3,3})\Z |
Thailand | \A([1][0-8]\d{3,3}|[2][0-7]\d{3,3}|[3][0-7,9]\d{3,3}|[4][0-9]\d{3,3}|[5][0-8]\d{3,3}|[6][0-7]\d{3,3}|[7][0-9]\d{3,3}|[8][0-6]\d{3,3}|[9][0-6]\d{3,3}|)\Z |
Togo | n/a |
Tokelau | n/a |
Tonga | n/a |
Trinidad and Tobago | \A(\d{6,6})\Z |
Tunisia | \A([1-9]\d{3,3})\Z |
Turkey | \A([01-81]\d{3,3})\Z |
Turkmenistan | \A((7)\d{5,5})\Z |
Turks and Caicos Islands | \A(TKCA 1ZZ)\Z |
Tuvalu | \A((TUV)\d{3,3})\Z |
Uganda | n/a |
Ukraine | \A(0[1-9][0-9][0-9][0-9]|1[0-9][0-9][0-9][0-9]|2[0-9][0-9][0-9][0-9]|3[0-9][0-9][0-9][0-9]|4[0-9][0-9][0-9][0-9]|5[0-9][0-9][0-9][0-9]|6[0-9][0-9][0-9][0-9]|7[0-9][0-9][0-9][0-9]|8[0-9][0-9][0-9][0-9]|9[0-9][0-9][0-9][0-9]|)\Z |
United Arab Emirates | n/a |
United Kingdom | \A((GIR 0AA)|(XM4 5HQ)|(B|E|G|S|L|M|E|N|W)[0-9]( )[0-9][A-B|D-H|J|L|N|P-U|W-Z][A-B|D-H|J|L|N|P-U|W-Z]|(B|E|G|S|L|M|E|N|W)[0-9][0-9]( )[0-9][A-B|D-H|J|L|N|P-U|W-Z][A-B|D-H|J|L|N|P-U|W-Z]|(AB|AL|BA|BB|BD|BF|BH|BL|BN|BR|BS|BT|BX|CA|CB|CF|CH|CM|CO|CR|CT|CV|CW|DA|DD|DE|DG|DH|DL|DN|DT|DY|EH|EN|EX|FK|FY|GL|GU|HA|HD|HG|HP|HR|HS|HU|HX|IG|IP|IV|KA|KT|KW|KY|LA|LD|LE|LL|LN|LS|LU|ME|MK|ML|NE|NG|NN|NP|NR|OL|OX|PA|PE|PH|PL|PO|PR|QC|RG|RH|RM|SA|SG|SK|SL|SM|SN|SO|SP|SR|SS|ST|SY|TA|TD|TF|TN|TQ|TR|TS|TW|UB|WA|WD|WF|WN|WR|WS|WV|XX|YO|ZE)[0-9]( )[0-9][A-B|D-H|J|L|N|P-U|W-Z][A-B|D-H|J|L|N|P-U|W-Z]|(AB|AL|BA|BB|BD|BH|BL|BN|BR|BS|BT|BX|CA|CB|CF|CH|CM|CO|CR|CT|CV|CW|DA|DD|DE|DG|DH|DL|DN|DT|DY|EH|EN|EX|FK|FY|GL|GU|HA|HD|HG|HP|HR|HU|HX|IG|IP|IV|KA|KT|KW|KY|LA|LD|LE|LL|LN|LS|LU|ME|MK|ML|NE|NG|NN|NP|NR|OL|OX|PA|PE|PH|PL|PO|PR|QC|RG|RH|RM|SA|SG|SK|SL|SM|SN|SO|SP|SR|SS|ST|SY|TA|TD|TF|TN|TQ|TR|TS|TW|UB|WA|WD|WF|WN|WR|WS|WV|XX|YO|ZE)[0-9][0-9]( )[0-9][A-B|D-H|J|L|N|P-U|W-Z][A-B|D-H|J|L|N|P-U|W-Z]|(E|N|W)[0-9][A-H|J-K|M-N|P|R-Y]( )[0-9][A-B|D-H|J|L|N|P-U|W-Z][A-B|D-H|J|L|N|P-U|W-Z]|(EC|NW|SE|SW|WC)[0-9]( )[0-9][A-B|D-H|J|L|N|P-U|W-Z][A-B|D-H|J|L|N|P-U|W-Z]|(EC|NW|SE|SW|WC)[0-9][0-9]( )[0-9][A-B|D-H|J|L|N|P-U|W-Z][A-B|D-H|J|L|N|P-U|W-Z]|(EC|NW|SE|SW|WC)[0-9][A-H|J-K|M-N|P|R-Y]( )[0-9][A-B|D-H|J|L|N|P-U|W-Z][A-B|D-H|J|L|N|P-U|W-Z])\Z |
United States of America | \A([0-8]\d{4,4}|[0-8]\d{4,4}(-)\d{4,4}|(90|91|92|93|94|95|97|98|99)\d{3,3}|(90|91|92|93|94|95|97|98|99)\d{3,3}(-)\d{4,4}|(960|961|962|963|964|965|966|967|968)\d{2,2}|(960|961|962|963|964|965|966|967|968)\d{2,2}(-)\d{4,4}|(9690|9691|9692|9693|9695|9698|9699)\d{1,1}|(9690|9691|9692|9693|9695|9698|9699)\d{1,1}(-)\d{4,4}|(96945|96946|96947|96948|96949)|(96945|96946|96947|96948|96949)(-)\d{4,4})\Z |
United States Minor Outlying Islands | n/a |
United States Virgin Islands | \A((008)[0-9][0-9]|(008)[0-9][0-9](-)[0-9][0-9][0-9][0-9])\Z |
Uruguay | \A([1-9]\d{4,4})\Z |
Uzbekistan | \A((100)[0-2]\d{2,2}|(11)[0-2][0-1]\d{2,2}|(12)[0-1][0-1]\d{2,2}|(13)[0-1][1-3]\d{2,2}|(14)[0-1][1-6]\d{2,2}|(15)[0-1][1-9]\d{2,2}|(16)[0-1][1-2]\d{2,2}|(17)[0-1][1-6]\d{2,2}|(18)[0-1][1-4]\d{2,2}|(19)[0-1][1-5]\d{2,2}|(20)[0-1][1-2]\d{2,2}|(21)[0-1][0-1]\d{2,2}|(22)[0-1][1-2]\d{2,2}|(23)[0-1][1-6]\d{2,2})\Z |
Vanuatu | n/a |
Venezuela | \A([1-8]\d{3,3}|[1-8]\d{3,3}(-)[A-Z])\Z |
Vietnam | \A((0-1,7)[0-8]\d{3,3}|(2-3)[0-6]\d{3,3}|(4)\d{4,4}|(5)[0-7,9]\d{3,3}|(6,8)[0-7]\d{3,3}|(9)[0-2,4-8]\d{3,3}|)\Z |
Wallis and Futuna | \A((986)\d{2,2})\Z |
Western Sahara | \A((7)\d{4,4})\Z |
Yemen | n/a |
Zambia | \A\d{5,5}\Z |
Zimbabwe | n/a |
Every effort is made to keep this resource updated. If you find any errors, or have any questions or requests, please don't hesitate to contact the author.
All information copyright Graham Rhind 2024. Any information used should be acknowledged and referenced.