fengrengui

导航

2006年8月15日

正则表达式,字符串提取

摘要: string pattern ="";Regex r=New Regex(pattern,RegexOptions.Multiline);MatchCollection mc=r.Matches(WebpageSourceCode);我相从网页source code中提取这些信息:以<a href="personen.d4w开头到第一个</tr>结束,网页中可能多个这样的字符串。... 阅读全文

posted @ 2006-08-15 20:33 阿贵 阅读(572) 评论(2) 推荐(0)