【发布时间】:2018-08-20 10:56:27
【问题描述】:
我想使用 Regex 设置密码策略。如果可以,请你帮助我。基本上,我希望能够检查以下密码规则:
- 密码至少应包含 12 个字符
- 至少应包含 3 个小写字符
- 至少应包含 3 个大写字符
- 一个数字
- 特殊字符
非常感谢!
祝你好运,
马辛
【问题讨论】:
-
欢迎来到 stackoverflow.com。请花一些时间阅读the help pages,尤其是名为"What topics can I ask about here?" 和"What types of questions should I avoid asking?" 的部分。也请take the tour 和read about how to ask good questions。最后请学习如何创建Minimal, Complete, and Verifiable Example。
-
感谢 ctwheels 提供非常宝贵的意见。祝你有美好的一天。