Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
^[a-z0-9-]{8,20}$
/
g

Description

Check out this username regex.. Case insensitive and max char limit is 12

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