Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Tweetbot can use regular expressions to mute tweets in your timeline and mentions.

##Simply annoying Tweets

Annoyingly extended words (4+ of the same letter in a phrase): OOOOHHHHMMMMYYYYGGGGOOOODDDD


Tweet w/ just a single hashtag: #omgthissucks

^ *#[^ ]+$

Not a regex, but self retweets: In case you missed it I pooped this morning :)

In case you missed it

##App Location Updates

(updated for multiple words in Location name) Path app location updates: (at Location) -

\(at [a-zA-z0-9_ ]*\) — http://[^ ]+$

Foursquare app location updates: w/ @twittername

w/ @[^@]+ http://[^ ]+$

More Foursquare app location updates: w/ 8 others

w/ [0-9]+ others http://[^ ]+$

Yet more Foursquare app location updates (seriously...): (@ Location w/ 4 others)

\(@ [a-zA-Z0-9_/ ] w/ [0-9]+ others*\) http://[^ ]+$

Hashtag abuse

Three or more hashtags.


Long hashtags (15+ characters): #hashtagpunchline

#[^ ]{15}

CamelCase hashtags (3+ Words): #NotSelfAware

#[^a-z ]+[^A-Z ]+[^a-z ]+[^A-Z ]+[^a-z ]+[^ ]*

Painful to read

Unforgivable word shortening: I'm near ur place r u busy?


Mass conversations (4+ Mentions): @guy @dude @otherguy @man totally.


Retweet chains (2+ RTs): OMG RT @teengirlsquad RT @beebz I'm thinking of you.


Mentions with only a URL (spam): @imathis

^@imathis *https?://[^ ]+$
Copy link

valpackett commented Oct 18, 2012

you can mute the foursquare client, no need to use regexps for foursquare

Copy link

Akku commented Oct 21, 2012

Indeed, muting clients is awesome, just put all the crappy update stuff on the mute list and enjoy only real people. But still a nice list.

Copy link

jimmynotjim commented Jan 12, 2013

@myfreeweb yeah, I realized that after I wrote these. I hadn't used any of the Tweetbot mutting options before reading @imathis originals. Also, I'm bad at checking comments :)

Copy link

mbbroberg commented Jul 2, 2013

Is this muting supposed to be usable in the Tweetbot for Mac product? I haven't found a way to get it to work. I'd love your help -- these are great regex.

Copy link

jondueck commented Sep 2, 2014

Is there a way to mute specific things (in my case any instagram links) from one specific user?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment