Find and Replace

Find and Replace

Find a word or phrase in your text and replace it — everywhere at once or just the first time, with whole-word matching, regex capture groups, multiple rules and a live match count. Free, no sign-up.

Rule 1

If Find is empty, nothing is changed. With Replace all off, only the first match is changed. In normal (literal) mode, special characters such as . * $ are searched exactly as typed, and a $ in Replace with is inserted exactly as typed. Rules run in order, from Rule 1 to the last rule, and each rule works on the result of the previous one.

← Back to Tools

Change one word, fix the whole document — Find and Replace saves time in long text.

© MailKaro Free Temp Mail · Tools

How to use Find and Replace in 3 steps

When the same word is spelled wrong again and again in a long text, fixing every place by hand is slow work — this tool fixes them all in one click. The tool is free and needs no sign-up.

Step 1: paste your text. Step 2: type the word to change in the Find box and the new word in the Replace with box. Step 3: click Replace — the updated text appears below, together with how many places were changed. As you type, the live match count shows how many matches there are before you replace anything.

Replace all vs first only

With Replace all ticked, every place the word appears is changed — best for fixing a spelling or changing a name. Untick it and only the first place changes, while the rest of the text stays as it was.

What does Match case do?

With Match case off, "Colour", "colour" and "COLOUR" are all treated as the same word. Tick it and only the places that match exactly what you typed in the Find box are changed.

Whole word, regex and multiple rules

Tick Whole word only when you want to change a word on its own, not inside longer words — searching for "cat" then leaves "category" and "concatenate" alone. Tick Preserve case to keep the capitalisation of each match: "Colour" becomes "Color" while "colour" becomes "color". Click "+ Add another rule" to run up to 8 find-and-replace pairs in order; each rule works on the result of the one before it, so you can fix British spellings, swap names and clean up a document in one pass.

Regex mode is for patterns. Tick it and Find becomes a regular expression, so $1 means the text matched by the first group in brackets, $2 the second group, and $& the whole match. In normal mode the tool searches literally, so $1 has no special meaning there.

Regex pattern (Find)Replace withExample
(\d{4})-(\d{2})-(\d{2})$3/$2/$12026-11-20 becomes 20/11/2026
(\w+) (\w+)$2 $1"John Smith" becomes "Smith John"
\s+(one space)Extra spaces collapse to a single space

If a regex pattern is invalid, the tool shows a clear error message instead of changing your text — fix the pattern and try again.

Find and Replace FAQ

How do I replace a whole word only, without changing it inside other words?

Tick the Whole word box. With it on, searching for cat changes only the word cat on its own — category and concatenate are left alone. Without it, every cat inside longer words is replaced too.

Can I use regular expressions (regex) and capture groups like $1?

Yes. Tick the Regex box, then type a pattern such as (\d{4})-(\d{2})-(\d{2}) and replace it with $3/$2/$1 to turn 2026-11-20 into 20/11/2026. $1 means the text matched by the first group in brackets, $2 the second group, and $& the whole match. Regex mode is off by default, so normal searches stay literal.

How do I replace only the first occurrence and leave the rest?

Untick the Replace all box, then click Replace. Only the first match changes and the rest of the text stays exactly as it was. Tick Replace all again to change every occurrence.

How do I delete a word everywhere?

Type the word in the Find box and leave the Replace with box empty, then click Replace. Every occurrence is removed. With Replace all ticked, the word is deleted everywhere; with it unticked, only the first one is deleted.

Can I replace text with a dollar sign or special characters like $, ., *?

Yes. In normal mode, Find treats . * $ and other special characters as ordinary text, so searching for $5 finds exactly $5. A $ in Replace with is also inserted exactly as typed — replacing cat with $& gives you a literal $&, not the matched word. Special $ patterns such as $1 only have a meaning when Regex mode is on.

Is my text uploaded anywhere?

No. Your text is processed only in your browser and is never sent, stored or saved anywhere. You can close the page and nothing of your text remains.

Related tools

Remove Duplicate Lines — clean repeated lines from a list. Word Counter — count words and characters in your text. Case Converter — change text between upper, lower and title case. Lorem Ipsum Generator — make placeholder text for designs and mockups.

Last updated: 20 November 2026

No comments:

Post a Comment