Home › All tools › Find and replace
Find and replace
Replace text across a whole block at once, with case options and regular expressions.
पूरे टेक्स्ट में एक साथ खोजें और बदलें।
How to use it
- Paste your text.
- Type what to find and what to replace it with.
- The count of matches appears as you type; copy the result when it looks right.
About this tool
Every match is replaced, not just the first. The count shown before you copy is the check: if it is far higher than you expected, your search term is probably matching inside longer words. Tick whole words only to stop that.
Regular expressions unlock the harder jobs — removing everything inside brackets, collapsing repeated punctuation, reformatting dates. Captured groups are available as $1, $2 and so on in the replacement, so (\d{4})-(\d{2}) with $2/$1 turns 2026-11 into 11/2026.
Tips
- To delete something, leave the replace box empty.
- \n in a regular expression matches a line break, which is how you join or split lines.
- An invalid expression is flagged rather than applied, so nothing is quietly mangled.
Questions people ask
What happens to text I do not match?
Nothing. Only matched text is changed.
Can I replace across line breaks?
Yes, with a regular expression. Plain search also works across lines if you paste the break in.
Is there an undo?
The original stays in the top box until you overwrite it, so you can always re-run the replace.