The RegExp i Modifier in JavaScript is used to perform case-insensitive matching in the string.
Read moreHow do you match a case insensitive in regex?
If you want only part of the regex to be case insensitive (as my original answer presumed), then you have two options:
Read moreHow do you match a case insensitive in regex?
If you want only part of the regex to be case insensitive (as my original answer presumed), then you have two options:
Read moreWhat is case insensitive search?
A case-insensitive search is more comprehensive, finding “Language” (at the beginning of a sentence), “language”, and “LANGUAGE” (in a title in capitals ); a case-sensitive search will find the computer language “BASIC” but exclude most of the many unwanted instances of the word.
Read moreIs indexOf case-sensitive C#?
IndexOf Method is by default case sensitive . But we can make it case insensitive if we use one of the overloads: IndexOf(String, StringComparison).
Read moreHow do you make an array case insensitive?
To do a case insensitive check if an array contains a string in JavaScript:
Read more