Regular Expressions 101

Community Library Entry

0

Regular Expression
Python

r"
City: (?P<city>.*)
"
gm

Description

For getting the value after “City: “ in a block of text

Submitted by QuickRegEx - 4 years ago