Regular Expressions 101

Community Patterns

1...34567...902

Community Library Entry

0

Regular Expression
Python

r"
(?P<utm_campaign>(?<=utm_campaign=).*?(?=&|\\s|$))
"
gm

Description

Extract utm_campaign from a URL String

Submitted by QuickRegEx - 4 years ago