Back to Library
Validation

Password Strength

At least 8 chars, 1 uppercase, 1 lowercase, 1 number, 1 special char.

Pattern
^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[@$!%*?&])[A-Za-z\d@$!%*?&]{8,}$

Test Cases

P@ssw0rd1 Match
password No Match

Try it Live

Test and customize this pattern in our interactive editor

Open in Editor