Substitutes the replacement text for the first match found in the input
string, beginning at the specified index position and using the
specified execution flags.
Substitutes the replacement text for each non-overlapping match found
in the input text, starting at the specified index and using the
specified execution flags.