quick problem with regular expressions
<p>I'm having trouble stripping this piece of HTML:</p>

<pre><code>title="External Link" alt="External Link"/&gt;&lt;/h5&gt;
                &lt;/a&gt;


                This text is needed without the spaces..

            &lt;/div&gt;
</code></pre>

<p>Here is the general method I attempted:</p>

<pre><code>$array = array();
preg_match( '/&lt;\/h5&gt;(.*?)               
            /si', $data, $array ) ;
</code></pre>

<p>I just can't seem to crack it.</p>

<p>Any help would be appreciated,</p>

<p>Thanks!</p>

<p><strong>P.s</strong> The text may also contain html tags itself, such as <code>&lt;em&gt; or &lt;strong&gt;</code></p>
