Regular Expressions 101

Sponsors

Library entries

0
javascript

Date Validator

Submitted by anonymous - 7 hours ago
0
javascript

111

111
Submitted by Alex - 15 hours ago
0
javascript

multicast

.
Submitted by anonymous - 5 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 - 7 months ago