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 RegexOptions IgnoreCase?
The RegexOptions enum is a Regex argument. This example shows how RegexOptions. IgnoreCase affects the result of the IsMatch method on an input that is in a different case . Note When IgnoreCase is specified, the match succeeds. Otherwise it fails.
Read moreIs regex case sensitive SQL?
Discussion. Currently, REGEXP is not case sensitive , either. Both expressions are true because [:lower:] and [:upper:] are equivalent when case sensitivity doesn’t matter.
Read moreIs regex case sensitive Java?
Java Regular Expressions are case-sensitive by default .
Read moreIs regex case sensitive mysql?
REGEXP is not case sensitive, except when used with binary strings .
Read moreHow do you make a case sensitive in regex?
In Java, by default, the regular expression (regex) matching is case sensitive. To enable the regex case insensitive matching, add (?) prefix or enable the case insensitive flag directly in the Pattern .
Read moreDoes capitalization matter regex?
Using character sets For example, the regular expression “[ A-Za-z] ” specifies to match any single uppercase or lowercase letter . In the character set, a hyphen indicates a range of characters, for example [A-Z] will match any one capital letter.
Read more