Regular Expressions 101

Sponsors

Library entries

1
python

Get domain name from URL

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

Extract time from text

Extract time from text
Submitted by anonymous - 7 months ago
1
python

CRON

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

Polynom

Regex to get polynomial coefficients
Submitted by Balandin Igor - 3 months ago

Url with <a> (param) validation

Vote

2

Regular Expression
pcre

/
^((http|https):\/\/)?(www[0-9]\.)?(([A-Za-z0-9_-])+\.{1})+([A-Za-z]{2,4}|\<[^<>]+\>)(\/([A-Za-z0-9_-])+)*(\/)?$
/
mg

Description

Loading markdown...
Submitted by Duleep Dissanayaka - 8 years ago