Data Extraction from a PDF

text
code

#1

Hello Team,

Can anyone tell me how can i extract a word which is in between two specified words from PDF.

Thanks in advance,
Regards,
Mamatha.


#2

Hello @MamathaG,

You can extract the whole PDF text and use substring function to extract middle word.

Substring ( PDFText , Index_Of_first_word + Length_Of_First_Word , Index_Of_Third_Word - ( Index_Of_first_word + Length_Of_First_Word))

Regards
Madhura


Data extraction from PDF
#3

Hi @Madhuraj,

Thanks for your reply. But please tell me where should i have to mention that substring function.
In my workflow i get that pdf using readPDF activity. Can you please explain the process indetail.

Regards,
Mamatha.


#4

Hello @MamathaG,

After reading PDF file, you will get a string object as output having the pdf text.

You can use substring activity or simply substring function in assign activity after that.

Regards
Madhura


#5

Hi @Madhuraj,

Thanks alot. Its working.


Read specific content in a closed PDF
#6

Hi,
i’m new to uipath
can you please give me some example expression how to write in uipath