Regular Expressions 101

Sponsors

Library entries

0
pcre2

Jerem

To match specific name based on season code
Submitted by anonymous - 21 hours ago
0
pcre2

.csv data conversion for a test case

from "['a']" to "[""a""]"
Submitted by anonymous - 3 days ago
0
pcre2

track OM cash out

cash out tracker
Submitted by anonymous - 4 days ago
0
java

CDATA Matcher

Matches CDATA sections while disallowing nesting
Submitted by anonymous - 4 days ago
0
pcre2

Php

Php
Submitted by Nickname - 4 days ago
0
pcre2

VAQ234S

1
Submitted by anonymous - 7 days ago
0
pcre2

belcorp

test
Submitted by anonymous - 10 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 - 4 months ago