Want to extract type one pdf data

I have requirement based on font size get and line break get the text. So i want this type of pdf extract data.


Not this type of pdf

Hi there,

Could you be more specific as to what exactly you need from the first two images and what you mean by the third image not being the type you want to extract?