take out spaces when parsing html to textview
<p>I'm trying to parse an html page while trying to take out everything that is within &lt;> so that all the tags are and only the content is left with this line of code:</p>

<pre><code>str = str.replaceAll("\\&lt;[^&gt;]*&gt;","");
</code></pre>

<p>But what I didn't intent for it to happen is for the replaced text is simply replaced by white space instead of being taken out completely; it still takes up space so I would have unwanted white spaces in my textview. So if I had the following lines on html:</p>

<pre><code>hi
&lt;somethingsomething&gt;
&lt;something&gt;
stuff
</code></pre>

<p>it becomes this after my line of code:</p>

<pre><code>hi


stuff
</code></pre>

<p>But I want to make it parsed into something like this:</p>

<pre><code>hi
stuff
</code></pre>

<p>How should I go about doing that?</p>
