//格式化贴子内容中的图片路径by gjr 2006.7.3
// body = Regex.Replace(body, "src=/"(https://[^/]+/[^/]+)?/AspNetForums(?<imgUrl>/images///w+.//w+)/"", "src=/".${imgUrl}/"", RegexOptions.IgnoreCase | RegexOptions.Compiled);
string aa = "<img height='110' src=/"http://localhost/web/images/200673110548.gif/" width='104' border='0' /><br /><br />sdfgsdgdsfgsdfgsdfgsdfgsdfgsdfgsd<br /><img height='100' src=/"/web/images/200673110559.jpg/" width='100' border='0' /><br />宽度:100 pix 高度:100 pix 水平分辩率:72/1 DPI 垂直分辩率:72/1 DPI<br />";
string treg="src=/"(http://[^/]+/[^/]+)?/web(?<imgUrl>/images///w+.//w+)/"";
string rp = "src=/".${imgUrl}/"";
// aa = Regex.Replace(aa, treg, rp);
string naa = Regex.Replace(aa, "src=/"(https://[^/]+/[^/]+)?/web(?<imgUrl>/images///w+.//w+)/"", "src=/".${imgUrl}/"", RegexOptions.IgnoreCase | RegexOptions.Compiled);
Console.Write(naa);
Console.Read();