Regular Expressions 101

Library entries

nb - section with marginal note finder

Vote

0

Regular Expression
pcre

/
(?:<div\s+class=.?body[^>]*section[^>]+>)+\s*(?:<div[^>]+head-\d\s+sectionheading[^>]*>)(?:<span[^>]*>)?((?:<span[^>]*>)?(?:[^<]+)(?:<\/?span[^>]*>)?(?:[^<]+)(?:<\/?span[^>]*>)?)(?:<\/span>)?<\/div>(?:<span[^>]+>)?<span[^>]+label[^>]+>(?:<\/?(?:div|span|a)[^>]*>\s*)+([\d.]+)(?:(?:<\/a>)?<\/span>)
/
gis

Description

Loading markdown...
Submitted by anonymous - a year ago