繁体
/gi,"");
//str=str。replace(/\
str=str。replace(/\<\/P\>/gi,"");
document。getElementById("content")。innerHTML=str;
}
var str=document。getElementById("content")。innerHTML;//这里是整个页面代码 ,也可以指定id
\
window。onload = function{ //window。onload 打开网页就运行
/gi,"2");