萬盛學電腦網

 萬盛學電腦網 >> 網絡編程 >> asp編程 >> asp提取文章內容描述(去除圖片,html連接)

asp提取文章內容描述(去除圖片,html連接)

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>
 

copyright © 萬盛學電腦網 all rights reserved