Community Patterns

Community Library Entry

1

Regular Expression
Created·2024-01-08 18:41
Flavor·PCRE2 (PHP)

/
\[(?:http(?:s)?(:\/\/)?)?(www\.)?discord\S*\]\(((?!discord)\S)*\)
/
gm
Open regex in editor

Description

This regex tries to mitigate some of the most common scam practices found in discord since the support of masking links.

Submitted by KifoPL