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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Extract text from html

Status
Not open for further replies.

shrive22

MIS
Dec 8, 2003
8
US
Hello I want to be able to extract specific text that is enclosed in unique tags in an html file I will download from the web. Is it possible to write a small program to do this and then copy the selected text into a text file?
I would also like this program to download the page and extract the text about every hour or so.

thanks
 
Yes, almost anything is possible with C++.
To do that you'd either have to write a custom class to parse the HTML tags for the ones you want and extract the text that way; or if you can find one that someone already wrote, it might be easier to use that.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top