1,2,3,abc 2,3,4,def 3,4,5,abc 3,4,2,def 6,7,9,abc.
I need to read that file and get the lines of file containing abc.
Sounds enough? Or to be sure it finishes with abc:
(in this case the last one in your example won't match due to the full stop at the end)