System.Text.RegularExpressions.Regex regex1 = new System.Text.RegularExpressions.Regex(@";script[\s\S]+;/script *;", System.Text.RegularExpressions.RegexOptions.IgnoreCase);
html = regex1.Replace(html, ""); //过滤;script;;/script;标记但是无论是大写<SCRIPT type="text/javascript"></SCRIPT>或小写<script type="text/javascript"></script> 都过滤不掉
html = regex1.Replace(html, ""); //过滤;script;;/script;标记但是无论是大写<SCRIPT type="text/javascript"></SCRIPT>或小写<script type="text/javascript"></script> 都过滤不掉
html = regex1.Replace(html, "");
string result = System.Text.RegularExpressions.Regex.Replace(yourStr, @"<[^>]*>", "");