I have to extract Buyer name from pdf

I have to extract data from pdf, have used Regex (?<=Buyer Name\n)(.*?(?=\n)) but this regex is not working. Please help me any one. Thank you…
PDF Text: Ex:
Buyer Name
Johney Johney, Yes Papa

try
Buyer Name[\s]+(.*?)\n

Hey! Welcome to community!

Try like this:

1.Create a string Variable->BuyerName

Assign BuyerName = System.Text.RegularExpressions.Regex.Match(PDFOutputVariable,"(?<=Buyer Name\s).*").ToString

Reference:

Regards,
NaNi

Thank you…
It is working fine for me now…

1 Like

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