本帖最后由 powerchuangwai 于 2010-08-09 11:36:29 编辑

解决方案 »

  1.   

      string Url = "http://www.abbbc.com/ccc88888888.html";
                Regex reg = new Regex(@"^http://(.*?\d{8})\.html$");
                Match m = reg.Match(Url);
                if (m.Success)
                {
                    Response.Write(m.Result("$1"));
                }
      

  2.   

    基于上述方法过滤不全,人民网的一个页面,会得到如下内容:http://society.people.com.cn/GB/8217/19961200.html target=_blank>温家宝甘肃舟曲察看灾情 鼓励被困群众坚持</a></h1><a href=http://politics.people.com.cn/GB/1024/index.html target=_blank>[胡锦涛温家宝指示]</a><a ......还有好多。希望的是得到如下内容:
    http://society.people.com.cn/GB/8217/19961200.html