prajakta
(prajakta)
October 10, 2017, 12:20pm
1
Hello There,
If anyone know how can I compare text from pdf with text which I already have?
for example, I want to check if invoice number in pdf is same as what I am looking for.
Or some lines mentioned in pdf are equal to my hardcoded line?
Please post your response soon.
Thanks,
Prajakta
andr3y26
(Andrei Cenusa)
October 10, 2017, 12:25pm
2
Hello @prajakta ,
Use read pdf text activity to get the text from the pdf. Then use the matches activity with regex to see if there was any match. Hope it helps
Regards
prajakta
(prajakta)
October 10, 2017, 12:30pm
3
Thank you for very quick solution.how to use regex you have idea?As I am not from programming so difficult to understand
andr3y26
(Andrei Cenusa)
October 10, 2017, 12:34pm
4
Here is a simple example
Main.xaml (10.4 KB)
1 Like
prajakta
(prajakta)
October 10, 2017, 12:39pm
5
Thank you again.
first time i am using this forum when i click on example to download it gives me page with code.how should i run in my uipath?
please bear with me
Hello!
Right Click and select “Save as” on the download link.
Uipath team are already working to solve this issue
Regards,
1 Like
prajakta
(prajakta)
October 10, 2017, 12:52pm
7
Thank you @ andr3y26 and @ Lucas.Pimenta it works
2 Likes