Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
^([a-zA-Z]+) ?([1-9]+)[, ]*[0-9]{,2}:[0-9]{,2}[^,]+, ?T=([-0-9]+)degr?
"
gm

Description

Same temperature measurement extraction example but this time using grouping such that we can choose only the positive measurements before September 10

Submitted by anonymous - 4 years ago