How can I parse out text from a string containing HTML identifiers?
<p>I have web pages that contain text areas with HTML inside of them. For example here's a sample of text:</p>

<pre><code>var a = "some text follows&lt;p&gt;&lt;p&gt;Give the following test text:&lt;/p&gt;
&lt;pre&gt;abc {&lt;br /&gt;    int size;&lt;br /&gt;    String name;&lt;br /&gt;    Test ( String name, int size ) {&lt;br /&gt;        this.name = name;&lt;br /&gt;        this.size = size;&lt;br /&gt;    }&lt;br&gt;"
</code></pre>

<p>I want to set the META description for my web pages with the text above after the HTML has been removed.</p>

<p>Does anyone have any idea how I can remove the HTML from text. I don't need have anything fancy. Maybe even just removing everything that's within and including the angle brackets would do the trick?</p>
