should use the case insensitive flag. code example Example: regex string case insensitive (?i)(STRING_TO_CHECK)