Regular Expressions 101

Community Patterns

1

my

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

Parser

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

amp;

PCRE2 (PHP >=7.3)
subtitui
Submitted by seidao - 9 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

strip host port

0

Regular Expression
PCRE (PHP <7.3)

/
^(.*):\/\/(.*)(:\d+)\/(.*)$
/
gm

Description

Loading markdown...
Submitted by pc - 4 months ago