Leave empty to delete matches.

Result

Paste text, then enter what to find and replace.

How to use this tool

  • Paste your text and enter what to find and the replacement.
  • Choose options such as whole words or regular expressions.
  • Copy the result or use it as the new text for another replacement.

How it works

Plain searches match the text exactly (special characters are escaped). With regular expressions, $1, $2… insert captured groups and $& inserts the whole match.

Example

Swapping parts

Finding (\w+)@(\w+) and replacing with $2 at $1 turns me@site into site at me.

Privacy and limitations

  • Everything runs in your browser; nothing you enter is uploaded or stored.

Frequently asked questions

How do I delete every match?

Leave “Replace with” empty.

What does “whole words only” do?

It stops “cat” matching inside “category”.