c#中如何过滤discuz论坛中的如:[b][font][/font]这样的标签 c#中如何过滤discuz论坛中的如:[b][font][/font]这样的标签 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 string input = "[rwer]text[/tttt][ttttt]121[21212www]"; Regex regex = new Regex(@"\[\/?\w+\]"); Console.WriteLine(regex.Replace(input, "")); wpf中的datagird控件如何绑定datatable? 发送邮件代理如何设置? datagirdview 中ShowCellToolTips 停留时间设置 菜鸟datagrid问题 如何动态创建按钮控件 image 属性付值的问题 TextBox的文本不能选择 求C#面试题目 很简单的问题:关于confirm对话框 “int”并不包含对“Format”的定义?? 求GridView 自定义分页 上一页 1 2 3 4 5 下一页代码 求一个C#字符串截取方法?
Regex regex = new Regex(@"\[\/?\w+\]");
Console.WriteLine(regex.Replace(input, ""));