string url = new Uri(m_uri, match.Groups["url"].Value).AbsoluteUri;这样可以拼接出URL地址获取match中的文本string text = match.Groups["text"].Value;substring 和indexof//url = "http://www.gome.com.cn/product/1000014732.html" pku = url.Substring(url.LastIndexOf("/") + 1, url.Leng Read More
posted @ 2011-10-18 15:11 咸鱼公子 Views(134) Comments(0) Diggs(0) Edit