void tiqu()
        {
            string Detail = "<p style='margin: 0cm 0cm 0pt; text-align: center' align='left'><span style='font-size: 12pt; font-family: 黑体'><font face='宋体'>张无忌、令狐冲、小龙女、黄药师……</font></span></p><p style='margin: 0cm 0cm 0pt; text-align: center' align='left'><span style='font-size: 12pt; font-family: 黑体'><font face='宋体'>各个耳熟能详的名字</font></span></p><p style='margin: 0cm 0cm 0pt; text-align: center' align='left'><span style='font-size: 12pt; font-family: 黑体'><font face='宋体'>都是我们曾经的梦</font></span></p><p style='margin: 0cm 0cm 0pt; text-align: center' align='left'> </p><p style='margin: 0cm 0cm 0pt; text-align: center' align='left'><span style='font-size: 12pt; font-family: 黑体'><font face='宋体'>现在,要成为武林高手的梦幻</font></span></p><p style='margin: 0cm 0cm 0pt; text-align: center' align='left'><span style='font-size: 12pt; font-family: 黑体'><font face='宋体'>终于实现啦</font></span></p><p style='margin: 0cm 0cm 0pt; text-align: center' align='left'> </p><p style='margin: 0cm 0cm 0pt; text-align: center' align='left'><span style='font-size: 12pt; font-family: 黑体'><font face='宋体'>武林秘籍笔记本</font></span></p><p style='margin: 0cm 0cm 0pt; text-align: center' align='left'><span style='font-size: 12pt; font-family: 黑体'><font face='宋体'>带着这样一本秘籍放在怀里</font></span></p><p style='margin: 0cm 0cm 0pt; text-align: center' align='left'><span style='font-size: 12pt; font-family: 黑体'><font face='宋体'>肯定吸爆所有人的眼球</font></span></p><p style='margin: 0cm 0cm 0pt; text-align: center' align='left'><span style='font-size: 12pt; font-family: 黑体'><font face='宋体'>看着别人羡慕的眼神</font></span></p><p style='margin: 0cm 0cm 0pt; text-align: center' align='left'><span style='font-size: 12pt; font-family: 黑体'><font face='宋体'>你一脸淡然地捧着秘籍</font></span></p><p style='margin: 0cm 0cm 0pt; text-align: center' align='left'><span style='font-size: 12pt; font-family: 黑体'><font face='宋体'>仔细阅读里面的公司报告</font></span></p><p style='margin: 0cm 0cm 0pt; text-align: center' align='left'><span style='font-size: 12pt; font-family: 黑体'><font face='宋体'>学习记录</font></span></p><p style='margin: 0cm 0cm 0pt; text-align: center' align='left'> </p><p style='margin: 0cm 0cm 0pt; text-align: center' align='left'><span style='font-size: 12pt; font-family: 黑体'><font face='宋体'>哈哈,是不是特别酷呢?<br />化骨绵掌,字样写法多样,发货随机</font></span></p><p style='margin: 0cm 0cm 0pt; text-align: center' align='left'><span style='font-size: 12pt; font-family: 黑体'><font face='宋体' size='3'><img alt='' border='0' src='http://www.ywybsc.com.cn/product/images/UploadFile/2010-4/7/20104713252822.jpg' /><br /><img alt='' border='0' src='http://www.ywybsc.com.cn/product/images/UploadFile/2010-4/7/2010471454218.jpg' /><br /><img alt='' border='0' src='http://www.ywybsc.com.cn/product/images/UploadFile/2010-4/7/20104714726561.jpg' /><br /><img alt='' border='0' src='http://www.ywybsc.com.cn/product/images/UploadFile/2010-4/7/20104714737108.jpg' /><br /><img alt='' border='0' src='http://www.ywybsc.com.cn/product/images/UploadFile/2010-4/7/20104714745271.jpg' /><br /><img alt='' border='0' src='http://www.ywybsc.com.cn/product/images/UploadFile/2010-4/7/2010471331771.jpg' /><img alt='' border='0' src='http://www.ywybsc.com.cn/product/images/UploadFile/2010-4/7/2010471339997.jpg' /></font></span></p><p style='margin: 0cm 0cm 0pt; text-align: center' align='left'><span style='font-size: 12pt; font-family: 黑体'><font face='宋体' size='3'><img alt='' src='http://www.ywybsc.com.cn/product/NewWebPic/FckPic/201005290450007031.jpg' /></font></span></p><p style='margin: 0cm 0cm 0pt; text-align: center' align='left'> </p>";
            string pimg = @"(?is)(?<=&lt.*?img.*?)src=(['""]?)[^'"" ]+\1";
            MatchCollection mc = Regex.Matches(Detail, pimg, RegexOptions.IgnoreCase);
            string redetail = string.Empty;
            for (int i = 0; i < mc.Count; i++)
            {                string content = mc[i].Value.Replace("src='", " ").Replace("'", " ").Trim();                string temUrl = content.Substring(0, content.LastIndexOf('/'));                redetail = Detail.Replace(temUrl, ImgWeb + "/upload/FckPic");//下一次替换在上一次替换基础上再替换?(保存上一次替换结果重新赋给Detail)            }
            Response.Write(redetail);//输入的只是和循环最后一次要替换的
        }