日期:2014-05-18 浏览次数:21004 次
string tempStr = "12ss4567890@qq.com"; string pattern = @"(?<=^.{5}).*(?=.{3}$)"; tempStr = Regex.Replace(tempStr, pattern, @"***");//12ss4***com