How to search for words in documents in Lion

Here's why I'm trying to ask.
Lately I have downloaded a lot of files from Google Drive, and I'm trying to sort a lot of documents (262 exactly) by finding a set of numbers and letters that only one kind of document has.
For example, I'm trying to find the documents that have "5R-ET1" to see which documents has those set of letters inside the documents to sort them in a diffrent folder.
Is there something in the Finder that can allow me to do this, or is there like this program which compares documents that fits my use?
By the way, most of the files are in .doc format, the rest are in .pages format.
Hope there is a way to fix this situation!

Open to correction here but I don't think Spotlight will do this for you, particulary if these are long documents. Spotlight does not index then entire document, just the first 2k approx unique terms within a document. If the string you're looking for isn't within that limit then it won't work.
Options:
1. You could import the documents to an app like DevonThink Pro or Circus Ponies Notebook that have a concordance feature.
2. You could convert the files to Text and search them with BBEdit or the grep command.
http://hints.macworld.com/article.php?story=20001105214242629

Similar Messages

  • How to search for words in binaries (jpg,bmp,tif,...) ??

    Hello,
    is it possible to index words from images with tenable effort ?
    We are developing a document-management-system and it would be nice
    when search includes images.
    I would appreciate very much any suggestions, links or solutions.
    regards,
    Tim

    >
    Do you mean words in images in the sense of an image
    comment (which is not visible when the image is
    displayed, but some image editors can detect and
    expose as an image property), or as text displayed as
    part of the image, like this:
    http://developer.java.sun.com/images/v4_java_sun_com.gi
    If the latter, forget it.Hello,
    first thanks for answers, I was looking for a possibility to search for text in images in order to save it in a database.
    So its the latter :(
    I thought it could be possible to use any scanner-drivers for this purpose:
    http://www.openarchive.com/echive_tifindexer.htm
    But I'm not sure how to achieve this.
    regards,
    Tim

  • How to search for text in document

    How do you search text within a document on the Samsung Galaxy 10.1? I click the search icon, enter the text to search and nothing happens. The only options I see are a circled "x" and "Cancel". The program does not automatically go to the entered search string and I cannot find anyway to cause the program to find the words. Thanks,

    Once you have typed your search term in, you need to tap the "enter" key on the keyboard. Once you do, the keyboard should close, and you should see the first instance selected.
    There will be two Arrow buttons in the bottom center of the screen to go back and forth through all of the instances of this word in the document.
    If the word could not be found, then a message displaying "search term" not found will appear at the bottom of the screen above those buttons.

  • How to search for words in a string?

    I have a list of strings that I need to search for instances
    of a certain word (or part of that word) is there a way of doing
    this in flash please?

    Quickest and easiest way to do it is to search through an
    array of manually entered words.

  • How do I search for words inside documents, rather than the title? I have OS 10.9.4 and have lost this feature a few OS updates back.

    Sometimes titles do not match the content. If I have a bunch of files with similar title, i.e. Chapter 1, 2, etc., but I want to find the chapter with the jabberwock in it, I used to be able to type "jabberwock" and it would come up in my search window.  Now it's only finding titles. I have so many files on my puter that it's taking me forever to find important documents.  Where did they hide this feature??? Tearing my hair out.

    Spotlight Alternatives
    EasyFind – Spotlight Replacement
    Find Any File

  • How to search for a particular word in a long document?

    How to search for a particular word in a long document?

    What program are you using to read the document?
    Good luck.

  • Unable to search for words in a pdf document

    I am using Adobe Reader Ver 10.1.1 (All updates)
    I have a pdf document in which I am unable to search for words. No words in the document are found even though they do exist. If I copy a word from within the document and paste it into the search criteria then instead of getting the word that I copied, I get substitute characters and it can in fact find these characters as the word being searched.
    The document is a catalog and can be downloaded from the following URL.
    http://www.carbatec.com.au/getcatalogue?zenid=d1cuvbat0ois0g37r0r33vnah1
    I will appreciate any help as to why I cannot search for words in the document.

    Thank you Dave Merchant and try67 for your responses. As per my previous post, I contacted the company re the catalogue and they have responded favourably. I'll include their response because it gives the reason for the search failure as document compression which you might find interesting. I'll await their new catalogue and see if they have fixed the problem.
    Company response:
    Thank you very much for your input.  And yes, you are correct, the compression we used for the current catalogue's PDF format does strip out text included in the catalogue.  We used the compression settings we did with the intention of minimising download time, however I take your point about including text for search purposes (which I also utilise when I'm scanning through PDFs).
    We will actually be posting out our new catalogue next week and we'll release the new PDF version on the website at the same time.  I've asked our graphic designer to ensure that the PDF we use for the new catalogue includes searchable text.

  • How to search for a particular word in a string?

    How to search for a particular word in a string?
    thanks for your help....

    This works fine.
    public class Foo {
        public static void main(String[] args) {
        String s = "Now is the time for all good...";
        String s2 = "the time";
        System.out.println(s.contains(s2));
        System.out.println(s.contains("for al"));
        System.out.println(s.contains("not here"));
    }output:true
    true
    falseYou must have something else wrong in your code.
    JJ

  • How to search for a word in an email?

    How to search for a particular word in an email in 'Mail'?

    You can't search through email content using buil-in search
    If you're using Gmail, you can use their native Google Mail app which will allow you to search through body content and server-stored emails.

  • How to do complex file search for "word" unknown characters "word" .file extension?

    How to do complex file search for "word" unknown characters "word" .file extension?

    Using spotlight in Finder helps. Do you know how to search for files in Finder?

  • How to search for a word in a text editor

    Hi,
       I have created a custom container and added some text to it. Is there any method to search for words in this?

    Lilan,
    To search a character field for a particular pattern, use the SEARCH statement as follows:
    SEARCH <c> FOR <str> <options>.
    The statement searches the field <c> for <str> starting at position <n1>. If successful, the return code value of SY-SUBRC is set to 0 and SY-FDPOS is set to the offset of the string in the field <c>. Otherwise, SY-SUBRC is set to 4.
    The search string <str> can have one of the following forms.
    <str>
    Function
    <pattern>
    Searches for <pattern> (any sequence of characters). Trailing blanks are ignored.
    .<pattern>.
    Searches for <pattern>. Trailing blanks are not ignored.
    *<pattern>
    A word ending with <pattern> is sought.
    <pattern>*
    Searches for a word starting with <pattern>.
    Words are separated by blanks, commas, periods, semicolons, colons, question marks, exclamation marks, parentheses, slashes, plus signs, and equal signs.
    <option> in the SEARCH FOR statement can be any of the following:
    ABBREVIATED
    Searches the field <c> for a word containing the string in <str>. The characters can be separated by other characters. The first letter of the word and the string <str> must be the same.
    STARTING AT <n1>
    Searches the field <c> for <str> starting at position <n1>. The result SY-FDPOS refers to the offset relative to <n1> and not to the start of the field.
    ENDING AT <n2>
    Searches the field <c> for <str> up to position <n2>.
    AND MARK
    If the search string is found, all the characters in the search string (and all the characters in between when using ABBREVIATED) are converted to upper case.
    Pls. Mark

  • How to search for a particular word in notes app (ios6)

    Sir,
    I can search for a note but i couldnt search for a particular word in a long note in notes app.
    (ios 6)
    is there a way to do it,or is there any app that has this 'search for word' functionality ?

    thank you for your quick reply sir.
    i am asking for other independent notable apps(not notes app) which has this functionality .

  • How to search for file in jsp page

    i need help on how to search for a file in a folder where there is a lot of subfolder.like how u search in a document in windows. i need a complete codes in jsp page.
    thank you in advance.
    Message was edited by:
    n_dilah

    no i need to do a search engine in jsp page which is the j2ee.
    i type smth than tat file from any folder will appear the same way when u need to search your file in a document in windows.
    well can u nice people tell me where i can get the codes bcos i stinks when it come to programming.
    thank you very very very much.

  • Can't search for words anymore after saving PDFs in Preview

    Hi everyone,
    I would love to use Preview for my day-to-day use of previewing PDFs + highlighting + setting annotations. However, once I have saved the pdf with Preview I can not search for words anymore. If I search for one letter only, I would get cryptic hits like "7;%! 2%8%P%8!".
    I am not sure, but I guess when preview saves the pdf using a Quartz PDF context, something happens with the index, or the underlying the font structuring.
    Does anyone have had experience with these kinds of troubles?
    Thanks in advance,
    Heinrich

    Hi, thanks for answering quickly, and the heads up on that other thread.
    It undoubtedly has to do with the annotations or mark ups (the last, in my case).
    In the linked-to thread they end by suggesting that it's because it's has "commenting not allowed" when you see it
    using Adobe Reader, File > Properties > Security says Commenting: Not Allowed.
    However, some documents with "commenting not allowed set in Adobe Reader I can highlight or annotate fine, without it messing up after saving.
    Besides, any document I save as pdf even from Word, will say commenting not allowed in Adobe Reader. So if even my own documents are not highlight- or annotate-able without garbling the text, what documents would these functions be for, then?
    I think what somebody mentioned in the other thread about character encodings hold some truth, I see it in documents in Danish with æ ø and å (however, not all!), but not in English-only docs (yet. Have any of you?).
    Thanks in advance,
    - Alexander

  • How to search a word in a 2d array

    Hi, i'm seeking advice on how to search a word in 2d array. The method will only taking one argument string and will search in row by row, column by column and diagonall down and up. for example, user input String "SEEK" or then the method will have different search pattern to locate the word. Here is the 2d array look like.
    S + K E E S + +
    E + + + + + + K
    E S + + + + + E
    K + E + + + + E
    + + + E + + + S
    + + + + K + + +
    What i've done so far is;
    // this loop is for search SEEK column by column
    public boolean finder(String w){
    for(int j = 0; j < puzzle[0].length; j++) {
    for(int a = 0; a < w.length(); a++) {
    char n = w.charAt(a);
    String r = String.valueOf(n);
    if (puzzle[0][j] != w.charAt(a)) {
    return false
    } else {
    return true;

    read this

Maybe you are looking for