Regular Expressions 101

Sponsors

Library entries

0
python

apdl flst

apdl flst
Submitted by anonymous - 5 hours ago
0
pcre2

MySQL DATETIME

MySQL DATETIME
Submitted by anonymous - a day ago
0
pcre2

Split Http(s) Response

Split Http(s) Response
Submitted by anonymous - 2 days ago
0
pcre2

Vivaldi

Vivaldi
Submitted by anonymous - 3 days ago
0
python

ipv4 addresses

Valid ip addreses
Submitted by anonymous - 4 days ago
0
pcre2

TXN ID

VIL ID
Submitted by anonymous - 5 days ago
0
pcre2

Slurs

Not made with ill intentions.
Submitted by anonymous - 6 days ago

split URL into location-resource-params

Vote

3

Regular Expression
pcre

/
(?'location'.+)(?:\/(?'resource'[\w\-\._]+\.js))(?:\?(?'params'.+))?
/
gm

Description

Loading markdown...
Submitted by cebence - 9 years ago