I think what you are looking for is a TextExtractor class. You can check it’s interface here. Example of it’s usage can be found in sample projects that come with PDFNet.
TextExtractor can extract text line by line. Perhaps you can use TextSearch then find the matching lines via TextExtractor?