HardSecurity
Password Strength Validator
Write a regex that validates a password requiring at least one lowercase letter, one uppercase letter, one digit, one symbol, and a minimum length of 8 characters.
//
Passw0rd! / password1! / PASSWORD1! / Password! / Password1 / Pw1!
Test cases
- Passw0rd!expect match
- P@ssw0rdexpect match
- password1!expect no match
- PASSWORD1!expect no match
- Password!expect no match
- Password1expect no match
- Pw1!expect no match