String (String text) { text = text.replaceAll("&lt;", "<"); text = text.replaceAll("&gt;", ">"); text = text.replaceAll("&amp;", "&"); text = text.replaceAll("&apos;", "'"); text = text.replaceAll("&quot;", "\""); text = text.replaceAll("<!\\[CDATA\\[", ""); text = text.replaceAll("\\]\\]>", ""); return text.replaceAll("&nbsp;", "_"); }