How to use the find and replace tool
It works like the find and replace box of a word processor, without opening a document. There is no Replace button: the result refreshes whenever you change any box.
- Paste your text into the Input box. It can be a sentence, a list, a data export or a block of code.
- Type what you are looking for in the Find field.
- Type the new text in Replace with. Leave it empty to delete every match.
- Tick Case sensitive, Whole words only or Regular expression if you need them.
- Read the result in the Modified text box. A note under it says how many replacements were made. Press Copy or Download .txt, or press Use as input to chain another replacement.
Your original stays in the Input box, so nothing is overwritten. With the text cat and cat, finding cat and replacing it with dog gives dog and dog and reports 2 replacements.