Regular Expressions 101

Sponsors

Library entries

1
python

Parse Data Fields

Parsing example
Submitted by anonymous - 7 months ago
1
pcre2

order by field and direction

order by field and direction
Submitted by anonymous - 7 months ago
1
python

ds100reg2

Data 100 Regular Expressions, adapted from Princeton
Submitted by anonymous - 6 months ago
1
python

Get domain name from URL

Get domain name from URL
Submitted by anonymous - 6 months ago
1
python

Extract time from text

Extract time from text
Submitted by anonymous - 6 months ago
1
pcre2

Variable, -> "Variable",

Add "" to variable before comma
Submitted by anonymous - 6 months ago
1
python

CRON

Validades cron job time specification
Submitted by anonymous - 6 months ago
1
pcre2

basic

rast
Submitted by anonymous - 6 months ago

Simple Phone Number validation

Vote

1

Regular Expression
pcre2

/
^(?![ -])(?!.*[- ]$)(?!.*[- ]{2})[0-9- ]+$
/
gm

Description

Loading markdown...
Submitted by Sowed Castelli - a year ago