Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

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?

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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