private String removeHtmlFormating( String word ) {
        int idx1 = word.indexOf( '<' );
        while( idx1 >= 0 ) {
            int idx2 = word.indexOf( '>', idx1 );
            if( idx2 > 0 ) {
                String html = word.substring(idx1+1, idx2).toLowerCase().trim();
                if(html.equals("br") || html.equals("p") || html.startsWith( "br " ) || html.startsWith( "p " ) ){
                    html = " ";
                }else{
                    html = "";
                }
                word = word.substring( 0, idx1 ) + html + word.substring( idx2 + 1 );
                idx1 = word.indexOf( '<' );
            } else {
                idx1 = -1;
            }
        }
        for (String blank : new String[]{"&nbsp;", "&#32;"}) {
        	idx1 = word.indexOf( blank );
        	while( idx1 >= 0 ) {
        		word = word.substring( 0, idx1 ) + " " + word.substring( idx1 + blank.length() );
        		idx1 = word.indexOf( blank );
        	}
        }
        return word;
    }