Tested in November 2026. Plain, whole word, case and regular expression modes were tested, including group references and Hindi text.
How to find and replace text
- Paste your text into the first box.
- Type the text to find and the text to put in its place. The result appears below as you type, with a count of replacements.
- Turn on options if needed: match upper and lower case, whole words only, or regular expression.
- Use Copy result or Download .txt. Click Use result as my text to run another replacement on the result.
Tips for better results
- Use Whole words only to change cat without changing concat.
- In regular expression mode, use $1 and $2 for groups and $& for the whole match. Named groups work as $<name>.
- To remove text, leave the Replace with box empty.
- Use \n in a regular expression to match a line break.
Limits to know about
- Regular expressions follow the JavaScript style, which can differ from other languages.
- A pattern that backtracks a lot can slow the page on large text.
- Whole words only uses letters, numbers and the underscore as word characters.
- The tool changes all matches at once. It does not replace one match at a time.
Privacy
Your text is processed inside your browser and is not sent to ToolsRiver.
Frequently asked questions
How do I replace all words in a text?
Type the word and its replacement and the result already has every match replaced.
Is the search case sensitive?
Only if you turn on Match upper and lower case.
Can I use regular expressions?
Yes. Turn on Use regular expression and use groups in the replacement.
Does it work with Hindi?
Yes. Hindi text can be searched and replaced the same way.
Is it free?
Yes, with no sign-up.
About this tool
ToolsRiver Find and Replace Text changes words or patterns across a whole text in one step, with case, whole word and regular expression options. It runs in your browser.