Regex for password must contain at least eight characters, at least one number and both lower and uppercase letters

后端 未结 0 350
名媛妹妹
名媛妹妹 2021-01-17 11:57

I am using

/^(?=.\\d)(?=.[a-z])(?=.*[A-Z])[0-9a-zA-Z]{8,}$/

But the problem is when I add any special character like !/@/#... etc, this regex doesn\'t

相关标签:
回答
  • 消灭零回复
提交回复
热议问题