æ¦è¦ using System.Text.RegularExpressions; public static class StringExtensions { private const RegexOptions OPTIONS = RegexOptions.IgnoreCase; public static string RemoveBBCode( this string self ) { self = Regex.Replace( self, @"\[b\](.*)\[\/b\]" , "$1", OPTIONS ); // 太å self = Regex.Replace( self, @"\[i\](.*)\[\/i\]" , "$1", OPTIONS ); // æä½ self = Regex.Replace( self, @"\[u\](.*)\[\/u\]" , "$1",
{{#tags}}- {{label}}
{{/tags}}