Both String#includes() and String#indexOf() are case sensitive . Neither function supports regular expressions. To do case insensitive search, you can use regular expressions and the String#match() function, or you can convert both the string and substring to lower case using the String#toLowerCase() function.
Read moreIs includes JavaScript case sensitive?
Note: The includes() method is case sensitive i.e, it will treat the Uppercase characters and Lowercase characters differently.
Read moreHow do you use Lodash lowercase?
Lodash – lowerCase method
Read more