Skip to content

Instantly share code, notes, and snippets.

@confluencepoint
Forked from imathis/tweetbot-mute-regex.md
Created March 27, 2018 20:46
Show Gist options
  • Select an option

  • Save confluencepoint/6ea061ecd401f378ec6e74e686b3ef64 to your computer and use it in GitHub Desktop.

Select an option

Save confluencepoint/6ea061ecd401f378ec6e74e686b3ef64 to your computer and use it in GitHub Desktop.
Tweetbot can use regular expressions to mute tweets in your timeline and mentions.

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?

\sur\s
\sr\s
\su\s

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

@[^@]+@[^@]+@[^@]+@

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

RT[^RT]+RT

Mentions with only a URL (spam): @imathis tinyurl.com/spam

^@imathis *https?://[^ ]+$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment