Find and Replace Text

Replace text with plain strings or regular expressions.

Runs in your browser Text Tools Free · No account

Input

Processed locally

This tool runs entirely in your browser. The data you paste or load is never uploaded.

Result

Enter your input, then run the tool.

About this tool

Replaces every occurrence of a search term, with optional whole-word matching, case insensitivity and regular expression mode with $1 group references. The result reports how many replacements were made.

How to use it

  1. Paste the text, type the search term and the replacement.
  2. Enable regex mode if you need patterns or capture groups.
  3. Run the replacement and copy the result.

Frequently asked questions

How do I reference a capture group?
In regex mode use $1, $2 and so on. Escape a literal dollar sign as $$.
Why were no replacements made?
Check case sensitivity and whole-word matching, and confirm the search term is not a regex with special characters that need escaping.

Keep going

More in this category