Regular Expressions 101

Community Patterns

1...34567...902

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
href=".[^"]*facebook\.com\/(.[^"]*)
/
g

Description

Find the ID/name of facebook users/pages in widgets, or links.

Submitted by anonymous - 9 years ago