Regular Expressions 101

Library entries

FB Content Embed

Vote

1

Regular Expression
pcre

/
<div[^>]+class=\"fb-(video|post)\".*data-href=\"(.*)\"[^>]*>[\s|\S]*?<\/div>\n*<\/div>
/
g

Description

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