Regular Expressions 101

Community Patterns

1...56789...902

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
^[A-Za-z\d@!?\-_.]{5,}$
/
gm

Description

Super simple, just checks for 5 or more letters/numbers/symbols.

Submitted by Ryan Varley - 3 years ago (Last modified 3 years ago)