久久久久久久视色,久久电影免费精品,中文亚洲欧美乱码在线观看,在线免费播放AV片

<center id="vfaef"><input id="vfaef"><table id="vfaef"></table></input></center>

    <p id="vfaef"><kbd id="vfaef"></kbd></p>

    
    
    <pre id="vfaef"><u id="vfaef"></u></pre>

      <thead id="vfaef"><input id="vfaef"></input></thead>

    1. 站長資訊網(wǎng)
      最全最豐富的資訊網(wǎng)站

      正則表達(dá)式提取圖片路徑 并過濾掉指定字符的寫法

      我想對 html 的圖片進(jìn)行提取.

      <img ico src=”http://localhost/UCenter/images/noavatar_small.gif” />

      <img src=”http://localhost/UCenter/images/noavatar_small.gif” />

      如上地址. 我想全部提取出來 但是包含’ico’ 的地址 忽略. 求正則 , 就是有些圖片 提取.有些不提取.

      例子: <s*imgs+[^>]*?srcs*=s*(‘|”)(.*?)\1[^>]*?/?s*>

      經(jīng)改進(jìn)后..

      正確解答如下

      /<img(?:(?!(ico)).)+/>/

      贊(0)
      分享到: 更多 (0)
      網(wǎng)站地圖   滬ICP備18035694號-2    滬公網(wǎng)安備31011702889846號