use i for case insensitive in regex code example Example: regex string case insensitive (?i)(STRING_TO_CHECK)