熱點推薦:
您现在的位置: 電腦知識網 >> 編程 >> .NET編程 >> 正文

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

2022-06-13   來源: .NET編程 

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

  <body>
        <script type="text/vbscript">
        <!
            dim sk
            s = "aa<img alt=""caaab"" alt=""aaa"" src=""images/index_gif"">baaab"
            k= "aaa"
            set re = new regexp
            repattern = k&"(?![^""]*"" )"
            reglobal = true
            reignorecase = true
            alert(rereplace(s"<a href=""kkk"">dfdf</a>"))
        //>
        </script>
    </body>
 


From:http://tw.wingwit.com/Article/program/net/201311/14136.html
    推薦文章
    Copyright © 2005-2022 電腦知識網 Computer Knowledge   All rights reserved.