Regular Expressions 101

Community Patterns

DS_W2_L1_grouping

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 - 3 years ago