Discord Automod Regex Generator

Generate Discord AutoMod regex patterns to block spam, links, keywords, invites, and unwanted content.

Put each word or phrase on a new line.

Generated Regex

Frequently Asked Questions

Common questions about Discord AutoMod, regex filters, and moderation rules.

What is the Discord AutoMod Regex Maker?

The Discord AutoMod Regex Maker helps you generate regular expressions for Discord's AutoMod system. It can turn lists of blocked words and phrases into ready-to-use regex patterns for moderation rules.

What is a regex pattern?

Regex (regular expression) is a pattern matching language used to detect words, phrases, links, spam, and other content. Discord AutoMod supports regex filters for advanced moderation rules.

How do I use the generated regex in Discord AutoMod?

Copy the generated regex and paste it into a Discord AutoMod keyword rule that supports regular expressions. Discord will then use the pattern to detect matching messages.

Can I block multiple words with one regex?

Yes. The generator combines multiple words and phrases into a single regex pattern, making it easier to manage large AutoMod blocklists.

What does "whole word matching" mean?

Whole word matching ensures that only complete words are detected. For example, blocking "cat" would match "cat" but not "category" or "educate".

What does case-insensitive matching do?

Case-insensitive matching allows a regex to detect words regardless of capitalization. For example, "spam", "Spam", and "SPAM" would all trigger the same rule.

Can I block Discord invite links?

Yes. Regex can be used to detect Discord invite links, suspicious URLs, advertising messages, and many other forms of spam commonly found in Discord servers.

Why should I test my regex before using it?

Testing helps prevent false positives and accidental moderation issues. A poorly written regex may block legitimate messages or fail to detect unwanted content.

Can regex be used for anti-spam filters?

Absolutely. Many Discord communities use regex to block scam messages, phishing links, fake Nitro giveaways, advertising, impersonation attempts, and other unwanted content.

Is DiscordTools.net affiliated with Discord?

No. DiscordTools.net is an independent project and is not affiliated with, endorsed by, or sponsored by Discord Inc.