Extrat selected data from PDF

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