您当前所在位置:首页 > 网络编程 > 正则表达式正则表达式 用正则取出html页面中script段落里的内容 用正则取出html页面中script段落里的内容 互联网 2007-03-04正则表达式6365 这个功能对于字符串中的段落分解比较有用 descript="第一段script" descript="第二段script" str=document.body.innerHTML a=str.match(/\ 这个功能对于字符串中的段落分解比较有用