Regular Expressions 101

Community Patterns

Discord AutoMod Advert (Strict)

1

Regular Expression
Rust

r"
\.gg/[a-zA-Z0-9]+
"
gm

Description

Use this with Discord automod. Bear in mind, this is "Strict" because it will block discord.gg/myad AND other links such as dsc.gg/myad

Submitted by dogknife - 4 months ago (Last modified 3 months ago)