in reply to Re: Parsing text file question
in thread Parsing text file question

This also excludes lines that have "fail" in them, which is not specified in the OP. Remove the "next" phrase from the "pop" line and I think you've got it.