Regular Expressions 101

Sponsors

Library entries

0
pcre2

Picking 2nd 1st Line

Picking 2nd 1st Line
Submitted by Picking 2nd 1st Line - 7 days ago
0
pcre2

Picking 1st Line

Picking 1st Line
Submitted by Picking 1st Line - 7 days ago

Get URL parameters

Vote

4

Regular Expression
pcre

/
(?:\?|\&)(?<key>[\w]+)(?:\=|\&?)(?<value>[\w+,.-]*)
/
g

Description

Loading markdown...
Submitted by anonymous - 7 years ago