How to create a regular expression to validate zip- and postal codes?

Posted by dylan7 on Stack Overflow See other posts from Stack Overflow or by dylan7
Published on 2010-01-05T10:14:28Z Indexed on 2010/06/05 20:32 UTC
Read the original article Hit count: 96

Filed under:

I need a a regular expression to validate Zipcode or postcode - it must be 8 characters alphanumeric field i.e allow A-Z, a-z, or 0-9.

Thanks.

© Stack Overflow or respective owner

Related posts about regex