From the course: UiPath Studio Essential Training

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Using PDF Activities

Using PDF Activities

- [Instructor] Let's have a quick example on how to extract text from PDF. I have here a PDF and it is a digital PDF, and I want to read the total. Okay, so I need to read this number, total. How can I do it using UiPath? Let's close this and go back to UiPath. And we have this activity Read PDF Text. And what this activity do is just take the file that I want to read and read it all and save it in a string variable. So I will indicate the file I want to read it, this is the file, and here some properties related to the file. If this file password protected or if you want to read a specific page or range of pages, in our case, I will select all, I need to read all pages and the output, it will extract the text from this PDF and save it in a variable. Let's create a new variable and I will call it pdftext. So now we have in variables pdftext and it contains all the sentences and characters inside this PDF, but this is not what I want. I just want to get the total number, not the whole…

Contents