Find and Replace String
Your data never leaves your browserFind and replace all occurrences of a string in text.
Brie — Bug Reporting Tool
Found a bug while testing?
Brie captures screenshots, console logs, network data, and session replays in one click — so developers get the full context without the back-and-forth.
About Find and Replace String
Replace every occurrence of a search string in your text with a replacement string. All occurrences are replaced simultaneously. Useful for batch editing content, correcting repeated mistakes, and transforming data.
How to use
- Paste or type your text in the input panel.
- Enter the string to find and the replacement string in the options.
- The modified text appears in the output panel.
More Text Tools
Frequently Asked Questions
FAQs about Find and Replace String
Does it replace all occurrences or just the first?
All occurrences are replaced. The replacement is equivalent to String.replaceAll() in JavaScript.
Is the search case-sensitive?
Yes. The search is case-sensitive by default. "Cat" and "cat" are treated as different strings.
Can I replace a string with nothing?
Yes. Leave the Replace field empty to delete all occurrences of the search string.
Can I use this to replace newlines?
You cannot type a newline in the Find field directly, but you can use the Text to One Line tool for that specific case.
Does the output update in real time?
Yes. The output updates instantly as you change the text or options.