Find & Replace
Find and replace text in your browser. Plain text or JavaScript regex. Capture groups ($1, $2) are supported in the replacement.
Find every quick, swap for slow
Plain-text mode treats the find pattern literally — no escapes needed. Toggle regex to unlock capture groups and character classes.
The quick brown fox jumps over the lazy dog. The quick brown cat jumps too.
The slow brown fox jumps over the lazy dog. The slow brown cat jumps too.
What you'll use this for
From quick text edits to regex-powered transformations on tabular and structured data.
Bulk rename in text
Swap an outdated brand, function, or term across a long document in one shot.
Regex extraction
Use capture groups to pull just the parts you want — e.g. extract email domains with .+@(.+) → $1.
Snippet templating
Replace placeholders like {{name}} with real values before pasting into a script.
CSV column edit
Reformat a column by matching a regex against each row and rewriting with capture groups.
How to find and replace text
Paste your text
Drop the source text into the left editor.
Enter find and replace strings
Type what to look for and what to replace it with. Toggle regex if you need patterns.
Pick options
Case-sensitive matches case exactly. Replace all swaps every occurrence; turn it off for just the first.
Copy or download
Copy to clipboard or save as replaced.txt. The Replacements stat shows how many swaps happened.
Frequently asked questions
The browser's native RegExp engine — ECMAScript-flavour regular expressions. That covers character classes, alternation, capture groups, lookaheads, and Unicode property classes via \p{...}.
Yes. Use $1, $2, etc. for numbered groups, and $& for the entire match. For named groups (?<name>…), reference them as $<name>.
Yes. No signup, no limits, no ads. Runs entirely in your browser.
By default . does not match newlines, and the multi-line flag is not exposed in this UI. To match across lines, write your regex with the [\s\S] idiom in place of ..
Not automatically. Run a second find/replace with the find and replace strings swapped — though if your first replacement created new matches, the result won't be a perfect reverse.
About find & replace
Find and replace is the textual equivalent of search and destroy: locate every (or just the first) occurrence of a pattern, swap it for new text, and report how many replacements happened. This tool runs entirely client-side using the browser's RegExp engine.
Plain vs regex
- Plain — the find string is treated literally. Special characters like
.,*, or?have no special meaning and are matched exactly. - Regex — the find string is compiled as a JavaScript regular expression. Use character classes, quantifiers, anchors, and capture groups.
Replacement tokens (regex mode)
$1,$2… — capture-group back-references.$&— the entire matched substring.$`/$'— text before / after the match.$$— a literal dollar sign.