Skip to content
Toolbox

Find and Replace Text Online

Find and replace text in bulk with optional regex, case sensitivity and whole-word matching. See the match count live.

Leave empty to delete matches.

Matching options

About Find & Replace

Replace every occurrence of a phrase across a large block of text without opening an editor. Turn on regular expressions for pattern work — capture groups, character classes, anchors — and use the live match count to check your pattern before committing the change.

How to use it

  1. Paste your source text.
  2. Enter what to find and what to replace it with.
  3. Toggle case sensitivity, whole word or regex as needed.
  4. Check the match count, then apply and copy the result.

Frequently asked questions

How do I use capture groups?

Enable regex, wrap part of your pattern in parentheses, then reference it in the replacement with $1, $2 and so on. For example find (\w+)@(\w+) and replace with $2 at $1.

Why does my regex not match anything?

Special characters need escaping. A literal dot is \. and a literal question mark is \?. The match counter turns red and explains the error if your pattern is invalid.

Is there a size limit?

The tool handles documents of several megabytes comfortably. Everything runs locally, so the only real limit is your device's memory.

In-depth reads that go beyond the calculator.