Can anyone help me with a regex to allow atleast one special character, one uppercase, one lowercase.
This is what I have so far:
^.*(?=.{8,})(?=.*[a-z])(?=.*[A-Z])(?=.*[@#$%^&+=]).*$
but it seems to match the characters only in the order "special character", "uppercase", "lowercase".
Any help is greatly appreciated
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…