Hi,
While extracting account number from my PDF, in my regular expression I am looking for Contract No. or Account No. because some PDFs do not have Account No. instead they have Contract No. I notice some of the PDFS have both Contract No. and Account No.
How do I create a regular expression to extract Account No. if it exists, If it does not exist extract Contact No. Is using if condition only the way?