in reply to Re^2: search and extract lines which contain a wordin thread search and extract lines which contain a word
if /(gateway|TIMESTAMP)/
A paren around the collection of alternatives, a | between each alternative.