Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
<tr[^>]*>[^<]*<td>[^>]*>(?<No>[^<]*)<[^>]*><\/td>[^<]*<td>(<strong>)?[^>]*>(<div[^>]*>)?([^<]*<img[^>]*>)*(?<jmeno>[^<]*)(<a[^>]*>)?([^<]*<img[^>]*>)?([^<]*<\/a>)?(<strong>)?(<img[^>]*>)?[^<]*(<\/span><\/strong>)?(<font[^>]*>)?[^<]*(<a[^>]*>)?([^<]*<img[^>]*><\/a>)?[^<]*(<\/font[^>]*><\/strong>[^<]*<\/div>)?[^<]*<\/td> [^<]*<td[^>]*>[^<]*<[^>]*>(?<level>[^<]*)?[^<]*<[^>]*><\/td> [^<]*<td[^>]*>[^<]*<[^>]*>[^<]*(<strong>[^<]*)?(<font[^>]*>)?(<a[^>]*>)?(?<id>[^<]*)(<\/a[^>]*>)?(<\/font>[^<]*)?(<\/strong>[^<]*)?[^<]*<img[^=]*=[^=]*="(?<active>[^"]*)[^>]*>
/
gm

Description

no description available

Submitted by anonymous - 7 years ago