Here you can find the source of unEscapeHTMLTag(String input)
public static final String unEscapeHTMLTag(String input)
//package com.java2s; //License from project: Apache License public class Main { public static final String unEscapeHTMLTag(String input) { if (input == null) return ""; input = input.trim().replaceAll("&", "&"); input = input.replaceAll("<", "<"); input = input.replaceAll(">", ">"); input = input.replaceAll("<br>", "\n"); input = input.replaceAll("'", "'"); input = input.replaceAll(""", "\""); input = input.replaceAll("\", "\\\\"); return input; }/*from www . j a v a 2s.c om*/ }