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 more