Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Searching html

Status
Not open for further replies.

DJSmith

Programmer
Aug 14, 2000
82
GB
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
 
Yeah this has to be from within a jsp page
 
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top