Extract HTML tags
| From: | Shawn McKenzie | Date: | Wed, 09 Oct 2002 21:43:27 +0000 |
| Subject: | Extract HTML tags | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-119487@lists.php.net to get a copy of this message | ||
I've loaded an html file into a string. What I'd like to do is create two
new strings:
first new string with the original string but remove all content from the
beginning of the file up to and including <body>, and then remove from the
end of file up to and including </body>
second new string only containing content after <head> up to and including
<body>
Any ideas on simple ways to do this?
TIA
-Shawn