Regular Expressions 101

Community Patterns

1

extract url from html markdown

PCRE2 (PHP >=7.3)
222
Submitted by seocringe - 2 years ago
1

url regex

PCRE2 (PHP >=7.3)
Submitted by - 2 years ago
1

iCal

PCRE2 (PHP >=7.3)
iCal parser
Submitted by Appenjel - a year ago
1

find text in html

PCRE2 (PHP >=7.3)
for tp
Submitted by anonymous - a year ago

Discord ID:NAME#DISCRIM match

3

Regular Expression
PCRE2 (PHP >=7.3)

/
(?'ID'\d{15,23}):(?'NAME'.*?)#(?'DISCRIMINATOR'[0-9]{4})
/
gm

Description

Loading markdown...
Submitted by lanjt - 3 years ago