密码6到20个字符的正则表达式 [英] Regular Expression for Password 6 to 20 Characters

查看:1550
本文介绍了密码6到20个字符的正则表达式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的先生..





i想要asp.net中的paaword正则表达式





1)以字母s开头(AZ和az))

2)强制一个数字(0到9)

3)特殊字符必须是1并且应该是最后的(!,@,#,$,%,^,&,* _)

4)最小长度6和最大20 .. ..

解决方案

,%,^,&,* _)

4)最小长度6和最大20 .... / blockquote>

这里有一大堆...挑选你最喜欢的那个!!



http://regexlib.com/Search.aspx?k=password [ ^ ]


regular-expressions-for-strong-password-in-aspnet / [ ^ ]



ASP.Net-正则表达式,验证-to-validate-Minimum-and-Maximum-Text-Length.aspx [ ^ ]



http://forums.asp.net/t/1380709.aspx/1 [ ^ ]





检查链接并根据需要进行修改..


Dear Sir ..


i want the paaword regular expression in asp.net


1)start with alphabetic s (A-Z and a-z))
2)compulsory one number (0 to 9)
3)special characters must be one and should be at last(!,@,#,$,%,^,&,*_)
4)minimum length 6 and max 20....

解决方案

,%,^,&,*_)
4)minimum length 6 and max 20....


Here's a whole bunch of them... pick the one you like best!!

http://regexlib.com/Search.aspx?k=password[^]


regular-expressions-for-strong-password-in-aspnet/[^]

ASP.Net-Regular-Expression-Validator-to-validate-Minimum-and-Maximum-Text-Length.aspx[^]

http://forums.asp.net/t/1380709.aspx/1[^]


Check the links and modify according to your need..


这篇关于密码6到20个字符的正则表达式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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