Regular Expressions 101

Community Patterns

There does not seem to be anything here

Community Library Entry

3

Regular Expression
Python

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

Description

A solution for capture query params.

Submitted by Rafael Laurindo - 9 years ago