求表达式?
求表达式,
文章中有苦干个图片:
<img src= " " > asdfas <img src= " ">
如果获取(遍历)他们得到的Src内容.
[解决办法]
测试了下好像可以
string st = @ " <img src= " "123 " " > asdfas <img src=222\> ";
st = Regex.Replace(st, @ " <img src=([ " " ']?)([^> ]*)(\1)[\s]*> ", "$2 ", RegexOptions.None);
MessageBox.Show(st);