Find and Replace

Replace every occurrence of a word or pattern in a block of text, with optional regular expressions for advanced edits.

Runs in your browser. Nothing is uploaded Free, no sign-up Works on mobile
Find
Replace with

How to use Find and Replace

  1. Paste your text.
  2. Enter what to find and what to replace it with.
  3. Turn on match case, whole words or regular expressions if needed.
  4. Copy the result.

Frequently asked questions

How do I use capture groups?

Turn on regular expressions, put parentheses around parts of the pattern and refer to them as $1, $2 in the replacement. Example: find (\w+)@(\w+) and replace with $2 at $1.

How do I replace line breaks?

With regular expressions on, search for \n and replace it with a space or a comma.

Related tools

All Text Tools →