<b id="wujfn"></b>

      <cite id="wujfn"></cite>
      <b id="wujfn"><meter id="wujfn"></meter></b>

        <ul id="wujfn"></ul>

        一個僅保留圖片src的函數(shù)

        2015/2/10 16:09:241244 閱讀

          
          Function FormatImg(content)
          dim re
          Set re=new RegExp
          re.IgnoreCase =true
          re.Global=True
          're.Pattern="(script)"
          'Content=re.Replace(Content,"script")
          re.Pattern="<img.[^>]*src(=| )(.[^&gt;]*) style(=| )(.[^&gt;]*)/&gt;"
          Content=re.replace(Content,"<img src="$2" border="0" />")
          set re = nothing
          FormatImg = content
          End Function
          
          <br />
          <br />
          原始:<img alt="\" src="http://www.ajide.com.cn/*.jpg" style="width:457px;height:300px;" /> <br />
          <br />
          結(jié)果<img src="http://www.ajide.com.cn/*.jpg" border="0" />

          下一條:VB轉(zhuǎn)換UNIX時間戳的方法

          上一條:時間日期計算取舍格式化函數(shù)

        棗莊西橋網(wǎng)絡(luò)微信小程序微信小程序

        棗莊西橋網(wǎng)絡(luò)手機(jī)站二維碼掃描手機(jī)瀏覽

        无码精品午夜在线视频观看不卡,欧美色综合一区二区三区,国产亚洲成人AⅤ片在线观看,日本中文字幕乱码在线精品
        <b id="wujfn"></b>

          <cite id="wujfn"></cite>
          <b id="wujfn"><meter id="wujfn"></meter></b>

            <ul id="wujfn"></ul>