Regular Expressions 101

Community Patterns

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)