About Find and Replace Text
Find and replace text in bulk when one change isn't enough: rename a product across a whole price list, swap old placeholders in a template, fix a name that's misspelled five different ways, or tidy up exported data before it goes into a spreadsheet. Add as many rules as you need. They run from top to bottom, and the result and the number of replacements update as you type.
Matching ignores capitals unless you tick Match case, and Whole words stops cat from changing inside category. Turn on Regular expressions for patterns, such as \d{4} for any four digits, and reuse captured groups in the replacement with $1, $2 and so on. It all runs in your browser, so documents never leave your device.
How to use Find and Replace Text
- 1Paste your text
Paste into Input or open a text file.
- 2Add find and replace rules
Fill in Find and Replace with. Click Add a rule to find and replace text in several ways at once.
- 3Choose matching options
Tick Match case, Whole words or Regular expressions as needed.
- 4Copy the result
Check the replacement count, then click Copy or Save.
Why use Cubfile for this
- Multiple rules in one pass
Chain as many find and replace pairs as you like, applied in order.
- Whole-word matching
Replace a word without touching longer words that contain it.
- Regular expressions
JavaScript regex with $1-style group references in the replacement.
- Live count
See how many replacements were made before you copy anything.