应该是这样的:
var regex = new Regex("/\*((?!\*/).)*\*/",RegexOptions.Singleline); regex.Replace(input,"");
var regex = new Regex("/\*((?!\*/).)*\*/",RegexOptions.Singleline); regex.Replace(input,"");