Regular Expressions 101

Library entries

RegEx for weaterdata from a YR xml file

Vote

0

Regular Expression
python

"
<time from="(?P<TimeFrom>[\dT:-]*)" to="(?P<TimeTo>[\dT:-]*)" period="\d">.*?(?P<symbol>symbol number="\d").*?\>.*?(?P<percipication>precipitation value="\d").*?\>.*?(?P<windSpeed>windSpeed mps="[\d\.]*").*?\>.*?</time>
"
msgui

Description

Loading markdown...
Submitted by Noko - 6 years ago