Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE2 (PHP >=7.3)

/
(discord\.com\/invite\/|discordapp\.com\/invite\/|discord\.gg\/|\.gg\/)([a-zA-Z0-9]+)
/
gm

Description

Rècupère les différents liens d'invitation de serveur discord

Submitted by M1000.fr#0008 - 3 years ago