Re: [PHP] Extract HTML tags

2002-10-09 Thread Jonathan
try something along the lines of: preg_match('/]*>([.]*)/im', $string, $foo); $foo[1] = 'your body string'; preg_match('/([.]*) 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 th

RE: [PHP] Extract HTML tags

2002-10-09 Thread Smith, Benjamin
: [EMAIL PROTECTED] Subject: [PHP] Extract HTML tags 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 , and then remove from the end

[PHP] Extract HTML tags

2002-10-09 Thread Shawn McKenzie
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 , and then remove from the end of file up to and including second new string only containin