Community Patterns

Community Library Entry

3

Regular Expression
Created·2016-05-15 10:22
Flavor·Python

r"
((?<=[\?\&])foo\=[^\&\#]*)|((?<=[\?\&])foo(?=[\&\#]))|((?<=[\?\&])foo(?!.))
"
g
Open regex in editor

Description

A solution for capture query params.

Submitted by Rafael Laurindo