Regular Expressions 101

Sponsors

Library entries

0
javascript

check mail

Vérifie si le mail est valide ou non
Submitted by anonymous - a day ago
0
javascript

Find WikiRace baseURL

https://github.com/d-k-bo/WikiRace
Submitted by anonymous - 6 days ago
1
javascript

File extension

Retrieve the file extension of a filename
Submitted by anonymous - 16 days ago
0
javascript

域名规则

域名规则
Submitted by anonymous - 20 days ago

No trailing spaces or extra spaces max char 200 min 2 and hyphen and & only allowed

Vote

1

Regular Expression
pcre

/
^(?!.* {2})(?=\S)(?=.*\S$)[a-zA-Z0-9- &]{2,100}$
/
g

Description

Loading markdown...
Submitted by Natalia zolotareva - 5 months ago