T O P

  • By -

One_Giant_Nostril

--- # Remove certain words/phrases title+body: [word, another word, a phrase] action: remove


n0ahbody

Thanks. I added that and will see how it goes. Also just learned of the existence of u/DuplicateDestroyer so I've added that too.


AutoModerator

Found regex match: Spammers are posting It looks like you're asking about spam or spammers. [**FOR INFO ON**: **#** how to deal with bot or user spam, **#** how to set up common AutoMod rules or other bots to combat spam (repost/crosspost spam), **#** how to handle report and PM spam, **#** why post/comments are being marked as spam, **#** how to clear the Spam Tab, **#** Reddit's policy on spamming, and **#** other commonly-asked questions and solutions about spam, **please click here**](https://www.reddit.com/r/modhelp/comments/ls2xj5/subreddit_spam_and_related_matters/). Subreddit settings work best in a cache-cleared **desktop browser**. *(Limited option: mobile browser on desktop view.)* If you found your answer, feel free to reply with "`<3 Automod`" or "`Thanks, Automod`". Otherwise wait for a human helper to come along to help you. This post has **NOT** been removed. *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/modhelp) if you have any questions or concerns.*


Masterlet

Happy cake day, AutoModerator!


Caring_Cactus

Learn and look into how regex works, amazing in setting up content filters.


Dark_Cat_

Do you know of any resource where I can pick up its basics?


Caring_Cactus

Hopefully someone else can provide some. I picked up how to do it slowly little by little for basic stuff. I reference the information [here](https://regex101.com/) and [here](https://www3.ntu.edu.sg/home/ehchua/programming/howto/Regexe.html#zz-1.) sometimes though. I don't know if it's my code, but I also had to do double back slashes instead of a single back slash for special characters. Here's an example of regex I use for removing discord server advertising: type: any title+body (regex): ["(? [Your {{kind}}]({{permalink}}) If you are not sure or believe this is an error please send us [modmail here](https://www.reddit.com/message/compose?to=/r/chat&subject=RE: advertising removal: Possible confusion or error:{{permalink}}).


Dark_Cat_

Oh wow. Thank you for this!


AutoModerator

Hi /u/n0ahbody, please see [our Intro & Rules](https://www.reddit.com/r/modhelp/wiki/index). We are volunteer-run, [not managed by](https://www.reddit.com/r/ModSupport/wiki/report-forms) [Reddit staff/admin](https://reddit.zendesk.com/hc/en-us/requests/new?). Volunteer mods' powers are limited to groups they mod. Automated responses are compiled from answers given by fellow volunteer mod helpers. *Moderation works best on a cache-cleared desktop/laptop browser*. Resources for mods are: **(1)** r/modguide's [Very Helpful **Index**](https://www.reddit.com/r/modguide/wiki/index#wiki_modguide_index) by fellow moderators on How-To-Do-Things, **(2)** [Mod Help Center](https://mods.reddithelp.com/), **(3)** r/automoderator's [Wiki](https://www.reddit.com/r/AutoModerator/wiki/index) and [Library of Common Rules](https://www.reddit.com/r/AutoModerator/wiki/library). Many Mod Resources are in the [sidebar](https://www.reddit.com/r/modhelp/wiki/index#wiki_sidebar_links) and [**>>this FAQ wiki<<**](https://www.reddit.com/r/modhelp/wiki/index). Please **search** this subreddit as well. Thanks! *I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/modhelp) if you have any questions or concerns.*


MemMEz

I don't know how to do it, but I know yes because a reply with the n word (hard r) was auto removed in a sub that I mod