What Does the Find & Replace Tool Do?
This tool searches your text for every occurrence of a word, phrase or pattern and replaces them all at once. It supports three matching modes that can be combined: case-sensitive matching, whole-word matching (so replacing "cat" won't touch "category"), and full regular-expression mode for advanced pattern replacements — the same regex flavor used by JavaScript.
After each run the tool reports exactly how many replacements were made, so you always know the scale of the change before you copy the result.
How to Use Find & Replace
- Paste your text into the top box.
- Enter what to Find and what to Replace with (leave the replacement empty to simply delete matches).
- Optionally enable case-sensitive, whole-word or regex matching.
- Click Replace All and copy the result.
Power Tips with Regex Mode
- Replace
\d+with#to mask every number in a document. - Replace
\s+$with nothing to strip trailing whitespace from each line (with thembehavior built in). - Use capture groups: find
(\w+)@example\.comand replace with$1@newdomain.comto migrate email domains while keeping the usernames. - Find double punctuation like
!{2,}and replace with a single!to calm down enthusiastic text.
Writers use the tool to update names or terms across long manuscripts, developers batch-edit config files and datasets, and marketers swap product names or URLs across bulk copy in seconds.