0
我需要一个具有以下条件的Active Directory密码策略的正则表达式。 我的要求是: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
这看起来很不错,我会用'[\ W_]'替换'[\ W]',以便将下划线视为特殊字符。 –