Regular Expressions 101

Sponsors

Library entries

0
pcre2

Picking 2nd 1st Line

Picking 2nd 1st Line
Submitted by Picking 2nd 1st Line - 11 days ago
0
pcre2

Picking 1st Line

Picking 1st Line
Submitted by Picking 1st Line - 11 days ago
0
pcre2

City State Zip

City State Zip
Submitted by anonymous - 11 days ago
1
pcre2

ticker but not EFS

ticker but not EFS
Submitted by anonymous - 11 days ago
0
javascript

soteshop price

aa
Submitted by anonymous - 13 days ago
0
java

id card

打断点
Submitted by anonymous - 13 days ago
0
java

fdsf

sdf
Submitted by anonymous - 13 days ago
0
pcre2

App store

App store ID
Submitted by anonymous - 13 days ago
0
javascript

Collection of sub routes with similar segments

asdf
Submitted by anonymous - 14 days ago

Username with "_" "-"

Vote

11

Regular Expression
javascript

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

Description

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