Regular Expressions 101

Library entries

Gallery to URLs

Vote

0

Regular Expression
pcre

/
<div class="category-gallery-item">\n(?:.*)<a href="\/wiki\/[^"]*" title="[^"]*">\n(?:.*)<div class="category-gallery-item-image">\n(?:.*)https:\/\/images\.wikia\.nocookie\.net\/(?:.*)\/americanhorrorstory\/images\/thumb\/(?P<filepath>[^\/]\/[^\/]{2}\/[^\/]*)\/(?:.*)\n(?:.*)\n(?:.*)<div class="title">(?P<title>[^\n]*)<\/div>\n\s*<\/a>\n\s*<\/div>
/
gm

Description

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