Ok, lets try this again, this is what the script does...
$string = implode ('', file ('http://domain.com/file.html'));
$string = preg_replace("/\<.*?\>/", "", $string);
Then string now has this as it's value...
Paragraph 1. It has some text.
Paragraph 2. It has some text.
Paragraph 3. It has some text.
Because that is what is left after it removes all html tags.
How would I remove everthing after the first paragraph it has?
So it would end up with just...
Paragraph 1. It has some text.
In other words, how can you tell it to keep everything before the first 2 line breaks.
Thanks for any help guys! 🙂