In this example I made a function in python that receives a text read from a pdf as input and performs various regex to retrieve information using key words like Vendor, "tax amount", "Date", etc to ...