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 I make my character not case sensitive?
you can use Character. toLowerCase or Character. toUpperCase to make all to lower case or upper case and compare it.
Read moreHow do I make something optional in regex?
Optional Items
Read more