Renaming a product in a long document, without breaking other words
Say your company renamed a product from "Cat" to "Dog", and a 20-page help document mentions it everywhere. A careless replace-all would also change "category" to "dogegory" and "Catalan" to "Dogalan". This tool shows you how many replacements it made, so you can see when a search is catching more than you meant before you copy anything.
Start simple. With the text "Cat cat CAT", finding "cat" and replacing with "dog" gives "dog dog dog" and the count reads "3 matches replaced", because case is ignored by default. Tick Match case and only the middle one changes. Now try the text "cat category bobcat cat." with Whole words only ticked: you get "dog category bobcat dog.", and the two words that only contain "cat" are left alone.
Regular expressions handle jobs that plain text cannot. A list of names written "Lovelace, Ada" on each line can be turned into "Ada Lovelace" with one search. Tick Regular expression, find ^(\w+), (\w+)$ and replace with $2 $1. The ^ and $ anchor the pattern to each line, the two groups capture the surname and the first name, and the replacement writes them back in the other order.
Regular expressions can also go badly wrong. A pattern such as (a+)+$ looks harmless, but on a long line of a letters that ends in something else, the engine tries every way of splitting the run before it gives up, and the number of ways doubles with each letter. In a normal page that would freeze the tab. Here the search runs in a separate worker with a 2 second limit, and the page tells you when it stopped one, along with a warning before you run a pattern of that shape.
There are limits. The tool works on plain text, so pasting from a word processor loses bold, links and other formatting, and the result is plain text too. In regex mode, a dot does not match a line break, and \b only knows the letters A to Z. Very large texts, above 5,000,000 characters, are refused so the result box stays usable. And there is no undo inside the result: keep your original in the top box until you are happy with what you copy.