Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^(?=.*[0-9])(?=.*[a-zA-Z])[a-zA-Z0-9\s\+-=;:,.'"!@#$%^*|&?]{8,}$
/
gm

Description

Make validation password must alphanumeric but can add special character

Submitted by anonymous - 6 years ago