任何国家的邮政编码验证 [英] Zipcode validation of any country

查看:204
本文介绍了任何国家的邮政编码验证的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我需要使用任何国家/地区或至少美国的邮政编码进行验证。如果我输入美国的任何邮政编码,它应该返回美国的城市和州。如果我输错了它会显示错误信息。我需要一些示例和网站链接。

解决方案

看看这个:邮政编码实用程序 [ ^ ] - 它会返回您想要的城市/州信息。


请检查



邮政代码和 - 拉链正则表达式 [<一个href =http://stackoverflow.com/questions/578406/what-is-the-ultimate-postal-code-and-zip-regextarget =_ blanktitle =New Window> ^ ]

Hi,

i need to validate by using web service on zipcode of any country or atleast USA. if i enter any zipcode of US it should return city and state of US. if i enter wrong it shows error message. i need some samples and web link.

解决方案

Have a look at this: ZIP Code Utility[^] - it returns the city / state info you want.


please check

postal-code-and-zip-regex[^]


这篇关于任何国家的邮政编码验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆