PHP : Echo Content between Two points in an HTML Document
<p>I've found this code already for dealing with content between tags</p>

<pre><code>$content_processed = preg_replace_callback(  
'#\&lt;pre\&gt;(.+?)\&lt;\/pre\&gt;#s',   create_function(
    '$matches',
     'return "&lt;pre&gt;".htmlentities($matches[1])."&lt;/pre&gt;";'   ),   $content );
</code></pre>

<p>but how could I get it to just get a section of the HTML. The bit I'm looking at starts with;</p>

<pre><code>click here&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;span class='title'&gt;Soups&lt;br /&gt;
</code></pre>

<p>and ends at</p>

<pre><code> &lt;div style='font-size:0.8em;'&gt;
</code></pre>

<p><em>(The parts I've chosen are quite long because that way they are unique in the HTML.)</em></p>
