Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
(?:(?:www\.facebook\.com\/(?:(?:(?:video\.php)|(?:watch\/))\?v=\d+|(?:[0-9a-zA-Z-_.]+\/(?:(?:video|(post|photo))(?:s))\/)(?:[0-9a-zA-Z-_.]+(?:\/\d+)*)))|(?:fb\.watch\/(?:\w|-)+)\/?)
/
g

Description

AMP - chinatimes

Submitted by anonymous - 3 years ago (Last modified 2 years ago)