I am doing an automation and I have to get the text from a scanned pdf and from everything obtained I need to search for a specific word and show what is before that word.
Can anybody help me please.
For example, I have a text that says “Read our forum FAQ”, I need it to bring me everything that goes before “frequent”.
You can use the UiPath.PDF.Activities Package for this
Use Read PDF With OCR to get the text from scanned PDF. You can use Tesseract OCR or one of you choice then use substring method to extract the information that you need