How to Extract data from different formats of pdf

Hi,i am trying to extract the specific data from pdf files but every pdf is in different format,like diffenrent invoices,i am able to get data from same format of pdf ,can anyone help me in this?
can i use Anchor base here,here tagged pdf=off.
Thanks in advance