If you want only part of the regex to be case insensitive (as my original answer presumed), then you have two options:
Read moreIs JavaScript regex case sensitive?
Regular expression, or simply RegEx JavaScript allows you to write specific search patterns. You can also make the search case-sensitive or insensitive , search for a single JavaScript RegEx match or multiple, look for characters at the beginning or the end of a word.8 Ağu 2017
Read moreIs JavaScript regex case sensitive?
Regular expression, or simply RegEx JavaScript allows you to write specific search patterns. You can also make the search case-sensitive or insensitive , search for a single JavaScript RegEx match or multiple, look for characters at the beginning or the end of a word.8 Ağu 2017
Read moreHow do you make a case-insensitive in JavaScript?
The most basic way to do case insensitive string comparison in JavaScript is using either the toLowerCase() or toUpperCase() method to make sure both strings are either all lowercase or all uppercase .
Read moreHow do you make a case-insensitive in JavaScript?
The most basic way to do case insensitive string comparison in JavaScript is using either the toLowerCase() or toUpperCase() method to make sure both strings are either all lowercase or all uppercase .
Read moreIs JavaScript replace case sensitive?
JavaScript String Replace | Case Insensitive . The . replace function in JavaScript helps developers replace all the occurrences of a string in a text. However, many of us developers use this method in the wrong way while writing the code.18 Şub 2019
Read moreIs replace case sensitive?
Replace() method allows you to easily replace a substring with another substring, or a character with another character, within the contents of a String object. This method is very handy, but it is always case-sensitive .
Read more