regex matching case insensitive code example Example: regex string case insensitive (?i)(STRING_TO_CHECK)