Find and replace
Replaces every occurrence of a word or phrase in your text.
| What it does | Replaces every occurrence of a word or phrase in your text. |
|---|---|
| Exact rule | Plain text search from left to right, with no overlapping matches; tick match capitals to treat A and a as different. Patterns and wildcards are not used. |
| Example text | The cat and the catalogue. (find cat, replace dog, ignoring capitals) |
| Example result | The dog and the dogalogue. |
| Limits | Leaving the replacement empty deletes every match. Replacing short words also changes them inside longer words. |
| Where it runs | In your browser: your text is never uploaded, stored or logged. |
Related tools
Remove extra spaces Remove line breaks Remove duplicate lines Sort lines A to Z Sort lines Z to A Reverse text Reverse line order Text compare (diff)
All tools in Clean up and compare text
How to use the find and replace
- Paste your text.
- Enter what to find and what to put instead.
- Copy the result and check the count of replacements.
How it works
Plain text search from left to right, with no overlapping matches; tick match capitals to treat A and a as different. Patterns and wildcards are not used.
Leaving the replacement empty deletes every match. Replacing short words also changes them inside longer words.