in reply to Re^8: Ignoring lines in flat text file
in thread Ignoring lines in flat text file

None of those lines have 800, 866, 877 or 888 in positions 14-16. Do you mean 18-20? Even then, every single line in the desired output is different than the ones in the input, including the two that start with 2.