Find & Replace

Find and replace text in bulk, with literal or regular-expression matching, optional case-sensitivity, and capture-group references in the replacement. Private and in-browser.

-

How it works

In plain mode the text you type in Find is matched literally, special characters like . or ( have no special meaning. Switch on Regular expression to match patterns and reuse captured groups in the replacement with $1, $2, and so on.

All matching happens in your browser, nothing is uploaded.

What this does

A find-and-replace tool substitutes text in bulk, with literal or regular-expression matching and capture-group references in the replacement.

How to use it

  1. Paste your text.
  2. Enter the find and replace values.
  3. Pick literal or regex mode.
  4. Read the result and match count.

How it works

In literal mode the search text matches exactly; in regex mode it is a pattern and you can reuse captured groups with $1, $2 in the replacement. The result shows how many matches were substituted.

Understanding your result

The match count is your sanity check: zero means the search text never appeared, usually a case or whitespace mismatch, while a number far higher than expected often means a regex matched more broadly than you meant. In regex mode the replacement can reuse captured groups with $1 and $2, so review a few changes before trusting a bulk run, since a substitution cannot be undone once you have replaced your source text.

Example

Replacing “colour” with “color” across a document updates every occurrence at once.

Sources & methodology

Last updated .

Frequently asked questions

What is the difference between literal and regex mode?

In literal mode your search text is matched exactly, so characters like “.” mean a real dot. In regex mode it is treated as a pattern, and you can reuse captured groups with $1, $2 in the replacement.

Does it tell me how many matches were replaced?

Yes. The result shows the number of matches substituted so you can confirm the change.

Is my text uploaded?

No. The find-and-replace runs entirely in your browser; nothing is sent anywhere.