extracting parts of an html file

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gary

    extracting parts of an html file

    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
Working...