Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^([\W\w])([^\s]){8,16}$
/

Description

verify that a password string is from length 8 - 16, while allowing word and non-word characters.

Submitted by anonymous - 3 years ago (Last modified 3 years ago)