I want to copy the number inside the red rectangle in the picture, how can I do that? I can get all the content with the Read PDF Text activity, but I can’t get the part I want.
Use read pdf text activity.
Use regex or String manipulations to get the data inside the red rectangle.
Use Read PDF Text or Read PDF with OCR activity to read the PDF.
Note: Download UiPath.PDF.Activtites to use these and use can use Tesseract OCR in Read PDF with OCR for better results.
Store it an text file and use Regular expressions to extract the total value.
Hope it helps!!
Can you provide me the extracted data file so that I will give you the regex expression
Hi @tolgademir ,
Read PDF Text activity with
PreserveFormat property set to
True and get the text data.
We can then apply a Regex Expression to get the value required.
(?<=FATURA TOPLAM TUTARI.*)[\d.,]+
System.Text.RegularExpressions.Regex.Match(yourExtractedInputString,"(?<=FATURA TOPLAM TUTARI.*)[\d.,]+").Value
Check with the above Expression and let us know if it doesn’t work also providing the sample data if possible.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.