var str=document。getElementById("content")。innerHTML;//这里是整个页面代码 ,也可以指定id
/gi,"
"5555451。html">下一页(快捷键:→)
"5538118。html">上一页
str=str。replace(/\