Find and Replace

Replace Words Across a Whole Text.

Loading…

Type what to look for and what to put in its place; the changed text and the number of replacements update immediately. Whole-word matching stops "cat" from changing "category", and regular expressions are available for patterns.

How to use the Find and Replace tool

  1. Paste your text or open a file.
  2. Type the text to find and its replacement, and tick the options you need.
  3. Copy or download the result in Find and Replace.

Tips for the best result

  • Leave the replacement empty to delete every match.
  • With regular expressions on, n in the replacement makes a line break.

Quick facts

PriceFree
Works withText
Where it runsIn your browser, on your device
AccountNot needed

Frequently asked questions

What is a regular expression?

A way to describe a pattern instead of exact text. For example d+ matches any number.

Can I undo a replacement?

Your original stays in the top box, so nothing is lost; change the search and the result is rebuilt from it.