extracting text from noisy string.. python
<p>I have some html documents and I want to extract a very particular text from it.
Now, this text is always located as</p>

<pre><code>&lt;div class = "fix"&gt;text &lt;/div&gt;
</code></pre>

<p>Now, sometimes what happens is... there are other opening divs as well...something like:</p>

<pre><code> &lt;div class = "fix"&gt; part of text &lt;div something&gt; other text &lt;/div&gt; some more text &lt;/div&gt;
</code></pre>

<p>Now.. I want to extract all the text corresponding to </p>

<pre><code> &lt;div class = "fix"&gt;                     &lt;/div&gt; markups??
</code></pre>

<p>How do i do this? </p>
