Replaces all occurrences of a regular expression in the enclosed tokens.
Specify the regular expression that matches the substring to be replaced. Supports variable expansion For more information, see Variable Expansion.
Specify the replacement string. Supports variable expansion. For more information, see Variable Expansion.
For details on creating regular expressions, see:
The pattern options CASE_INSENSITIVE, DOTALL, and UNICODE_CASE are used but can be reversed by using the appropriate embedded escapes.