Regular Expressions 101

Community Patterns

1...34567...901

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)