@quietphysicist using spaces before such substitutions is key. I normally use before and after and then search for the word without spaces to catch any weird edge cases.
@sfleetucker good points, and also run a spellchecker just in case (even though that doesn't always catch everything)
@quietphysicist strike that. Reverse it.