What is the ultimate postal code and zip regex?

The unicode CLDR contains the postal code regex for each country. (158 regex’s in total!) Download core.zip from http://unicode.org/Public/cldr/26.0.1/ unzip core.zip Take a look at common/supplemental/postalCodeData.xml from the unzipped content (direct content: common/supplemental/postalCodeData.xml) Google also has a web service with per-country address formatting information, including postal codes, here – http://i18napis.appspot.com/address (I found that link via … Read more

tech