InRegex Logo
InRegex
Nuovo

Strong Password Checker

Spiegazione

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

Espressione Regolare

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

Esempio di Utilizzo

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

Prova l'espressione

Espressioni Regolari Simili