ASP.Net MVC / ASP.Net WebForms / C# Checking multiple contains on one string - 30.08.20 - ErcanOPAK new[] {",", "/"}.Any(input.Contains) or you can use Regex Regex.IsMatch(input, @"[,/]"); Related posts:How to remove searching, filtering, ordering and info from Asp.NET MVC DatatableDevexpress ASPxGridview Column Grouping in CodeHow to use TrimEnd to remove last character from string in C#How to assing Selected Value to DropDownList in Asp.Net MVC Post Views: 10