How to use the Find and Replace tool
- Add your textPaste the text you want to change into the top box.
- Create rulesEnter what to find and its replacement; press “Add another rule” to run several replacements together.
- Set optionsMatch case, restrict to whole words, keep capitalisation, or enable regular expressions.
- Grab the resultEach rule reports how many replacements it made; copy or download the edited text.
Find and replace features
- Bulk replaceRun as many rules as you need in sequence, ideal for renaming several terms in one document.
- Whole-word modeChange “cat” while leaving “category” and “concatenate” untouched.
- Capitalisation keptOrder → Purchase and ORDER → PURCHASE are handled for you.
- Regex patternsUse regular expressions with capture groups ($1, $2) for advanced edits.
- Line breaks and tabsEnter \n for a new line or \t for a tab in either field.
When bulk find and replace helps
- Renaming: update a product, company or person’s name throughout a whole document.
- Fixing typos: correct a word you misspelled everywhere in one step.
- Cleaning data: turn semicolons into commas, strip stray characters or standardise date formats.
- Preparing text for code: wrap lines, swap quote marks or convert line breaks into commas.
- Filling templates: replace placeholders like {name} and {date} with real values.
The key options
- Match case only replaces text with identical capitals, so “Apple” changes but “apple” doesn’t.
- Whole words only skips matches buried inside longer words, so replacing “art” leaves “start” alone.
- Keep capitalization copies the capitals of whatever was found, turning Order into Purchase and ORDER into PURCHASE.
- \n and \t stand for a line break and a tab; replace “, ” with “\n” to put each list item on its own line.
Find and replace with regex
Enable regular expressions to match patterns rather than fixed words. Some practical examples:
\s+→ one space: squashes repeated spaces and line breaks.(\d{2})/(\d{2})/(\d{4})→$3-$2-$1: converts 31/12/2026 into 2026-12-31.^→-: puts a dash at the start of every line (^ and $ match each line).<[^>]+>→ nothing: removes simple HTML tags.
Rules run top to bottom, and every rule works on the output of the one before it. Try tricky patterns first in the Regex Tester, and check before and after with the Text Diff Checker.
Frequently asked questions
How can I replace a word throughout a text?+
Paste the text, enter the word under “Find” and the new word under “Replace with”. Every occurrence changes instantly.
Can several replacements run together?+
Yes. Press “Add another rule” for each one; the rules are applied from top to bottom.
How do I replace something with a line break?+
Enter \n in “Replace with” and make sure “\n = new line” is ticked.
Does it support regular expressions?+
Yes. Tick “Use regular expressions” for JavaScript regex syntax, including $1 and $2 for captured groups.
Is my text saved anywhere?+
No. It all happens in your browser and nothing is uploaded or stored.