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