Is there a way to look for text within multiple html files?

PHiuR

Diamond Member
Apr 24, 2001
9,539
2
76
I have some chat logs which are logged as HTML files. I would like to do a search through the logs to find a specific line of text.

What's the best way to go about doing this?

thanks in advance,
phi
 

MegaVovaN

Diamond Member
May 20, 2005
4,131
0
0
Windows search, "search in file"

there are 3rd party programs that do this well.
 

BigJ

Lifer
Nov 18, 2001
21,330
1
81
How many HTML files?

Think of it this way, is it faster to go about trying shit you don't know how to do? Or is it faster opening them up and hitting CTRL + F, CTRL + V, Enter.
 

FoBoT

No Lifer
Apr 30, 2001
63,084
15
81
fobot.com
html files are just text files, so any text searching tool that can check multiple files will work
the built in windows search , as megavovan suggests is easiest
 

PHiuR

Diamond Member
Apr 24, 2001
9,539
2
76
whoa...I just did what BigJ suggested and I just went into the file and hit CTRL+F and found it in the third document out of 90 documents...haha awesome.

thanks all.
 

zoiks

Lifer
Jan 13, 2000
11,787
3
81
If you're on linux, you can use find in the directory that has the html files.

find . exec grep "search_text" '{}' \; -print
 

paulney

Diamond Member
Sep 24, 2003
6,909
1
0
Originally posted by: zoiks
If you're on linux, you can use find in the directory that has the html files.

find . exec grep "search_text" '{}' \; -print

Why not just 'grep -i 'your_expression' *.html
?