Extract text and put into array with PHP
<p>I have the following string and need to extract the text inside the div's (EDITOR'S PREFACE, MORE CONTENT, etc) and put them into an array with php. How could I do this? </p>

<p>Thanks in advance.</p>

<pre><code>&lt;div class='classit'&gt;&lt;a href='site.php?site=1&amp;filename=aname4'&gt;EDITOR'S PREFACE&lt;/a&gt;&lt;/div&gt; 
&lt;div class='classit'&gt;&lt;a href='site.php?site=4&amp;filename=aname3'&gt;MORE CONTENT&lt;/a&gt;&lt;/div&gt; 
&lt;div class='classit'&gt;&lt;a href='site.php?site=3&amp;filename=aname4'&gt;LAST LINE&lt;/a&gt;&lt;/div&gt; 
</code></pre>
