Regular Expressions 101

Community Patterns

1

my

PCRE2 (PHP >=7.3)
replace first line and second
Submitted by MH - 18 hours ago
1

Parser

PCRE2 (PHP >=7.3)
for mail
Submitted by anonymous - 3 days ago
1

amp;

PCRE2 (PHP >=7.3)
subtitui
Submitted by seidao - 10 days ago
1

números html

PCRE2 (PHP >=7.3)
numeros
Submitted by anonymous - 12 days ago
1

select report

PCRE2 (PHP >=7.3)
select report
Submitted by H.Nasirii - 12 days ago

Facebook: parse page name from url

0

Regular Expression
Python

r"
(?i)^(?:.+)?(?:facebook|fb).(?:[a-z\.]{2,6})(/pages|/pg|/group[s])?/([^/]+)(?:/|$)
"
g

Description

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