摘要: String CleanInput(string strIn) { // Replace invalid characters with empty strings. // Replace all html tags return Regex.Replace(strIn, @"</?[^>]*>", ""); // Replace html tags div or span //return Regex.Replace(strIn, @"</?(div|span)[^>]*>", "&qu 阅读全文
posted @ 2012-03-12 09:28 lear 阅读(238) 评论(0) 推荐(0) 编辑