import re
pwd = "jfih387whfkbn3b/./"
if re.search(r'\d+', pwd) and re.search(r'[a-z]+', pwd) and re.search(r'[A-Z]+', pwd) and re.search(
r'[!@#$%^&*()_+=-]+', pwd)
return True
else:
return False
解决python判断密码大小写数字特殊字符
最新推荐文章于 2023-08-24 17:45:17 发布