Forum Moderators: phranque

Message Too Old, No Replies

Text Search

Utility

         

longen

11:57 am on Jun 21, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is there a utility (for Windows XP) to search through html or txt files to find out if a certain string isn't on that page.
I dont see why programs that search files for a string of text can't also display files that do not contain the string, but the utilities i've tried don't have that facility.

jonrichd

12:34 pm on Jun 21, 2005 (gmt 0)

10+ Year Member



I'm pretty sure that grep will do the trick for you, although it is a unix command line utility that has been ported over to Windows. I don't have a copy installed on my laptop here so I can't be absolutely sure, but you should be able to find a copy and chedk it out.

Matt Probert

1:42 pm on Jun 21, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It would be trivial to write such a utility in Perl, scan each file containing '.htm' or '.txt' in the directory and if a specified string is NOT found by the end of the file display the file name.

Matt