I need a grep command that will look for the word "Heartbeat" or the phrase "The far end". The problem Im having is there are two different strings that will contain the phrase "The far end". The difference is one contains the word LAPS and one contains the word DLEP. I need to be able to pull only the ones that contain the word LAPS.
So I need to grep any string with the word "Heartbeat" or any string that contains the phrase "The far end", but does not contain the word DLEP.
Thanks.