Extend gör en automatisk verifiering av postnumret och nedan hittar ni reglerna logiken som gällerappliceras.
Informationen finns även som en Excel att hämta ut för er.
...
View file | ||||
---|---|---|---|---|
|
Land | Landskod | ValideringsUttryck | Exempel |
AFGHANISTAN | AF | ^.+$ | * |
ALAND | AX | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
ALBANIA | AL | ^.+$ | * |
ALGERIA | DZ | ^.+$ | * |
AMERICAN SAMOA | AS | ^.+$ | * |
ANDORRA | AD | ^([0-9][0-9][0-9])$ | 123 |
ANGOLA | AO | ^.+$ | * |
ANGUILLA | AI | ^.+$ | * |
ANTARCTICA | AQ | ^.+$ | * |
ANTIGUA AND BARBUDA | AG | ^.+$ | * |
ARGENTINA | AR | ^([0-9][0-9][0-9][0-9])$ | 1234 |
ARMENIA | AM | ^([0-9][0-9][0-9][0-9])$ | 1234 |
AUSTRALIA | AU | ^([0-9][0-9][0-9][0-9])$ | 1234 |
AUSTRIA | AT | ^([0-9][0-9][0-9][0-9])$ | 1234 |
AZERBAIJAN | AZ | ^([a-zA-Z][a-zA-Z][0-9][0-9][0-9][0-9])$ | AZ1234 |
BAHAMAS | BS | ^.+$ | * |
BAHRAIN | BH | ^.+$ | * |
BANGLADESH | BD | ^([0-9][0-9][0-9][0-9])$ | 1234 |
BARBADOS | BB | ^([0-9][0-9][0-9][0-9][0-9][0-9])$ | 123456 |
BELARUS | BY | ^([0-9][0-9][0-9][0-9][0-9][0-9])$ | 123456 |
BELGIUM | BE | ^([0-9][0-9][0-9][0-9])$ | 1234 |
BELIZE | BZ | ^.+$ | * |
BENIN | BJ | ^.+$ | * |
BERMUDA | BM | (^([a-zA-Z][a-zA-Z][0-9][0-9])$)|(^([a-zA-Z][a-zA-Z][a-zA-Z][a-zA-Z])$) | ab 12 | ab cd |
BHUTAN | BT | ^.+$ | * |
BOLIVIA | BO | ^.+$ | * |
BOSNIA AND HERZEGOVINA | BA | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
BOTSWANA | BW | ^.+$ | * |
BOUVET ISLAND | BV | ^.+$ | * |
BRAZIL | BR | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
BRITISH INDIAN OCEAN TERRITORY | IO | ^.+$ | * |
BRUNEI DARUSSALAM | BN | ^([0-9][0-9])$ | 12 |
BULGARIA | BG | ^([0-9][0-9][0-9][0-9])$ | 1234 |
BURKINA FASO | BF | ^.+$ | * |
BURUNDI | BI | ^.+$ | * |
CAMBODIA | KH | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
CAMEROON | CM | ^.+$ | * |
CANADA | CA | ^([a-zA-Z][0-9][a-zA-Z][0-9][a-zA-Z][0-9])$ | a1b2c3 |
CANARY ISLANDS | IC | ^.+$ | * |
CAPE VERDE | CV | ^([0-9][0-9][0-9][0-9])$ | 1234 |
CAYMAN ISLANDS | KY | ^.+$ | * |
CENTRAL AFRICAN REPUBLIC | CF | ^.+$ | * |
CHAD | TD | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
CHILE | CL | ^([0-9][0-9][0-9][0-9][0-9][0-9][0-9])$ | 1234567 |
CHINA | CN | ^([0-9][0-9][0-9][0-9][0-9][0-9])$ | 123456 |
CHRISTMAS ISLAND | CX | ^([0-9][0-9][0-9][0-9])$ | 1234 |
COCOS (KEELING) ISLANDS | CC | ^[0-9][0-9][0-9][0-9]$ | 1234 |
COLOMBIA | CO | ^.+$ | * |
COMOROS | KM | ^.+$ | * |
CONGO | CG | ^.+$ | * |
CONGO, THE DEMOCRATIC REPUBLIC OF THE | CD | ^.+$ | * |
COOK ISLANDS | CK | ^.+$ | * |
COSTA RICA | CR | (^([0-9][0-9][0-9][0-9])$)|(^([0-9][0-9][0-9][0-9][0-9])$) | 1234, 12345 |
COTE D'IVOIRE | CI | ^.+$ | * |
CROATIA | HR | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
CUBA | CU | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
CYPRUS | CY | ^([0-9][0-9][0-9][0-9])$ | 1234 |
CZECH REPUBLIC | CZ | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
DENMARK | DK | (^([0-9][0-9][0-9][0-9])$)|(^([0-9][0-9][0-9])$) | 123, 1234 |
DJIBOUTI | DJ | ^.+$ | * |
DOMINICA | DM | ^.+$ | * |
DOMINICAN REPUBLIC | DO | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
EAST TIMOR | TP | ^.+$ | * |
ECUADOR | EC | ^.+$ | * |
ECUADOR | EQ | ^.+$ | * |
EGYPT | EG | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
EL SALVADOR | SV | ^([0-9][0-9][0-9][0-9])$ | 1234 |
EQUATORIAL GUINEA | GQ | ^.+$ | * |
ERITREA | ER | ^.+$ | * |
ESTONIA | EE | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
FALKLAND ISLANDS (MALVINAS) | FK | ^.+$ | * |
FAROE ISLANDS | FO | ^([0-9][0-9][0-9][0-9])$ | 1234 |
FIJI | FJ | ^.+$ | * |
FINLAND | FI | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
FRANCE | FR | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
FRENCH GUIANA | GF | ^.+$ | * |
FRENCH POLYNESIA | PF | ^.+$ | * |
FRENCH SOUTHERN TERRITORIES | TF | ^.+$ | * |
GABON | GA | ^([0-9][0-9].+[0-9][0-9])$ | 12*34 |
GAMBIA | GM | ^.+$ | * |
GEORGIA | GE | ^([0-9][0-9][0-9][0-9][0-9][0-9])$ | 123456 |
GERMANY | DE | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
GHANA | GH | ^.+$ | * |
GIBRALTAR | GI | ^.+$ | * |
GREECE | GR | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
GREENLAND | GL | ^([0-9][0-9][0-9][0-9])$ | 1234 |
GRENADA | GD | ^.+$ | * |
GUADELOUPE | GP | ^.+$ | * |
GUAM | GU | (^([0-9][0-9][0-9][0-9][0-9])$)|(^([0-9][0-9][0-9][0-9][0-9][-][0-9][0-9][0-9][0-9])$) | 12345, 12345-6789 |
GUATEMALA | GT | ^([0-9][0-9].+[0-9].+[0-9][0-9])$ | 12*3*45 |
GUINEA | GN | ^.+$ | * |
GUINEA-BISSAU | GW | ^([0-9][0-9][0-9][0-9])$ | 1234 |
GUYANA | GY | ^.+$ | * |
HAITI | HT | ^.+$ | * |
HEARD ISLAND AND MCDONALD ISLANDS | HM | ^.+$ | * |
HOLY SEE (VATICAN CITY STATE) | VA | ^.+$ | * |
HONDURAS | HN | ^([0-9][0-9][0-9][0-9][0-9])$ | 1234 |
HONG KONG | HK | ^.+$ | * |
HUNGARY | HU | ^([0-9][0-9][0-9][0-9])$ | 1234 |
ICELAND | IS | ^([0-9][0-9][0-9])$ | 123 |
INDIA | IN | ^([0-9][0-9][0-9][0-9][0-9][0-9])$ | 123456 |
INDONESIA | ID | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
IRAN | IR | ^([0-9][0-9][0-9][0-9][0-9][ ][0-9][0-9][0-9][0-9][0-9])$ | 1 234 512 345 |
IRAQ | IQ | ^.+$ | * |
IRELAND | IE | ^.+$ | * |
ISRAEL | IL | (^([0-9][0-9][0-9][0-9][0-9])$)|(^([0-9][0-9][0-9][0-9][0-9][0-9][0-9])$) | 12345, 1234567 |
ITALY | IT | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
JAMAICA | JM | ^([a-dA-D][a-zA-Z][a-zA-Z][0-9][0-9])$ | abc12 |
JAPAN | JP | ^([0-9][0-9][0-9][0-9][0-9][0-9][0-9])$ | 1234567 |
JERSEY | JE | ^.+$ | * |
JORDAN | JO | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
KAZAKSTAN | KZ | ^([0-9][0-9][0-9][0-9][0-9][0-9])$ | 123456 |
KENYA | KE | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
KIRIBATI | KI | ^.+$ | * |
KOREA, DEMOCRATIC PEOPLE´S REPUBLIC OF | KP | ^.+$ | * |
KOREA, REPUBLIC OF | KR | (^([0-9][0-9][0-9])$)|(^([0-9][0-9][0-9][0-9][0-9])$)|(^([0-9][0-9][0-9][0-9][0-9][0-9])$) | 123, 12345,123456 |
KOSOVO | XK | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
KUWAIT | KW | ^.+$ | * |
KYRGYZSTAN | KG | ^([0-9][0-9][0-9][0-9][0-9][0-9])$ | 123456 |
LAO PEOPLE'S DEMOCRATIC REPUBLIC | LA | ^.+$ | * |
LATVIA | LV | ^([0-9][0-9][0-9][0-9])$ | 1234 |
LEBANON | LB | (^([0-9][0-9][0-9][0-9])$)|(^([0-9][0-9][0-9][0-9][ ][0-9][0-9][0-9][0-9])$) | 1234, 1234 5678 |
LESOTHO | LS | ^([0-9][0-9][0-9])$ | 123 |
LIBERIA | LR | ^([0-9][0-9][0-9][0-9])$ | 1234 |
LIBYA | LY | ^.+$ | * |
LIECHTENSTEIN | LI | (^([0-9][0-9][0-9][0-9])$)|(^([0-9][0-9][0-9][0-9][0-9])$) | 1234, 12345 |
LITHUANIA | LT | (^([0-9][0-9][0-9][0-9])$)|(^([0-9][0-9][0-9][0-9][0-9])$) | 1234, 12345 |
LUXEMBOURG | LU | ^([0-9][0-9][0-9][0-9])$ | 1234 |
MACAU | MO | ^.+$ | * |
MACEDONIA | MK | ^([0-9][0-9][0-9][0-9])$ | 1234 |
MADAGASCAR | MG | ^([0-9][0-9][0-9])$ | 123 |
MALAWI | MW | ^.+$ | * |
MALAYSIA | MY | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
MALDIVES | MV | ^([0-9][0-9][-][0-9][0-9])$ | 12-34 |
MALI | ML | ^.+$ | * |
MALTA | MT | ^([a-zA-Z][a-zA-Z][a-zA-Z][ ]?[0-9][0-9])$ | abc 12 |
MARSHALL ISLANDS | MH | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
MARTINIQUE | MQ | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
MAURITANIA | MR | ^.+$ | * |
MAURITIUS | MU | ^.+$ | * |
MAYOTTE | YT | ^.+$ | * |
MEXICO | MX | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
MICRONESIA, FEDERATED STATES OF | FM | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
MOLDOVA, REPUBLIC OF | MD | ^([0-9][0-9][0-9][0-9])$ | 1234 |
MONACO | MC | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
MONGOLIA | MN | ^([0-9][0-9][0-9][0-9][0-9][0-9])$ | 123456 |
MONTENEGRO | ME | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
MONTSERRAT | MS | ^.+$ | * |
MOROCCO | MA | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
MOZAMBIQUE | MZ | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
MYANMAR | MM | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
NAMIBIA | NA | ^.+$ | * |
NAURU | NR | ^.+$ | * |
NEPAL | NP | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
NETHERLANDS | NL | ^([1-9][0-9]{3}\s?[a-zA-Z]{2})$|(^([0-9][0-9][0-9][0-9])) | 1234 AB, 1234 |
NETHERLANDS ANTILLES | AN | ^([0-9][0-9][0-9][0-9][a-zA-Z][a-zA-Z])$ | 1234ab |
NEW CALEDONIA | NC | ^.+$ | * |
NEW ZEALAND | NZ | ^([0-9][0-9][0-9][0-9])$ | 1234 |
NICARAGUA | NI | ^([0-9][0-9][0-9][-][0-9][0-9][0-9][-][0-9])$ | 123-456-7 |
NIGER | NE | ^([0-9][0-9][0-9][0-9])$ | 1234 |
NIGERIA | NG | ^([0-9][0-9][0-9][0-9][0-9][0-9])$ | 123456 |
NIUE | NU | ^.+$ | * |
NORFOLK ISLAND | NF | ^.+$ | * |
NORTHERN MARIANA ISLANDS | MP | ^.+$ | * |
NORWAY | NO | ^([0-9][0-9][0-9][0-9])$ | 1234 |
OMAN | OM | ^([0-9][0-9][0-9])$ | 123 |
PAKISTAN | PK | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
PALAU | PW | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
PALESTINIAN TERRITORY, OCCUPIED | PS | ^.+$ | * |
PANAMA | PA | ^.+$ | * |
PAPUA NEW GUINEA | PG | ^([0-9][0-9][0-9])$ | 123 |
PARAGUAY | PY | ^([0-9][0-9][0-9][0-9])$ | 1234 |
PERU | PE | ^([0-9][0-9][0-9][0-9])$ | 1234 |
PHILIPPINES | PH | ^([0-9][0-9][0-9][0-9])$ | 1234 |
PITCAIRN | PN | ^.+$ | * |
POLAND | PL | (^([0-9][0-9][0-9][0-9][0-9])$)|(^([0-9][0-9][-][0-9][0-9][0-9])$) | 12345, 12-345 |
PORTUGAL | PT | ^([0-9][0-9][0-9][0-9][0-9][0-9][0-9])$ | 1234567 |
PUERTO RICO | PR | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
QATAR | QA | ^.+$ | * |
REUNION | RE | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
ROMANIA | RO | ^([0-9][0-9][0-9][0-9][0-9][0-9])$ | 123456 |
RUSSIAN FEDERATION | RU | ^([0-9][0-9][0-9][0-9][0-9][0-9])$ | 123456 |
RWANDA | RW | ^.+$ | * |
SAINT HELENA | SH | ^.+$ | * |
SAINT KITTS AND NEVIS | KN | ^.+$ | * |
SAINT LUCIA | LC | ^.+$ | * |
SAINT PIERRE AND MIQUELON | PM | ^.+$ | * |
SAINT VINCENT AND THE GRENADINES | VC | ^.+$ | * |
SAMOA | WS | ^.+$ | * |
SAN MARINO | SM | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
SAO TOME AND PRINCIPE | ST | ^.+$ | * |
SAUDI ARABIA | SA | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
SENEGAL | SN | ^.+$ | * |
SERBIA | RS | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
SEYCHELLES | SC | ^.+$ | * |
SIERRA LEONE | SL | ^.+$ | * |
SINGAPORE | SG | ^([0-9][0-9][0-9][0-9][0-9][0-9])$ | 123456 |
SLOVAKIA | SK | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
SLOVENIA | SI | ^([0-9][0-9][0-9][0-9])$ | 1234 |
SOLOMON ISLANDS | SB | ^.+$ | * |
SOMALIA | SO | ^.+$ | * |
SOUTH AFRICA | ZA | ^([0-9][0-9][0-9][0-9])$ | 1234 |
SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS | GS | ^.+$ | * |
SPAIN | ES | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
SRI LANKA | LK | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
SUDAN | SD | ^([0-9][0-9][0-9][0-9])$ | 1234 |
SURINAME | SR | ^.+$ | * |
SVALBARD AND JAN MAYEN | SJ | ^.+$ | * |
SWAZILAND | SZ | ^([a-zA-Z][0-9][0-9][0-9][0-9])$ | a123 |
SWEDEN | SE | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
SWITZERLAND | CH | ^([0-9][0-9][0-9][0-9])$ | 1234 |
SYRIAN ARAB REPUBLIC | SY | ^.+$ | * |
TAIWAN | TW | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
TAJIKISTAN | TJ | ^([0-9][0-9][0-9][0-9][0-9][0-9])$ | 123456 |
TANZANIA, UNITED REPUBLIC OF | TZ | ^.+$ | * |
THAILAND | TH | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
TOGO | TG | ^.+$ | * |
TOKELAU | TK | ^.+$ | * |
TONGA | TO | ^.+$ | * |
TRINIDAD AND TOBAGO | TT | ^.+$ | * |
TUNISIA | TN | ^([0-9][0-9][0-9][0-9])$ | 1234 |
TURKEY | TR | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
TURKMENISTAN | TM | ^([0-9][0-9][0-9][0-9][0-9][0-9])$ | 123456 |
TURKS AND CAICOS ISLANDS | TC | ^.+$ | * |
TUVALU | TV | ^.+$ | * |
UGANDA | UG | ^.+$ | * |
UKRAINE | UA | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
UNITED ARAB EMIRATES | AE | ^.+$ | * |
UNITED KINGDOM | GB | (^([a-zA-Z][0-9][ ][0-9][a-zA-Z][a-zA-Z])$)|(^([a-zA-Z][0-9][a-zA-Z][ ][0-9][a-zA-Z][a-zA-Z])$)|(^([a-zA-Z][0-9][0-9][ ][0-9][a-zA-Z][a-zA-Z])$)|(^([a-zA-Z][a-zA-Z][0-9][ ][0-9][a-zA-Z][a-zA-Z])$)|(^([a-zA-Z][a-zA-Z][a-zA-Z][ ][0-9][a-zA-Z][a-zA-Z])$)|(^([a-zA-Z][a-zA-Z][0-9][0-9][ ][0-9][a-zA-Z][a-zA-Z])$)|(^([a-zA-Z][a-zA-Z][0-9][a-zA-Z][ ][0-9][a-zA-Z][a-zA-Z])$)|(^([a-zA-Z][a-zA-Z][a-zA-Z][ ][0-9][a-zA-Z][a-zA-Z])$) | A1 1AB, A1B 1AB, A12 1AB, AB1 1AB, ABC 1AB, AB12 1AB, ABC 1AB |
UNITED STATES | US | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
UNITED STATES MINOR OUTLYING ISLANDS | UM | ^.+$ | * |
URUGUAY | UY | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
UZBEKISTAN | UZ | ^([0-9][0-9][0-9][0-9][0-9][0-9])$ | 123456 |
WALLIS AND FUTUNA | WF | ^.+$ | * |
VANUATU | VU | ^.+$ | * |
VENEZUELA | VE | (^([0-9][0-9][0-9][0-9])$)|(^([0-9][0-9][0-9][0-9][a-zA-Z])$) | 1234 | 1234a |
WESTERN SAHARA | EH | ^.+$ | * |
VIET NAM | VN | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
VIRGIN ISLANDS, BRITISH | VG | ^.+$ | * |
VIRGIN ISLANDS, U.S. | VI | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
YEMEN | YE | ^.+$ | * |
YUGOSLAVIA | YU | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
ZAMBIA | ZM | ^([0-9][0-9][0-9][0-9][0-9])$ | 12345 |
ZIMBABWE | ZW | ^.+$ | * |