Slack – In Slack, is there a way to filter out search results from a specific channel

slack

I know you can do in:#channel to only get results from a channel, but is there a way to filter out results from a channel? A lot of our channels are spammed with automated messages and it adds noise to the search results.

Best Answer

The search feature allows you to exclude words from the result by putting a minus sign in front of a word.

Examples:

hot -potato

will only return messages containing hot, but not potato.

To exclude a channel from the results use searchTerm -in:channelName. Do not add a # in front of the channel name.