Regular Expressions 101

Community Patterns

1...56789...587

goodreads published year dump

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 - a year ago