Regex for money values

Hi all,

I am usign this assign activity: “System.Text.RegularExpressions.Regex.Match(file,”(?<=Importe solicitado a devolver )(\w+)“).ToString” to get an amount of a PDF. The problem is that in the amount is 609,39 and with regex I only get 609.

How can I do it to get the whole amount?

Many thanks:)

Angel

@Angel_Llull
give a try on following pattern:

(?<=Importe solicitado a devolver )(\d|\.|\,)*

grafik

2 Likes

Many thanks!!

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