Find and Replace Text Online
Find and replace text in bulk with optional regex, case sensitivity and whole-word matching. See the match count live.
Leave empty to delete matches.
About Find & Replace
Replace every occurrence of a phrase across a large block of text without opening an editor. Turn on regular expressions for pattern work — capture groups, character classes, anchors — and use the live match count to check your pattern before committing the change.
How to use it
- Paste your source text.
- Enter what to find and what to replace it with.
- Toggle case sensitivity, whole word or regex as needed.
- Check the match count, then apply and copy the result.
Frequently asked questions
How do I use capture groups?
Enable regex, wrap part of your pattern in parentheses, then reference it in the replacement with $1, $2 and so on. For example find (\w+)@(\w+) and replace with $2 at $1.
Why does my regex not match anything?
Special characters need escaping. A literal dot is \. and a literal question mark is \?. The match counter turns red and explains the error if your pattern is invalid.
Is there a size limit?
The tool handles documents of several megabytes comfortably. Everything runs locally, so the only real limit is your device's memory.
Trending guides
In-depth reads that go beyond the calculator.
- Trending6 min read
SIP Calculator guide
A Systematic Investment Plan is a standing instruction to put a fixed amount into a mutual fund on the same date each month. That is the whole idea. It is not a product you buy, not an asset class, and not a scheme with a guaranteed rate — it is a schedule. The returns come from whatever the underlying fund holds.
- 3 min read
BMI Calculator guide
Body Mass Index is weight in kilograms divided by height in metres squared. That is the whole calculation. It was devised in the 1830s by the Belgian statistician Adolphe Quetelet, who was explicitly describing populations rather than assessing individuals — a distinction that matters enormously and gets lost constantly.
- 3 min read
Percentage Calculator guide
Almost every percentage problem is one of four shapes. Knowing which one you are looking at is most of the work, because each has a different formula and mixing them up is where the wrong answers come from.