Skip to content

Find and replace text

Find and replace words or phrases, with case, whole-word or time-limited regular-expression matching. Runs in your browser, nothing is sent.

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>.

How do I stop “house” from also changing “housework”?

Turn on “Whole words only”: then “house” is only replaced when it appears as a separate word, not inside another.

What happens if what I search for is not in the text?

The text stays as it was and the change counter shows there were none. Check capitals, spaces and accents.

When to use it

  • When you have to change a term across a long text at once.
  • To reformat data with a regular expression.
  • When a template has a name or a date that you must change in many places.

Examples

Change a name
Type what to find and its replacement, tick whole word and get the text with the number of changes.
With regex
Use a regular expression to change all phone numbers to one format.
Changing a date
Replace “01/10/2026” with “15/10/2026” in a long text and see how many changes were made.

Common mistakes

  • Forgetting “whole word”: “cat” also changes “category”.
  • Using a regex with more than 1,000 matches: nothing is replaced, so the text is not left half-changed.
  • Assuming it ignores capitals: when “Case sensitive” is ticked, “House” and “house” are different.

Suggested next steps