The replaceAll() method replaces each substring that matches the regex of the string with the specified text .
Read moreIs JavaScript case sensitive?
JavaScript is Case Sensitive All JavaScript identifiers are case sensitive.
Read moreHow do you ignoreCase JavaScript?
The ignoreCase property specifies whether or not the “i” modifier is set . This property returns true if the “i” modifier is set, otherwise it returns false.
Read moreHow do I make something not case sensitive?
includes on and the substring to lowercase to make a case insensitive lookup.
Read more