Regular Expressions 101

Community Library Entry

1

Regular Expression
Rust

r"
(https://)?discord\.com/invite/[a-zA-Z0-9]+
"
gm

Description

Pair this with my Discord AutoMod Anti Advertisement for full protection against invites. Use this with Discord's Built In AutoMod.

Submitted by dogknife - a year ago (Last modified a year ago)