There is no way to do this through the site itself. However, it can be done with the Data Explorer using this code:
Select (SELECT T.tagname FROM Tags T WHERE T.wikiPostId = Posts.Id), id as [Post Link], body from posts
where lower(body) like lower('%##SearchTerm##%') and 0<(SELECT [count] FROM Tags T WHERE T.wikiPostId = Posts.Id) and
postTypeID = 5 /*wiki*/
union
Select (SELECT T.tagname FROM Tags T WHERE T.excerptPostId = Posts.Id), id as [Post Link], body from posts
where lower(body) like lower('%##SearchTerm##%') and 0<(SELECT [count] FROM Tags T WHERE T.excerptPostId = Posts.Id) and
postTypeID = 4 /*excerpt*/
Run this query here. Input your search term in the box that appears when you run the query.
Note:
- It will break if you try to search for certain special characters (but this can be avoided by replacing said character with the wildcard character,
_
).
- Some tags will show up twice if the search term shows up in both the excerpt and the wiki. I don't feel like fixing this though :P