Regular Expressions 101

Community Patterns

1...45678...901

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)