Skip to content

Find and replace text

Find and replace words or phrases, with case, whole-word or time-limited regular-expression matching.

AvailableIn your browserInput: Text

How to use: Find and replace text

  1. Paste the text you want to search.
  2. Type what to find and what to replace it with; choose case, whole word or regular expression.
  3. Press “Replace” and copy the result.

What it accepts and what you get

Input
Text up to 2 million characters.
Output
The text with the replacements and the number of changes.
Where your data is processed
Your data is processed in your browser and is not sent to our servers.

Limitations and notes

  • Regular expressions run with a time limit so a slow pattern cannot freeze the page.
  • With more than 1,000 regex matches nothing is replaced, so the text is never left half-changed.

Frequently asked questions

Can I use groups?

Yes: in regular-expression mode the replacement supports $1, $& and $<name>.

Suggested next steps