1

For example:

I want to search for web hosting in domain css-tricks.com. So I will do this:

site:css-tricks.com web hosting

But that site has a forum section at http://css-tricks.com/forums/. I don't want any result from the forums discussions.

Is there any regular expression or trick to achieve what I want?

2

You can exclude things in the URL by using -inurl: like so:

site:css-tricks.com web hosting -inurl:/forums

There is a fairly comprehensive list of the various operators on this page.

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.