PDF Keyword search

Hello guys,

I am developing the bot to read set of pdfs to search for particular keyword in all PDFs. How can i search a keyword in PDF? so the I can loop the process for rest of the Pdfs? I am not very familiar trim and regex function in UIpath.
Thanks in advance!


We can use contains method
Like use READ PDF or READ PDF with OCR Activity and get the output with a variable of type string named str_input
—now use a IF condition like this
str_input.ToString.Contains(“your keyword”)
If true it will go to THEN apart where we can proceed with further activities

Cheers @Rita_Balmukund_Jaisw


@Rita_Balmukund_Jaisw it’s the easiest way to achieve what @Palaniyappan has mentioned.

1 Like

Thanks @Palaniyappan:slight_smile: This is working

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.