1

Possible Duplicate:
What is the ultimate postal code and zip regex?

Is there a well-defined set of regexes for validating international postal codes? I have 52 different countries that I have to validate against, so I was hoping someone already has this problem licked.

Community
  • 1
  • 1
Mark Richman
  • 28,948
  • 25
  • 99
  • 159
  • 1
    Don't know about all of them, but www.regexlib.com has a large number of them defined. Check Browse Expressions, under Address.. – Sparky Jun 30 '11 at 21:02
  • See http://stackoverflow.com/q/6409948/469210 for UK postcodes. – borrible Jun 30 '11 at 21:14

0 Answers0