A modifier overrides flag settings in a specific part of a regular expression. It can be used to enable or disable flags that change the meanings of certain Regex syntax elements. These flags are i, m, and s....change the meanings of certain regex syntax elements. These flags...are i , m , and s . Syntax regex (?flags1:pattern) (?flags1-flags2:pattern)...