title: Extract Text from HTML String Java
body: <p>Ive got a string of HTML code filled with tags and special characters, for example:</p>
  
  <pre><code> &amp;lt;p class=&amp;quot;MsoNormal&amp;quot;&amp;gt;&amp;lt;span style=&amp;quot;font-size: 14pt; font-family: TimesNewRoman;&amp;quot;&amp;gt; I Just want this Text here?&amp;lt;o:p&amp;gt;&amp;lt;/o:p&amp;gt;&amp;lt;/span&amp;gt;&amp;lt;/p&amp;gt;
  </code></pre>
  
  <p>or</p>
  
  <pre><code>&amp;lt;div&amp;gt;This is more text i would like. :( &amp;lt;/div&amp;gt;&amp;lt;div&amp;gt;&amp;amp;nbsp;&amp;lt;/div&amp;gt;
  </code></pre>
  
  <p>Im just wondering if there is any way to extract the text from the html strings. I have tried to use some regex to replace strings but it didnt seem like the bay way to do it. Have also tried JSoup but didnt have much luck with that.</p>
  
  <p>Any ideas?
  Regards.</p>