gpt4 book ai didi

javascript - Active Directory 密码策略的正则表达式

转载 作者:行者123 更新时间:2023-11-28 20:02:36 24 4
gpt4 key购买 nike

我需要满足以下条件的 Active Directory 密码策略的正则表达式。我的要求是:

at least one digit (0-9)
at least one lowercase character
at least one uppercase character
must contain at least one special character and
the length should be minimum 8 characters and maximum of 25

最佳答案

试试这个。它包含在空格键验证中。

((?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[\W]).{8,25})

关于javascript - Active Directory 密码策略的正则表达式,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21405543/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com