how to match subpart of string using regex ignore case code example Example: regex string case insensitive (?i)(STRING_TO_CHECK)