title: Uncomment HTML code in Java
body: <p>I need to uncomment CSS code inside a style element (and I need to do this in Java).
  Consider the following html code:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;style type="text/css"&gt;
  &lt;!--
     .big {
        font-size: 30px;
     }
  --&gt;
  &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;&lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Here is the desired result:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;style type="text/css"&gt;
     .big {
        font-size: 30px;
     }
  &lt;/style&gt;
  &lt;/head&gt;
  &lt;body&gt;&lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>I usually use Jericho to do HTML parsing.</p>
  
  <p>UPDATE. Solved:</p>
  
  <pre><code>String newHtmlString = htmlString.replaceAll("&lt;style&gt;&lt;!--", "&lt;style&gt;").replaceAll("--&gt;&lt;/style&gt;", "&lt;/style&gt;");
  </code></pre>