Remove inapplicable regex modifiers

Case-insensitive replacement