Regular Expressions 101

Library entries

Facebook embedded video

Vote

0

Regular Expression
python

"
^(?:(http|https)://|//)?(?P<url>www.(?P<resource>facebook.com).*?/video.php\?.*?(?:(?:videos%2F(vb\.[0-9]+%2F)?|v%3D)(?P<id>[0-9]+)).*)
"
gm

Description

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