使用asp.net输入验证来验证手机号码. [英] validate a mobile no using asp.net input validation.

查看:89
本文介绍了使用asp.net输入验证来验证手机号码.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都知道如何使用asp.net输入验证控件来验证移动电话..

any one know how to validate mobile no using asp.net input validation controls..

推荐答案

^ ]可能会为您提供帮助.
http://p2p.wrox.com/javascript-how/64920-validation-phone-number-mobile-number.html[^] might help you.


您的问题有点笼统,因为我本人不知道您要验证的手机号码格式.事实是,手机号码格式因国家/地区而异.

无论哪种方式,请转到此处搜索您所在国家/地区的手机号码"regex":
http://regexlib.com/Search.aspx?k=mobile%20number [ ^ ]

我已经在上面的链接上为您执行了常规搜索,但请按照您的方式定制搜索.

祝您编程愉快,
Morgs
Your question is somewhat broad as i in person don''t know the mobile number format you would like to validate. Thing is, mobile number formats differ from country to country.

Either way, go here and search for your country mobile number "regex":
http://regexlib.com/Search.aspx?k=mobile%20number[^]

I already performed a generalised search for you on the link above but care to tailor the search your way.

Happy coding,
Morgs


尝试
电话& ASP.NET中的手机号码验证 [
Try
Telephone & Mobile Number Validation in ASP.NET[^]


这篇关于使用asp.net输入验证来验证手机号码.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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