code: public static String removeNonTextTagsAndAttributes(String html) {
          html = removeNonTextTags(html);
          
          Matcher m = REMOVE_ATTRIBUTES_PATTERN.matcher(html);
          if(m.find()) {
              html = m.replaceAll("<$1$2>");
          }
          
          html = unescapeHtml(html);
          
          return html;
      }
docs: Removes all non-text tags (Javascript, css etc) from a string along with
  all the attributes from the tags.
  
  @param html
  @return