Regular Expressions 101

Sponsors

Library entries

1
pcre

Polynom

Regex to get polynomial coefficients
Submitted by Balandin Igor - 2 months ago
1
python

telephone_founder

with obfuscation
Submitted by anonymous - 22 days ago
1
java

IP Address

(^([0-9]{2,3}.)([0-9]{2,3}.)([0-9]{2,3}.)([0-9]{2,3})$)
Submitted by anonymous - 11 days ago
2
python

lottery data picker

for azlottoapi
Submitted by anonymous - 2 years ago
2
python

IpAddress

Ensure the ip address format is correct
Submitted by aaa - 2 years ago

Get dynamic parameters from an URL

Vote

2

Regular Expression
pcre

/
(?:http\:\/\/(?:www\.)?){1}[^\/]*\/([^\/]*)(?#parameter2)(?:\/([^\/]*))?(?#parameter3)(?:\/([^\/]*))?(?#parameter4)(?:\/([^\/]*))?
/

Description

Loading markdown...
Submitted by Caio Oliveira - 9 years ago