Password Regex
If you would like to match characters from 4 different character classes
characters from 4 character classes
^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[!@#$%^&*]))
No matching characters next to each other
(.)(1+){1}
Regex tester
Gareth