Regular Expressions 101

Community Patterns

1

js

ECMAScript (JavaScript)
no description available
Submitted by sd - 10 years ago
-1

Find image style

ECMAScript (JavaScript)
style img
Submitted by anonymous - 10 years ago

Username with "_" "-"

12

Regular Expression
ECMAScript (JavaScript)

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

Description

Loading markdown...
Submitted by Gianvy - 8 years ago