Regular Expressions 101

Library entries

Facebook url regex

Vote

-2

Regular Expression
pcre

/
^((?:https?\:\/\/|www\.)(?:facebook)(?:.com\/)(?:[-a-z0-9]+\.)*[-a-z0-9]+.*?)$
/
i

Description

Loading markdown...
Submitted by Devs Devaras - 6 years ago