摘要:
js清除WORD格式http://www.sadbus.com//清除WORD格式 function cleanWordString(html) { html = html.replace(/<\/?SPAN[^>]*>/gi, ""); // Remove all SPAN tags html = html.replace(/<(\w[^>]*) class=([^ |>]*)([^>]*)/gi, "<$1$3"); // Remove Class attributes html = html.repl 阅读全文