Searching for text that is not there

Answered Searching for text that is not there

  • Saturday, December 29, 2012 1:11 PM
     
     
    I need to add text to some HTML pages but I need to find out if it's there or not. Is there a script to search pages to see if text is contained in a file or not. Preferably for Expression Web 4. Thanks a lot.

All Replies

  • Saturday, December 29, 2012 3:26 PM
     
     Answered
    I need to add text to some HTML pages but I need to find out if it's there or not. Is there a script to search pages to see if text is contained in a file or not. Preferably for Expression Web 4. Thanks a lot.

    Select-String

    FINDSTR


    Happy New Year ¯\_(ツ)_/¯

  • Saturday, December 29, 2012 3:57 PM
    Moderator
     
     Answered

    There is help for the command line utility findstr.exe at a command prompt.


    Richard Mueller - MVP Directory Services

  • Saturday, December 29, 2012 4:25 PM
     
     Answered

    Top of the search stack - first entry:

    http://technet.microsoft.com/en-us/library/bb490907.aspx


    Happy New Year ¯\_(ツ)_/¯

  • Sunday, December 30, 2012 12:18 AM
     
     
    Thanks, guys for the replies. Will try the suggestions out to look for what I'm needing to do.