28

How can I search for an exact phrase with non-alphanumeric characters being exact too?

I've tried to search for "focus-within" (a CSS pseudo-class), but the system keeps showing me pages that contain just the words "focus within" (separated by a space).

9
  • google.com/… is pretty good. The first couple of hits seem to be just from the word "focus", but the rest of them on the first page are all about the CSS pseudo-class. Throwing "css" in the search queue would probably improve the hit rate even more.
    – Cody Gray Mod
    Commented Oct 25, 2017 at 11:04
  • you might want to support this feature request
    – rene
    Commented Oct 25, 2017 at 11:09
  • 3
    I agree with @Cody-Gray. Using Google to search a specific ` site: ` is often much better than the site's built-in search. (Or Bing for videos.) More google tricks here.
    – ashleedawg
    Commented Oct 25, 2017 at 11:24
  • Btw. why Bing for videos? Is it anyhow better than searching directly in YouTube?
    – jaboja
    Commented Oct 25, 2017 at 11:27
  • 5
    @Jakub-Jagiełło - Youtube is one of many sites for videos. Searching in Youtube ignores the rest. Bing has a cool way of classifying and grouping videos from ALL sources. For example try this Bing Video search for Family Guy clips. [Honestly, it is the ONLY feature I ever use in Bing.]
    – ashleedawg
    Commented Oct 25, 2017 at 11:30
  • Wow, I've though it does not search any other sites. Do you know any special keywords for searching everything but YouTube?
    – jaboja
    Commented Oct 25, 2017 at 11:38
  • 1
    Possible duplicate of No search results found for "DELETE *" for a database-related question Commented Oct 27, 2017 at 11:31
  • 1
    @ashleedawg Wow it even has hover previews. That should be a thing in video platforms.
    – totymedli
    Commented Oct 28, 2017 at 3:01
  • @JakubJagiełło Just add -site:youtube.com to your search (note hyphen before keyword site). I think this works on both Bing and Google.
    – Alan McBee
    Commented Oct 30, 2017 at 22:37

2 Answers 2

13

You can use the little-known code: search operator to search only for exact code:

In your example, Search for code:focus-within.

This is requested to be documented by this meta question.

1
  • True, but that doesn't find everything either. Knowing that the phrase is likely to be paired with "pseudo," you can see that this search yields results that the code: one didn't.
    – Cᴏʀʏ
    Commented Oct 28, 2017 at 2:48
23

Here is a Google Advanced Search form just for Stack Overflow.

8
  • 5
    Aww, you all are right, using Google may be more effective than internal search.
    – jaboja
    Commented Oct 25, 2017 at 11:38
  • 4
    using Google is always more effective than internal search ;)
    – Jeutnarg
    Commented Oct 26, 2017 at 22:19
  • 5
    @Jeutnarg that is sad, though.
    – NH.
    Commented Oct 26, 2017 at 22:50
  • 2
    @NH. google is just really good at what they're doing ;)
    – Mafii
    Commented Oct 27, 2017 at 12:19
  • Google? Never heard of it.
    – Chris
    Commented Oct 27, 2017 at 12:32
  • @Chris Here you go
    – ashleedawg
    Commented Oct 29, 2017 at 10:27
  • @ashleedawg huh... what's wrong with AltaVista?
    – Chris
    Commented Oct 30, 2017 at 14:20
  • 1
    @Chris You're right, why mess with the best? LMAVTFY
    – ashleedawg
    Commented Oct 30, 2017 at 21:38

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .