Searching for exact matches for sources

Posted under Bugs & Features

Normally, searching for a source without wildcards will bring up all results with a source that starts with your query. But is there a way to search for posts with a source that is an exact match of what you're searching for? For example, I would want a search for "randomwebsite.com" to only bring up results with that exact source, not "randomwebsite.com/randomdir" or anything like that.

I looked in help:cheatsheet and it doesn't list any way to do this. Are there any workarounds, preferably ones that don't rely on scripting?

You could try excluding the wildcards. Like:

source:randomwebsite.com -source:randomwebsite.com/*

Though that requires an extra character (the slash in most cases) to not exclude the original search.

1