Regular Expressions 101

Community Patterns

1...34567...901

Community Library Entry

12

Regular Expression
ECMAScript (JavaScript)

/
^(?=.{3,20}$)(?![_.-])(?!.*[_.-]{2})[a-zA-Z0-9_-]+([^._-])$
/

Description

no description available

Submitted by Gianvy - 9 years ago