参考资料:http://www.infoq.com/cn/news/2015/09/cache-problems
正则替换字符串的简单方法:
var regTableType = new Regex("\w+¥"); strFieldId = regFieldIds.Replace(fieldId, "");
fieldId:符合正则的目标字符串
strFieldId:匹配后的新字符串
参考资料:http://www.infoq.com/cn/news/2015/09/cache-problems
正则替换字符串的简单方法:
var regTableType = new Regex("\w+¥"); strFieldId = regFieldIds.Replace(fieldId, "");
fieldId:符合正则的目标字符串
strFieldId:匹配后的新字符串