DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Eliminating Sites From Searches

01.31.2006
| 1588 views |
  • submit to reddit
        You can eliminate matches on queries based on the name of the site. For example, to search on all sites except 'experts-exchange.com', use the following hyphen-prefixed 'site' string:

-site:experts-exchange.com "convert cstring to int "

Or you can only seach a specified site by removing the dash
site:planetargon.com "rails hosting"

Tip by xinu