Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

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

Description

Extract utm_source from a URL String

Submitted by QuickRegEx - 4 years ago