Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 2.24 KB

RegEx-Filters.md

File metadata and controls

51 lines (38 loc) · 2.24 KB

Celebrities

  • \b(?i:B.*ber)\b — Filter all references to the word Bieber. (@justin)

Jargon

Spam

  • ^(@\w *)+$ — Tweets consisting solely of @usernames (@jordanekay)

Annoyances

  • #[A-Za-z]{15,} — #sentencesashashtags (@jordanekay)
  • (@\w+,? ){4,} — Tweets with four or more @usernames in a row (you have friends, we get it) (@jordanekay)
  • \b\w+\*+\w\b — Tweets censored for no f**king reason (@jordanekay)
  • (?i)checked.*in — I checked in at... (@iconaholic)
  • \n{3,} — Tweets with 3 or more line breaks. (@justin)

Irrelevance

Duplicate mentions

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)

SXSW

  • (?ism)^(?=.*?\bSXSW\b)(?=.*?\bpanel\b).*$ — Tweets containing 'SXSW' and 'panel' (case insensitive)

Persistent

  • (?i)timezone.*(retweet|rt) — Timezone Retweet (@iconaholic)

  • (?i)in.*case.*you.*missed.*it — In case you missed it… (@iconaholic)

Ego Stroking

  • (?i)dribbble.*(last.*night|earlier)|(last.*night|earlier).*dribbble — I @dribbbled earlier/last night (@iconaholic)

  • (?i)popular.*page — Popular page ("I made the Popular page on @dribbble.") (@iconaholic)

Topical

  • (?i)ipad.*mini.*|.*mini.*ipad — iPad mini (@iconaholic)

  • (?i)dock.*connect(o|e)r — Dock connector (iPhone 5) (@iconaholic)

  • (?i)app.*net — App.Net (@iconaholic)