I want to read specific text from pdf . How should I read it

MicrosoftTeams-image (91)
MicrosoftTeams-image (90)

Output is blank

MicrosoftTeams-image (89)

This is pdf’s write line

@Bhushan_Nagaonkar ,

To avoid more confusion, Could you provide the text file that contains this data. Write the data to a text file. Remove the data previous to the Social security number line and just keep the part of data that we would need to perform the extraction.

Mask the Real Values with Dummy values and send it here.

This way we will have the format similar to the real data but the data values would be dummy.

Those are non editable parts of document. I believe they are image based.

@supermanPunch @vishal.kp can you help me regex expression if there are n number of pages in pdf how should get the output. The format of the text is different in every stage.

This are the supposed format.
MicrosoftTeams-image (83)

MicrosoftTeams-image (77)

I got the solution for this. Thankyou @vishal.kp @supermanPunch

1 Like

+d means digits … if u put + then all the digits will select

1 Like

Ok thankyou

Can you explain if there are multiple pages in the document. They page number can range from 1 to n. I want to get specific text from pdf which is there in every page How should I do it?

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