龙盟编程博客 | 无障碍搜索 | 云盘搜索神器
快速搜索
主页 > web编程 > asp编程 >

asp提取文章内容描述(去除图片,html连接)

时间:2012-12-31 22:56来源:未知 作者:admin 点击:
分享到:

asp教程提取文章内容描述(去除图片,html连接)

   <body>
        <script type="text/vbscript">
        <!--
            dim s,k
            s = "aa<img alt=""caaab"" alt=""aaa"" src=""images/index4_17.gif"">baaab"
            k= "aaa"
            set re = new regexp
            re.pattern = k&"(?![^""]*"" )"
            re.global = true
            re.ignorecase = true
            alert(re.replace(s,"<a href=""kkk"">dfdf</a>"))
        //-->
        </script>
    </body>

精彩图集

赞助商链接