Find & Replace Text with Regex

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.

Runs locally in your browser
Recent tools: