protected static String removeHTML(String textElement){
  String retValue=textElement.replaceAll("<?\\w+((\\s+\\w+(\\s*=\\s*(?:\"b(.|\\n)*?\"|'(.|\\n)*?'|[^'\">\\s]+))?)+\\s*|\\s*)/?>"," ");
  retValue=retValue.replaceAll("</"," ");
  retValue=retValue.replaceAll("\\\\n"," ");
  return retValue.toString();
}

protected static String removeHTML ( String textElement ) { String retValue = textElement . replaceAll ( "<?\\w+((\\s+\\w+(\\s*=\\s*(?:\"b(.|\\n)*?\"|'(.|\\n)*?'|[^'\">\\s]+))?)+\\s*|\\s*)/?>" , " " ) ; retValue = retValue . replaceAll ( "</" , " " ) ; retValue = retValue . replaceAll ( "\\\\n" , " " ) ; return retValue . toString ( ) ; }
remove html tags from content . . .
