Advanced search google options

Discussion in 'Google' started by shmekerosu, Apr 28, 2010.

  1. #1
    Anyone know how I can search via google content of a text file.

    For instance I need to search 2 words in a .txt file:

    Url of text file: example.com/filetosearch.txt (pretending file is indexed anyway)
    phrase to search: "my search term"

    how should google search sintax need to look like? can I just use "intext:xxxxxx" to filter results ? Also someone knows if this is capable to search in .pdf files ?

    Best,
    R.
     
    shmekerosu, Apr 28, 2010 IP
  2. Hersheys

    Hersheys Peon

    Messages:
    2,591
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Try to use this command site *.txt + keyword or site:*.txt + keywords
     
    Hersheys, Apr 28, 2010 IP
  3. bogs

    bogs Active Member

    Messages:
    2,142
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    80
    #3
    bogs, Apr 28, 2010 IP
  4. riteshtechie

    riteshtechie Peon

    Messages:
    237
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    It worked like a charm. thanks
     
    riteshtechie, Apr 28, 2010 IP
  5. SeoKungFu

    SeoKungFu Active Member

    Messages:
    206
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #5
    If, for example, you want to search the text appearing in .txt files you could use:
    filetype:txt keyword as a dork.
     
    SeoKungFu, Apr 28, 2010 IP
  6. shmekerosu

    shmekerosu Active Member

    Messages:
    571
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    90
    #6
    I think this is not really like this. If you look for filetype: xyz this mean the output of search will be only .xyz files but search string will be matched against google results / keyword (domain name, file name itself, etc), not necessary the content of the file.

    For example searching for:

    filetype:doc Visual Basic
    will turn different results from:
    filetype:doc intext:.net Visual Basic
    etc.

    I guess I answered myself the question: intext: searches exact match in text of file you searched/google found.

    Thanks to all who posted.

    Best!
     
    shmekerosu, Apr 30, 2010 IP