Hi
You can use a regular expression like this.
(^?*\bhello\b?*\bgood\b*?*$)|(^?*\bgood\b?*\bhello\b?*$)
This is a slickedit regular expression. The | is an or operator so it matches lines that have hello before good or good before hello. \b matches at a word boundary. If \b doesn't quite work for you you can replace it with e.g. [~A-Za-z0-9_]* which matches zero or more characters that are not alphanumeric or underscore. See the tools menu for "regex evaluator" to test a regular expression and see the help for regex details.
A slightly easier way is to search for all occurrences of remove, then right click in the search results and use "filter search results" to narrow down what you're searching for, however, you can't get "whole word only" with the filter thing unless you use a regular expression there.
Graeme