摘要: 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 阅读全文
posted @ 2013-11-20 02:42 zhuanglijie 阅读(267) 评论(1) 推荐(0) 编辑