日期:2014-05-18 浏览次数:20895 次
string source = "abd<script><script>ddfd"; Regex reg = new Regex(@"<(?=script>)"); source = reg.Replace(source,"a");//替换成a ------解决方案-------------------- <(?=script\b[^>]*?>)