Your suggestion would find any matching item on a line by itself. It is not clear from the OP whether the file to be searched is laid out that way. If (as I suspect) it's paragraphs, then it would need to be broken down into words to be checked one-by-one, or they'd need to use your