Both very useful though, and both should be standard jQuery functionality. Notice that all the div elements are targeted irrespective of the case. Is there a case insensitive version of the :contains jQuery selector or should I do the work manually by looping over all elements and comparing their .text() jQuery has ":contains" selector which can be used to select all elements with specific text. Notice that all the div elements are targeted irrespective of the case. }); //This is contains will look with case sensitive Should we burninate the [variations] tag? rev2022.11.4.43006. Stack Overflow for Teams is moving to its own domain! Filters a record set for data that does not include a case-sensitive string. It's case sensitive. If the LINQ query is executed in .NET context, you can use IndexOf() , but that method is not supported in LINQ to SQL. $.extend($.expr[:], { Asking for help, clarification, or responding to other answers.