Replace all matches of a JavaScript regex in pasted text. Matching is case-sensitive; use \. to find a literal dot and $1 in the replacement to reuse a captured group.