ASP正则表达式验证器的正则表达式 [英] Regular Expression For ASP Regular Expression Validator
本文介绍了ASP正则表达式验证器的正则表达式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要使用ASP Regular Expression Validator来验证密码,密码是否包含8个字符,一个大写,一个数字和一个spl char。在互联网上有很多表达式是可用的,但没有工作。
任何帮助,将不胜感激。
解决方案
我总是用RegExLib网站,他们有很多正则表达式。 密码的搜索查询[ ^ ]即可。
您可以选择多种不同的颜色。
我认为这个正则表达式可以解决你的问题,
< br />
^(?=。{8, })(?=。* [0-9])(?=。* [AZ])(?=。* [AZ])(?=。* [@#
%^&安培; + =])*
。
Hi,
I need to validate the password using ASP Regular Expression Validator, whether the password has min of 8 characters with one Upper case, one numeric and one spl char.In internet there are lots of expressions are available, but none is working.
Any help would be highly appreciated.
解决方案
I always use the RegExLib website, they have a lot of regular expressions. A search query for password[^] will do.
You can choose between many different kinds.
I think this Regular Expression would solve your problem,
<br /> ^(?=.{8,})(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])(?=.*[@#
%^&+=]).*
这篇关于ASP正则表达式验证器的正则表达式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文