var
a=
"今天是星期五, 明天又可以放假了&好好休|息一下"
;
var
converter = document.createElement(
"DIV"
);
converter.innerHTML = a;
var
b = converter.innerText;
converter =
null
;
var
c=b.replace(/[&\|\\\*^%$
#@\-]/g,"");
alert(c);