Extract Data between Strings or Tags
<p>Please note: I am fairly new to using php commands and regex.
I have a html document retrieved through php commands, now I want to extract the  data from html between two strings. </p>

<p>For example:</p>

<pre><code>**&lt;h4 class=3D"style1"&gt; HIGH (blah)&lt;/h4&gt;**
&lt;h4&gt;&lt;br&gt;
&lt;br&gt;&lt;/b&gt;
 &lt;br&gt;
&amp;nbsp;&lt;/h4&gt;
&lt;TR&gt;
 &lt;TD width=3D"513"&gt;
&lt;B**&gt;**textttttttttt**&lt;/**B&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;hr&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;=
&lt;b&gt;texttttt&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;textttttttt&lt;table&gt;ttttttttttttt&lt;/table&gt;ttttttttttttt
&lt;/table&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt; 
&lt;TD width=3D"513"&gt;
&lt;ul&gt;
= 
=
&lt;/u1&gt;                              
**&lt;p align=3D"right"&gt;&lt;b&gt;REGISTRAR(EVALUATION)&lt;=
/b&gt;&lt;/p&gt;**
</code></pre>

<p>I need the text between the strings "<strong>HIGH</strong>" and "<strong>REGISTRAR</strong>". Mainly, I needed the data from the tags <code>&lt;TD width=3D"513"&gt;</code> and <code>&lt;TD width=3D"513"&gt;</code>,but there are many instances where this tag occurs.</p>
