日期:2014-05-18  浏览次数:20881 次

正则表达式替换问题...
string strContent = "2015款奔驰C级谍照曝光<h1>预计2014年上市</h1>";

请问如何使用正则表达式,把<h1>标签换成<h2>?

------解决方案--------------------
C# code
strContent = Regex.Replace(strContent,@"(?<=@[^:]*?):.{6}(?=\s*?)",string.Empty);