Replace text with multiple rules at once — supports regex, case sensitivity, and whole-word matching.
🔒 Runs in your browser — your text never leaves this pageOnline find and replace is the browser-based equivalent of pressing Ctrl+H in Microsoft Word, Notepad, or VS Code — except it requires no software, works on any device, and lets you apply multiple substitution rules in a single pass. You type what you want to find, type what you want it replaced with, paste your text, and every match is swapped out instantly.
The most common scenario: you have a block of text — a CSV export, a template, an article draft, a code snippet — and you need to make systematic changes without opening a full editor. This tool handles that in seconds. Leave the "Replace with" field empty to delete all matches, or stack up to ten replacement rules to run a complete batch transformation in one go.
Beyond basic string replacement, the tool supports regular expressions (regex), case-sensitive matching, and whole-word-only matching — giving you the same power as a developer's text editor, accessible directly from your browser. Your text never leaves your browser — all processing is done locally in JavaScript.
The table below shows five practical scenarios, including a regex example for data reformatting.
| Find | Replace with | What it does |
|---|---|---|
| (\d{2})/(\d{2})/(\d{4}) | $3-$2-$1 | Reformat date MM/DD/YYYY → YYYY-DD-MM using regex capture groups (requires regex mode) |
| www. | (empty) | Strip the www. prefix from a list of domain names |
| , | | | Convert CSV comma separator to pipe-delimited format for import into another system |
| Collapse double spaces into single spaces — useful after copy-pasting from PDFs | ||
| [CLIENT NAME] | Acme Corp | Fill in a template placeholder — run across the entire document at once |
Enter your search term in the Find field, the replacement in the Replace with field, and paste your text into the input box. All matches are replaced automatically as you type. To apply multiple substitutions at once, click + Add another rule to add more find/replace pairs.
Regex (regular expressions) lets you match patterns instead of fixed strings. Enable the Use regex checkbox and write a pattern in the Find field. For example: \d+ matches any number, \s+ matches any whitespace, ^ matches the start of a line, (\w+) captures a word for use in the replacement with $1. Regex is powerful for reformatting structured data like dates, phone numbers, or log entries.
By default, every occurrence of the search term in the entire text is replaced — there is no "replace first only" option. The counter below the input box shows exactly how many replacements were made, so you can verify the result before copying.
With Whole word only enabled, the tool only matches the search term when it appears as a standalone word bounded by non-word characters. Searching for cat will match cat and cat. but not category or concatenate. This prevents accidental partial-word replacements when editing technical content or code.
Standard wildcard characters like * and ? are not supported outside of regex mode — they are treated as literal characters. To match variable patterns, enable Use regex. The regex equivalent of "any characters" is .* and "any single character" is ..
This tool is faster for plain-text transformations that do not involve formatting. Unlike Word's Ctrl+H, it lets you apply multiple rules simultaneously (so you can run 10 substitutions in a single pass), works on raw text from any source without opening a document, and runs entirely in your browser with no installation. Word is better when you need to preserve rich formatting like bold, headers, or tracked changes.