Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
<a class="bookTitle" href=\"(?'url'.+)\">(?'name'.+)<\/a><br><b>Read:<\/b> (?'read'\d{4}-\d\d-\d\d)' \+ \"<br><b>Published:<\/b> \" \+ (?'published'\d{4})
/
gm

Description

this can be use to dump you book info

Submitted by Sjoerd - 2 years ago