Find & Replace Text
Working capture groups, Unicode whole-word, preserve case and live preview — private in your browser.
Find & Replace Text — With the Accuracy Others Miss
Renaming a product across 500 lines of content. Fixing a misspelled name in a whole document. Swapping old URLs for new ones. Reformatting every date in a CSV. Find and Replace is the fastest way to make consistent changes across large blocks of text — if the tool actually gets the details right.
This one does. Regex capture groups genuinely work — search (\w+)@(\w+), replace with $2 at $1, and the groups expand (many online tools insert the literal text “$1” instead). Whole-word matching is Unicode-safe and still works for awkward terms like C++ or .env. Add Preserve case (cat→dog also turns Cat→Dog and CAT→DOG), literal / wildcard / regex modes, a live highlighted preview with a numbered match list, bulk multi-rule replacement, and undo. No signup, no cost.
How to Find and Replace Text
1. Paste or Import
Paste content from documents, spreadsheets or code — or import a .txt, .csv, .md, .json or .log file. Nothing is uploaded.
2. Enter What to Find
Pick Literal, Wildcard (* and ?) or Regex mode. Matches highlight live as you type, with a match count and a line:column list.
3. Tune the Options
Case sensitive, whole word, preserve case, first-match-only, \n and \t escapes, plus multiline and dot-matches-newline for regex.
4. Replace, Copy or Undo
Review the result, then replace, copy, download as .txt, or apply it back to the input to chain edits. Undo restores the previous text.
Advanced Find and Replace Features
Real Regex Capture Groups
Use $1, $2, $&, named groups $<name> and $$ in the replacement. Reformat dates, swap name orders, restructure CSV fields — it all expands correctly.
Unicode Whole-Word
“cat” won't match “category”. Accented words like café match correctly, and terms with punctuation (C++, .env) still work — and Whole Word can be combined with a regex without breaking it.
Preserve Case
One pass handles every casing: replacing cat with dog turns cat→dog, Cat→Dog and CAT→DOG automatically instead of forcing one exact replacement everywhere.
Live Highlighted Preview
Matches are highlighted as you type, with a live count, the number of affected lines, and a list of every match by line:column showing exactly what it becomes.
Bulk Multi-Rule Replace
Turn on Bulk mode to run many Find/Replace rules in order, each applied to the result of the last — with a per-rule count. Ideal for glossaries and bulk renames.
Never Freezes, Private & Free
A runaway regex is stopped instead of hanging your browser, zero-length patterns can't loop forever, and nothing leaves your device. No signup needed.
Find & Replace — FAQs
(\d{4})-(\d{2})-(\d{2}) and replace with $3/$2/$1 to turn 2024-01-31 into 31/01/2024. $& (the whole match), named groups $<name> and $$ (a literal $) are supported. In Literal and Wildcard modes the $ character stays literal, so prices like “$5” are never mangled.\d+ keeps behaving as a regex and your capture-group numbering is unchanged. Whole Word also handles accented words (café) and terms that begin or end with punctuation such as C++ or .env, where a plain \b boundary would fail.(a+)+b) are stopped and reported while your browser stays responsive. Zero-length patterns are guarded against infinite loops, and match counts are capped.