OCR extraction for unknown number of elements to be extracted

Hello, I would like to extract data from pdf customer orders. As these will come from different customers the pdfs might have different quality so I selected Tesseract OCR which works well for extracting order number, date and so on. But: Each order will have a different number of items ordered. So I don’t know in advance how many elements have to be extracted. How can I proceed for automation? P.S.: I’m a RPA beginner so I would be happy if I don’t have to use too complex functions.