string str = "";把匹配的内容去掉.
str = System.Text.RegularExpressions.Regex.Replace(str, @"\[quote\](.[^\[]*)\[\/quote\]", @"", System.Text.RegularExpressions.RegexOptions.IgnoreCase);我这样写.失败了.
str = System.Text.RegularExpressions.Regex.Replace(str, @"\[quote\](.[^\[]*)\[\/quote\]", @"", System.Text.RegularExpressions.RegexOptions.IgnoreCase);我这样写.失败了.
str=System.Text.RegularExpressions.Regex.Replace(str,@"\[quote\](.*)\[/quote\]",""),"",System.Text.RegularExpressions.RegexOptions.IgnoreCase);