hotpdf
hotpdf copied to clipboard
Allow regex patterns in HotPdf.find_text
I have a use case where I have output strings that look like:
"John William Doe01/01/1999Continuing Graduate"
But for an arbitrary name, date, and student type ("Continuing Graduate" vs "Continuing Undergraduate"). As of now, I can still extract this information, since I can look for the lines with either "Continuing Graduate" or "Continuing Undergraduate" and then parse the resulting extracted text on that line using a regex pattern, but it would be nice if I could directly search for that regex pattern instead. I think many users will benefit from this feature.