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 - 2 years ago (Last modified 2 years ago)