Connecting Tech Pros Worldwide Forums | Help | Site Map

extracting parts of an html file

Gary
Guest
 
Posts: n/a
#1: Jul 17 '05
Hi,
Given a regular formed html document, what would be the easiest way to
grab 3 parts of the file?
1- everything from beginning of file up to and including the <body>
tag
2- everything between the <body> and </body> tags
3- everything from and including the </body> tag to the end of file


Storing the contents of the file into an array I think would be best
but I can read the 2nd set into an array if I could figure out how to
isolate it.

Thanks,

Gary

Closed Thread