Regular Expressions 101

Sponsors

Library entries

0
python

scrape pdf

get data from pdf
Submitted by anonymous - 11 days ago
0
pcre

Thai car register

rule for thai registered car
Submitted by socool - 12 days ago
0
pcre

Thai credit card

rule for parse thai credit card
Submitted by socool - 12 days ago
0
pcre

Thai citizen

rule for parse thai citizen card
Submitted by socool - 12 days ago
0
pcre2

Get HTML attribute

Get HTML attribute with /" inside
Submitted by anonymous - 12 days ago
0
pcre2

IP address with port

Match ip address with port
Submitted by PARNKOT - 14 days ago
0
pcre2

Env Var

Regex to match Env Variable whole line
Submitted by anonymous - 14 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