PDF particular data

I have a pdf, i have read the pdf through read pdf text so it us giving whole data so i want to get the particular data from the pdf. So how can we do it with the help of regex.

@Ak_4

Without knowing the text what you want to extract and from which text it’s difficult to tell
you can share some sample to see and give you suggestions

Thanks,
Srini

For ex :-

Name of candidate
Phone no.
Country Roll no.

I want country from pdf

@Ak_4

Check below for your reference

Thanks,
Srini

Hi @Ak_4

Check it out the attached playlist once to learn how to use regex.

Regards,

Use regex101 to built ur regex

Hi @Ak_4

Use the Read PDF Text activity to read the text from the PDF file and store it in a string variable and then create a regular expression pattern that matches the specific data you want to extract from the PDF.

For example, if you want to extract a phone number that is formatted as (123) 456-7890, you could use the pattern \(\d{3}\) \d{3}-\d{4}.

Thanks!!

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