Hi,
I am trying to extract specific data from PDF. I have used ReadPDF activity and stored it in a text file.
- I want to extract “13-Oct-2022” and “12-Oct-2023” separately as two values.
- How to extract using Regex Builder in Uipath.
i have attached text file along with the screenshot here
pdftext.txt (5.1 KB)
Please help
Gokul001
(Gokul Balaji)
2
Hi @shruthi_arali
Try with this regex expression
System.Text.RegularExpressions.Regex.Match(YourString,"(?<=NOC\sValid\sFrom\s+)\S+").Tostring
Output -> 13-Oct-2022
System.Text.RegularExpressions.Regex.Match(YourString,"(?<=NOC\sValid\sTo\s+)\S+").Tostring
Output ->12-Oct-2023
Regards
Gokul
1 Like
Its working fine…
Thank you
1 Like
system
(system)
Closed
5
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.