日期:2014-05-18 浏览次数:21070 次
string str=@"XXXXaaa_bbb_cccYYYYYYY"; string pattern=@"aaa_bbb"; string result=Regex.Match(str, pattern).Value;