Preview before applying
Use live preview and highlighting to confirm every match before replacing the original input.
\bword\b finds word but not sword.cat|dog finds either cat or dog.[ \t]{2,}, replace with one space.([^,]+),\s*(.+), replace with $2 $1.$1, $2, and later groups from your pattern.Tip: Ctrl/Cmd + K focuses the text box. Ctrl/Cmd + Enter repeats the last replace.
Need to swap one word for another, fix a repeated typo, or clean a long list of items quickly? This text replacement tool gives you a simple, browser-based way to find specific words or phrases and replace them with new text in seconds. Your original stays unchanged until you explicitly choose to replace the input with the result.
Think of text replacement as a smart search that can rewrite what it finds. You tell the tool what to look for (the “Find Text”) and what to insert instead (the “Replace With”). The tool scans your original text, locates matching characters, and swaps them based on your chosen option. If you leave the replacement field empty, the tool simply removes the found text. This makes it useful for deleting unwanted words, extra punctuation, or stray characters.
$1 and $2.Writers fix repeated spelling mistakes or swap names in drafts. Teachers and students clean up assignments by replacing outdated terms. Marketers update product names in newsletters. Data teams adjust lists before importing into spreadsheets or CRM tools. Developers tidy configuration files and placeholder text.
Use live preview and highlighting to confirm every match before replacing the original input.
Searching for in without whole-word matching can affect words like mint or inside.
Leaving the replacement blank deletes matches from the result. Check the count so you know how many removals happened.
If regex is on, characters like ., *, ?, and parentheses have special meaning.
Regex captures can reorder text, such as changing Doe, John into John Doe with $2 $1.
| Task | Find | Replace with |
|---|---|---|
| Fix a repeated typo | recieve | receive |
| Replace commas with new lines | ,\s* with Regex on | a line break |
| Remove duplicate spaces | [ \t]{2,} with Regex on | one space |
| Swap name order | ([^,]+),\s*(.+) with Regex on | $2 $1 |
Paste your original text, enter the text to find, type the replacement value, choose any options, then review and copy the result.
Yes. Leave the replacement field empty and the tool removes each match from the result.
No. The replacement runs in your browser, so your text is not uploaded to a server.
When case sensitive is enabled, uppercase and lowercase letters must match exactly. When it is off, Apple and apple can match the same search.
Whole-word matching avoids replacements inside longer words, so searching for in does not change mint or inside.
Yes. Turn on Regex to use JavaScript regular expressions and replacement groups such as $1 and $2.
Turn on Regex and search for \n to match line breaks or \t to match tabs. You can also paste a line break directly into the replacement field.
Regex patterns can fail when brackets, slashes, or groups are incomplete. Check the status message, escape literal special characters, or turn Regex off for plain text search.