Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

我有更好的正则: 密码强度校验,最少6位,包括至少1个大写字母,1个小写字母,1个数字,1个特殊字符 #292

Open
lidbas opened this issue Jun 27, 2023 · 1 comment

Comments

@lidbas
Copy link

lidbas commented Jun 27, 2023

^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,20}$

@lingsoulgit
Copy link

没有小写字母也可以通过,比如:L12355555
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants