InRegex Logo
InRegex

Strong Password Checker

Explication

This regex pattern ensures that the password contains at least one lowercase letter, one uppercase letter, one digit, one special character, and is between 8 and 16 characters in length.

javascript

Expression Régulière

^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^a-zA-Z\d]).{8,16}$
Copier
Avez-vous des Retours ?
javascript

Exemple d'Utilisation

const passwordRegex = /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[^a-zA-Z\d]).{8,16}$/;
Copier

Testez l'expression

Expressions Régulières Similaires