// Remove all SPAN tags
html = Regex.Replace(html, "</?SPAN[^>]*>", "");
// Remove Class attributes
html = Regex.Replace(html, "class=([^ |>]*)", "");
// Remove Style attributes
html = Regex.Replace(html, "style=/"([^/"]*)/"", "");
// Remove Lang attributes
html = Regex.Replace(html, "lang=([^ |>]*)", "");
// Remove XML elements and declarations
html = Regex.Replace(html, "<//?xml[^>]*", "");
html = Regex.Replace(html, " ", " ");
//Remove Tags with XML namespace declarations: <o:p></o:p>
html = Regex.Replace(html, "<///?//w+:[^>]*>", "");
html = Regex.Replace(html, " +", " ");