摘要:
ubb代码转化html代码public static string UbbDecode(string str){str = HtmlEncode(str);str = Regex.Replace(str, @"/[url](?.+?)/[/url]", "${url}", RegexOptions.Compiled | RegexOptions.IgnoreCase);str = Regex.Replace(str, @"/[url=(?.+?)](?.+?)/[/url]", "${name}", RegexOp 阅读全文