zipcode - What is the ultimate postal code and zip regex? -


i'm looking ultimate postal code , zip code regex. i'm looking cover (hopefully all) of world.

there none.

postal/zip codes around world don't follow common pattern. in countries made numbers, in others can combinations of numbers letters, can contain spaces, others dots, number of characters can vary 2 @ least six...

what (theoretically) create seperate regex every country in world, not recommendable imo. still missing on validation part: zip code 12345 may exist, 12346 not, maybe 12344 doesn't exist either. how check regex?

you can't.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -