Find and Replace
Instantly find and replace text in any block of content. Supports regex, case-insensitive matching and whole-word mode. Runs entirely in your browser.
Find and Replace Text Online
Whether you are editing a CSV export, cleaning up copied prose, or preparing source code snippets, a fast find and replace tool removes the friction of opening a full editor for a quick substitution. Paste your content, type what you want to find, type the replacement, and the result appears instantly — no page reloads, no installs.
Four ways to match
- Plain text — the default. Special regex characters are treated literally, so
searching for
$100matches a dollar sign followed by "100", not an end-of-line anchor. - Case-insensitive — matches regardless of capitalisation, so "Apple", "apple" and "APPLE" all count as one pattern.
- Whole word — wraps the term in word boundaries (
) so partial matches inside longer words are skipped. - Regular expression — unlocks full JavaScript regex syntax for power users. Combine with the case-insensitive flag for flexible pattern matching.
How replacements are counted
Each non-overlapping match in the source text is counted separately. The replacement count shown below the output tells you exactly how many substitutions were made, which is useful for auditing bulk edits. A count of zero with the text unchanged means either nothing matched or your regex pattern was invalid — check the pattern syntax if you expected matches.
Privacy
Everything runs client-side in your browser. No text is transmitted to any server or logged anywhere, so you can safely use this tool with sensitive or proprietary content.
Frequently Asked Questions
Can I use regular expressions with this tool?↓
Yes. Enable the "Regex" toggle and type any valid JavaScript regular expression as the search pattern — for example <code>\d+</code> to match sequences of digits. If the pattern is invalid the tool leaves your text unchanged and shows a zero replacement count so you know something went wrong.
What does "Whole word" mode do?↓
Whole-word mode wraps your search term in word boundaries (<code>\b</code>) so that searching for "cat" will match the standalone word "cat" but not "cats", "concatenate", or "scat". It works in both plain-string mode and regex mode.
Is my text sent to a server?↓
No. All processing happens locally in your browser using JavaScript. Your text never leaves your device, making this safe for confidential documents, source code or personal notes.