Find and Replace Text
Find and replace words or phrases in any text: match case, whole words, regular expressions with $1 groups, replace first or all, and many find => replace pairs at once.
| Find | Replace with | Replacements |
|---|---|---|
| colour | color | 2 |
| favourite | favorite | 2 |
| grey | gray | 1 |
Swap one word for another throughout a text, fix a repeated typo, convert British to American spelling, or run a whole list of replacements in one go. Plain searches treat every character literally, so symbols like $ . ( ) are safe; switch on regular expressions when you need patterns and $1-style groups. A table shows how many replacements each pair made.
How to use this tool
- Paste your text.
- Type what to find and what to replace it with; leave “replace with” empty to delete matches.
- Add more pairs, one per line, as find => replace (or paste two spreadsheet columns).
- Set match case, whole words, regular expression or first-only, then copy the result.
Formula
Pairs run in order: text₁ = replace(text, find₁ → replace₁), text₂ = replace(text₁, find₂ → replace₂), …
Plain mode escapes every special character, so the search is literal, and the replacement is inserted exactly as typed. Whole words use Unicode-aware boundaries: a match must not touch another letter, digit or underscore, so it works for accented words, Korean and Cyrillic. Regular expressions follow JavaScript syntax (for example \d+ for any number) with the multiline flag, so ^ and $ match at each line, and the replacement can use $1, $2, $& and $<name>. With “\n” reading on, \n and \t in the find and replace boxes stand for a line break and a tab.
Example
The sample sentence with “colour → color” and the extra pairs “favourite => favorite” and “grey => gray” becomes My favorite color is gray. The color of the sky changes, and my favorite moment is sunset. — 2 + 2 + 1 = 5 replacements from 3 pairs.
Frequently asked questions
How do I replace several different words at once?
Put one find => replace pair per line in the “More pairs” box. They are applied from top to bottom, so a later pair also sees the changes made by earlier ones.
How do I delete a word everywhere?
Type it in Find and leave “Replace with” empty, or write “word => ” with nothing after the arrow.
How do I replace line breaks?
Keep “Read \n as a line break” ticked and type \n in Find. For example, find \n and replace with “, ” to join lines with commas.
Can a regular expression freeze the page?
It can, because your pattern runs as written while you type. A repeat inside a repeat, such as (a+)+ or (\w+\s?)*, can take exponentially long on text that almost matches, and so can a repeated choice whose options can match the same text, such as (a|aa)+ or (\w|\d)+. Such patterns are refused unless you tick “Allow risky patterns”. Patterns like .*x are fast on normal text but slow on a single line tens of thousands of characters long. If the page stops responding, close the tab.
Last updated:
Page address with these inputs: https://kakao.mobile/tools/find-and-replace-tool/
Cite or embed this tool
kakaoCalc. (2026, November 8). Find and Replace Text. https://kakao.mobile/tools/find-and-replace-tool/
“Find and Replace Text.” kakaoCalc, 8 Nov. 2026, kakao.mobile/tools/find-and-replace-tool/.
Paste this code into your page. The widget runs in your visitors' browsers, shows no ads and keeps a link back to this page. Embedding terms