Turn on Whole Word before you click Replace All. Then searching for cat changes the standalone word but leaves catalog alone. Without it, every “cat” inside a longer word is replaced too.

catalog untouched. Open Find & Replace.cat catalog cat.cat in Find and dog in Replace with. The badge shows 3 matches.dog catalog dog. and 2 replaced.
catalog became dogalog.The number next to Find updates as you type. Compare it with how many times you expect the word to appear. A count that is higher than expected usually means it is matching inside other words.
Matching ignores capitalization by default, so The Cat sat. also changes to The dog sat.. Click Case Sensitive if Cat should stay. The replacement is inserted exactly as you typed it; the tool does not copy the original capitalization.
Whole Word wraps your search in regex word boundaries (\b). A boundary sits between a letter, digit or underscore and anything else. That works for plain English words, but:
re with Whole Word matches the “re” in re-use.café in café cafés misses the standalone word and matches inside cafés. For such text, check every highlighted match or use a narrower phrase.\b to your pattern yourself.dog back with cat would also change any “dog” that was already in the text.The text stays in your browser. Open the free Find & Replace tool.