Find and Replace
100% PrivateText & Writing ToolsFind and replace every occurrence of a word or pattern in your text, with regex support.
Runs entirely in your browser. Your input is not uploaded to Ovatly or anywhere else.
- 1Paste the text to work on.
- 2Type what to find and what to replace it with (the replacement can be empty to delete matches).
- 3Set the options: case sensitive, whole word only, or regular expression.
- 4Read the match count and copy the result.
Text: "the cat sat on the mat". Find: the. Replace: a. The result is "a cat sat on a mat" with 2 matches replaced. Both occurrences changed because case-insensitive matching is the default.
- In regular expression mode the replacement supports group references like $1 and $2, and $& for the whole match.
- Whole word matching uses standard word boundaries, which work best with plain letters and digits.
- An invalid regular expression shows a clear error and changes nothing, rather than failing silently.
It works on any pasted text without opening a document, shows the replacement count before you copy, and handles regex groups in the replacement, which many simple editors do not.
About this tool
Find and Replace rewrites every occurrence of a word, phrase or pattern in your text and tells you exactly how many replacements it made. Beyond plain text search it offers whole-word matching, case sensitivity and full regular expression support for pattern jobs like reformatting dates or codes.
Related tools
Part of Ovatly's free tools in Text & Writing Tools.