Regular Expressions 101

Community Patterns

1...45678...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