Extract email data from pdf file content in Ui path

I want to extract Email from the pdf type resume in ui path,
i used
Read PDF Text activity to read pdf file
with the result string i am trying to extract email data , can anyone help me how to do this?

if it is possible can you share the sample data of pdf? @Vasundhara_Pakkurthi

well you can pass the output of Read PDF text output variable to Matches Activity and use this pattern to get email ID ([a-zA-Z0-9._%-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,6}) and get the output

Hi Vasundhara_Pakkurthi,

Please try using the attached xaml file.
pdf.xaml (9.9 KB)

Resumeabhiram.pdf (23.1 KB)

i tried using Matches activity , when i try to print the email data it is not displaying Email value

is your EmailValue is your output of Matches Activity?
then use like this emailValue(0).ToString

@Vasundhara_Pakkurthi cheers

Yes working thanks for the support

1 Like

cheers @Vasundhara_Pakkurthi close this thread by marking it as a solution