How to use the Find and Replace
Paste your text into the box.
Type the word or phrase to find. Matches are counted and highlighted as you type.
Type the replacement text. Leave it empty to delete every match.
Turn on Match case or Whole words only if needed, then click Replace All.
Examples
Find "cat", replace with "dog" in: cat concat cat.
dog concat dog. ("concat" is left alone)Find "very " with an empty replacement in: It was very very good.
It was good.
Options explained
- Match case only finds text with exactly the same capitalisation. With it off, "Apple", "apple" and "APPLE" all match.
- Whole words only ignores matches inside longer words, so searching for "art" will not change "start" or "party".
- Empty replacement deletes every match, which is handy for removing a repeated word, a tracking code or a stray symbol.
The search is literal: characters such as ., *, ? or $ are matched as themselves, not treated as special patterns. That makes it safe for prices, file paths, code and URLs.
Common uses
- Rebranding copy: update a product or company name across a long document.
- Fixing repeated typos: correct a misspelling that autocorrect missed throughout a draft.
- Cleaning exported data: swap semicolons for commas, or remove quote marks.
- Localising text: change "color" to "colour" or US dates to UK format.
- Preparing code or templates: replace a placeholder like
{{name}}with a real value.
Tips for safe replacing
Check the match count before you click Replace All. If it is higher than expected, turn on Whole words only or Match case to narrow it down. Replacing short strings such as "in" or "is" without whole-word matching will almost always change words you did not mean to touch.
For several different replacements, run them one at a time and check the highlights between each. For spacing problems, Remove Extra Spaces is faster, and for changing capitalisation use the Case Converter.
Worked example: updating a product name
Suppose a document mentions "WidgetPro" 14 times and the product has been renamed "Widget Studio". Some mentions are "WidgetPro's" and one is in a URL, "widgetpro.com".
- Search for
WidgetProwith Match case on. The count shows 14 and every instance is highlighted, including "WidgetPro's". - Notice the URL is lower case, so it is not matched. That is what you want, because the web address has not changed.
- Type
Widget Studioas the replacement and click Replace All. "WidgetPro's" becomes "Widget Studio's" automatically. - Search again for
WidgetProto confirm the count is now zero.
Find and replace vs. editing by hand
For one or two changes, editing directly is fine. Once a change appears more than a handful of times, bulk replacing is faster and far more reliable: it is easy to miss the eleventh occurrence when scanning by eye. The live count acts as a checklist, telling you exactly how many places will change before you commit.
Frequently asked questions
Last reviewed by the WordTools Pro team. How our tools work