Regular Expressions 101

Library entries

CurrentVisibility Regex

Vote

0

Regular Expression
pcre

/
\<div\s*class=\"wfCurrentWrapper.+?\"\>([\r\n]?)\s+\<span\s*class=\"wfCurrentHeading\"\>.+?<\/span>\1\s+\<span\s*class=\"wfCurrentValue\">(.+?)\s?km<\/span\>\1\s+\<\/div\>
/
gm

Description

Loading markdown...
Submitted by anonymous - 2 years ago