Finds and replaces words or phrases across large blocks of text.
Input
Find: cat / Replace: dog / Text: The cat sat near the catalog.
Output
The dog sat near the catalog. (whole word only prevents catalog from changing)
Input
Find: \d+ (regex) / Replace: # / Text: Room 12 and Room 304
Output
Room # and Room #
Find and replace swaps every occurrence of one piece of text for another across a whole document in a single pass. It's one of the oldest tricks in text editing and still one of the most useful because doing the same swap by hand across a long document is slow and it's easy to miss one.
This version runs case-insensitively by default meaning Cat and cat are treated as the same word unless you switch on case-sensitive matching. Whole word only stops a search for cat from also catching catalog or concatenate which matters a lot when the thing you're searching for happens to also be a fragment of other words.
Regex mode opens things up for anyone comfortable with patterns rather than literal text. You could search for any run of digits any email-looking string or anything matching a pattern you define, and the replacement text gets dropped in everywhere that pattern is found. I'll admit regex syntax trips me up occasionally too, which is why an invalid pattern here shows a plain error message instead of silently failing or crashing the page.
The replacement count updates as you type so you get instant confirmation of how many swaps actually happened, which is handy for catching a typo in your search term before it does nothing at all. Everything runs locally in your browser so pasting in a draft contract or a chunk of source code to clean up stays private the whole time.
More Text Tools