How to extract particular values from pdf file data

Hi @mukeshsmart78

Try this

Value1 = System.Text.RegularExpressions.Regex.Matches(Input,"((?<=Base Amts :)([ \d,.]+)(?=.*\s*Correct))").First.ToString.Trim
Value2 = System.Text.RegularExpressions.Regex.Matches(Input,"((?<=Base Amts :)([ \d,.]+)(?=.*\s*Correct))").Last.ToString.Trim

Output:

The image shows an output log from a software process, with 'Value1' set to 116,209,130.35 and 'Value2' set to 0.00. (Captioned by AI)

Regards,