How to Search with Multiple Tags?
There are two basic ways to search for questions with specific tags:
Search Box
Simply type the tag you're looking for inside square brackets. You can search for questions with multiple tags and/or search for other terms within those tags.
A simple example search looks like:
[python] [beginner] tutorials
That searches for the term 'tutorials' within the set of questions tagged with both [python]
and [beginner]
.
If you wish to do a text-search for a term that is also a tag, or for a phrase that contains common words, you may need to escape the text term by surrounding it entirely with double quotes. Multiple text-search terms can be specified if necessary.
URL Location Bar
You can specify the tags to search for in the URL Location bar in the following format:
https://stackoverflow.com/questions/tagged/apples oranges
This way is more powerful because you can also specify operators like 'or' or 'not'. The Search Box method defaults all searching to AND
.
To search for questions with one tag OR
another tag:
tagged/apples or oranges
To search for questions with one tag but NOT
another tag:
tagged/apples -oranges
Note that a search cannot begin with a NOT
, and any such leading NOT
will be removed from the search.
To search for questions with tags that match a wildcard pattern:
tagged/apples~
These options can be mixed and matched as you see fit.