Here you can find the source of cleanHtmlTag(String content)
public static String cleanHtmlTag(String content)
//package com.java2s; //License from project: Apache License public class Main { public static final String RE_HTML_MARK = "(<[^<]*?>)|(<[\\s]*?/[^<]*?>)|(<[^<]*?/[\\s]*?>)"; public static String cleanHtmlTag(String content) { return content.replaceAll(RE_HTML_MARK, ""); }/* w w w. j a va 2 s . c o m*/ }