├── README.md └── RegEx-Filters.md /README.md: -------------------------------------------------------------------------------- 1 | SilencedBots 2 | ============ 3 | 4 | A collection of regex filters that are useful for muting stuff in Tweetbot. -------------------------------------------------------------------------------- /RegEx-Filters.md: -------------------------------------------------------------------------------- 1 | Celebrities 2 | ----------- 3 | * `\b(?i:B.*ber)\b` — Filter all references to the word Bieber. ([@justin](http://twitter.com/justin)) 4 | 5 | Jargon 6 | ------ 7 | * `RT @` — Old style retweets ([@jordanekay](http://twitter.com/jordanekay)) 8 | * `MT @` — Modified old-style retweet ([@MikeBeas](http://twitter.com/MikeBeas)) 9 | 10 | Spam 11 | ---- 12 | * `^(@\w *)+$` — Tweets consisting solely of @usernames ([@jordanekay](http://twitter.com/jordanekay)) 13 | 14 | Annoyances 15 | ---------- 16 | * `#[A-Za-z]{15,}` — #sentencesashashtags ([@jordanekay](http://twitter.com/jordanekay)) 17 | * `\b#[A-Za-z0-9]+chat\b`— hashtag-based chatroom crap. ([@inkedmn](http://twitter.com/inkedmn)) 18 | * `(#[A-Za-z0-9]+[ ]*){3,}` — tweets with three or more hashtags in a row ([@inkedmn](http://twitter.com/inkedmn)) 19 | * `#(.+)#` - Two or more hashtags in a tweet, anywhere ([@apike](http://twitter.com/apike)) 20 | * `^((#|@)\S+\s*)+$` - Tweets consisting solely of @usernames and #hashtags, separated by whitespace, with no substantive content. Inspired by the tweets of [@caseyliss](http://twitter.com/caseyliss). ([@JFlavin](http://twitter.com/jflavin)) 21 | * `(@\w+,? ){4,}` — Tweets with four or more @usernames in a row (you have friends, we get it) ([@jordanekay](http://twitter.com/jordanekay)) 22 | * `\b\w+\*+\w\b` — Tweets censored for no f**king reason ([@jordanekay](http://twitter.com/jordanekay)) 23 | * `(?i)checked.*in` - I checked in at... ([@jonohunt](http://twitter.com/jonohunt)) 24 | * `\n{3,}` — Tweets with 3 or more line breaks. ([@justin](http://twitter.com/justin)) 25 | * `^\.\s?@` — Out of context public replies. ([@grahamwetzler](http://twitter.com/grahamwetzler) / [@ashfurrow](http://twitter.com/ashfurrow)) 26 | * is my new jam – No one cares what your new jam is PLEASE SHUT UP GOSH ([@MikeBeas](http://twitter.com/MikeBeas)) 27 | * is my insanely catch song of the day ([@MikeBeas](http://twitter.com/MikeBeas)) 28 | * `^(\d+)/` - "1/ I really hate it when" "2/ People use Twitter for" "3/ Tweetstorms" ([@RodBegbie](https://twitter.com/RodBegbie)) 29 | 30 | * `(?i)please.*(\bwatch\b|\bfollow\b)|(\bwatch\b|\bfollow\b).*(me|please|back)` - Follow me, watch me, follow back, watch me please, follow me please etc... ([@jonohunt](http://twitter.com/jonohunt)) 31 | * `^[A-Z\s\p{P}]*$` - TWEETS IN ALL CAPS ([@ashur](http://twitter.com/ashur)) 32 | 33 | * `top stories today via` - Paper.li spam 'news stories', usually getting attention by mentioning @you. ([@danielpunkass](https://twitter.com/danielpunkass)) 34 | 35 | Irrelevance 36 | ----------- 37 | * `IE ?[0-9]+` — Internet Explorer ([@jordanekay](http://twitter.com/jordanekay)) 38 | 39 | Duplicate mentions 40 | ----------- 41 | Mute your own @name (as a keyword, NOT a muted person), including the @ sign. This will remove all of your mentions from your main timeline, confining them to the mentions tab so you don't have to see them twice (or see only half of a conversation with someone you don't follow in your main timeline) ([@MikeBeas](http://twitter.com/MikeBeas)) 42 | 43 | SXSW 44 | ----------- 45 | * `(?ism)^(?=.*?\bSXSW\b)(?=.*?\bpanel\b).*$` — Tweets containing 'SXSW' and 'panel' (case insensitive) 46 | 47 | Persistent 48 | ----------- 49 | * `(?i)(timezone|time.*zone).*(retweet|rt)` - Timezone RT ([@jonohunt](http://twitter.com/jonohunt)) 50 | 51 | * `(?i)(in.*case|if).*you.*missed.*it` - In case you missed it… ([@jonohunt](http://twitter.com/jonohunt)) 52 | 53 | * ICYMI - Shorthand for 'in case you missed it' ([@MikeBeas](http://twitter.com/MikeBeas)) 54 | 55 | 56 | Replies 57 | ----------- 58 | * `^@` - mute tweets that begin with @, "replies" ([@khaled](http://twitter.com/khaled)) 59 | 60 | * `^(?i)(@name)` - mute replies to a specific person ([@khaled](http://twitter.com/khaled)) 61 | 62 | Ego Stroking 63 | ----------- 64 | * `(?i)dribbble.*(last.*night|earlier)|(last.*night|earlier).*dribbble` - I @dribbbled earlier/last night ([@jonohunt](http://twitter.com/jonohunt)) 65 | 66 | * `(?i)popular.*page` - Popular page (*"I made the Popular Page on @dribbble"* ) ([@jonohunt](http://twitter.com/jonohunt)) 67 | 68 | * `(?i)followers.*on.*(dribbble|twitter)` - *"I've got xxx followers on @dribbble/Twitter"* ([@jonohunt](http://twitter.com/jonohunt)) 69 | 70 | * `(?is)\bmy\b.*((@\w+)|(\b\w+\b)).*(\bstats\b|\brank\b)` - My current XYZ stats/rank ([@widerwille](http://twitter.com/widerwille)) 71 | 72 | Topical 73 | ----------- 74 | * `(?i)ipad.*mini.*|.*mini.*ipad` - iPad mini ([@jonohunt](http://twitter.com/jonohunt)) 75 | 76 | * `(?i)dock.*connect(o|e)r` - Dock connector (iPhone 5) ([@jonohunt](http://twitter.com/jonohunt)) 77 | 78 | * `(?i)app.*net` - App.Net ([@jonohunt](http://twitter.com/jonohunt)) 79 | 80 | * `(?i)twitter.*(api|1.1)|api.*(twitter|1.1)|1.1.*(twitter|api)` - Twitter's new 1.1 API ([@jonohunt](http://twitter.com/jonohunt)) 81 | 82 | Arabic 83 | ----------- 84 | * `#[\S]*[ضصثقفغعهخحجشسيبلاتنمكةءظطذدزروىأإآئؤ][\S]*` - mute Arabic tags ([@khaled](http://twitter.com/khaled)) 85 | - 86 | * `[ضصثقفغعهخحجشسيبلاتنمكةءظطذدزروىأإآئؤ]` - Mute Arabic tweets ([@khaled](http://twitter.com/khaled)) 87 | 88 | Stating the obvious 89 | ---------- 90 | * `(?i)((new|change).*avatar)|(avatar.*(new|change))` - *"Look, I changed my avatar"* ([@jonohunt](http://twitter.com/jonohunt)) 91 | --------------------------------------------------------------------------------