I need to search through a list of html files to check if a string apears in any of the pages. I don't want to have to open every file read all of the lines. Is there any other way of doing it which is more efficient??
Yea, I have a program that will search through every document in a specified folder to find a string of text. It's called TextPad. Under the search menu it has an option "Find In Files...". You can download it for a free unlimited evaluation at
and if you are wondering, it has editions in Dutch, English, French, German, Italian, Japanese, Polish, Portuguese (Brazilian) and Spanish.
TextPad is also an HTML editor that works very nicley. I use it for all my HTML and Java needs. X-) "and everything under the sun is in tune
but the sun is eclipsed by the moon." --Pink Floyd: Eclipse
"I'm going to spend eternity
reinstalling Windows." --Reinstalling Windows: by some British guy
I think that this individual needs to do this searching within the confines of a Java program. This wouldn't work for that, would it? Maybe I misunderstood? ------
KJR
Logically you must open and search every last byte of the file, otherwise how can you be sure the word(s) are not in it? Though for speed you should immediately mark and close the file once the word(s) are found. No use continuing to go through the file is there?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.