how to effectively keep/update postal and telephone code format for each country?

Posted by melaos on Stack Overflow See other posts from Stack Overflow or by melaos
Published on 2011-01-06T08:51:19Z Indexed on 2011/01/06 8:53 UTC
Read the original article Hit count: 208

hi there,

currently we have a table for regex format for phone and postal code for countries that we use to validate when the user register through our forms.

but the problem remains on the maintenance on the correctness of these format, thus what's a good way to ensure that we always have the latest copy of this information? is there a web service/etc that i can use to get this?

or does it even make sense to keep all these format but instead use a relaxed method to ensure that the user just keys in something which roughly matches the format?

the information is used solely for shipping and billing address. we're using asp.net 2.0 btw.

thanks ~steve

© Stack Overflow or respective owner

Related posts about localization

Related posts about format