Regular Expressions 101

Community Patterns

1...56789...902

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