Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
<span class="wfWeekendRightDay">(.+)<\/span>\s+<span class="wfWeekendRightDate">(.+)<\/span>\s+<img src=".*" width="\d+" height="\d+" class="wfWeekendRightImg" alt=".+" title=".+" \/>\s+<span class="wfWeekendRightTemp" title=".+">(\d+).+\|.+<span title=".+">(\d+).+<\/span><\/span>\s+<strong class="wfWeekendRightCond">.+<\/strong>\s+<span class=".+" title=".+">\s+(\d.\d).+<br \/><span>.+<\/span>\s+<\/span>\s+<span class=".+">(\d+).<\/span>\s+<span class="wfWeekendRighValue">(\d.\d).+<\/span>\s+<span class="wfWeekendRighValue">(\d+).<\/span>\s+<span class="wfWeekendRighValue wfWeekendRightCloudinessValue">(\d+).<\/span>\s+<span class="wfWeekendRighValue wfWeekendRightUvValue">.+<\/span><\/span>\s+<span class="wfWeekendRighValue wfWeekendRightSunRiseValue">.+<\/span>\s+<span class="wfWeekendRighValue">.+<\/span>\s+<span class="wfWeekendRighValue">.+span>\s+<span class=".*">\s+<img src=".*" width="\d+" height="\d+" title=".+" alt=".+" \/>\s+<span>.+<\/span>\s+<\/span>\s+<span class="wfWeekendRighValue">.+<\/span>\s+<span class="wfWeekendRighValue">(\d+).<\/span>\s+<span class="wfWeekendRighValue.+">(\d.\d).+<\/span>
/
gm

Description

no description available

Submitted by anonymous - 6 years ago