This is my first post here, so Hi! and don't hesitate to migrate my question to anywhere else, wherever it might be more appropriate

To better understand my question, here is an example -

I want to search for all occurrences of the term peanut on the Wikipedia avoiding all the occurrences of peanut butter. Here I can use double quotes for peanut and site:XYZ , but using the minus '-' symbol for the phrase doesn't work (I am guessing because of the basic contradiction that I want peanut and not want it at the same time, maybe).

Is there a way to overcome this?

migrated from superuser.com Nov 23 '17 at 8:06

This question came from our site for computer enthusiasts and power users.

  • Can you snip the result you received when you did your search? – mcalex Nov 23 '17 at 7:08
  • Looks like it was some virus after all and the search tricks were absolutely fine. Do people here want me to edit the question in a Q&A form or should I just delete it altogether. Thanks a lot... – WiccanKarnak Nov 23 '17 at 11:35

You don't actually articulate your search phrase, but this seems to work for me when googling:

peanut -"peanut butter" site:en.wikipedia.org

EDIT: search result

I opened the top seven pages and ran a search on 'peanut butter' with no success.

  • That's exactly what didn't work, double quotes, I assume don't work for phrases? – WiccanKarnak Nov 23 '17 at 3:11
  • you must be specific with what phrase it should not include (I pressume). – Romcel Geluz Nov 23 '17 at 5:58
  • Looks like it was some virus after all and the search tricks were absolutely fine. Thanks a lot... – WiccanKarnak Nov 23 '17 at 11:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.