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