Extract numbers with regex

Hello!
Can you please tell me how to extract a regular number and a number with dots?
This regular expression removes extra dots: [\d,.\d*]+
any text 22222.6767567**…**

Hi @sereganator ,

Is this what you were looking for?
image

\d+\.\d+

To perform the extraction, this is the snippet which will help you->

System.Text.RegularExpressions.Regex.Match(str_variable,"\d+\.\d+").Value

Kind Regards,
Ashwin A.K

Thank you, but there may not be a point. How to be in this case?

the simple pattern:
grafik
[\d,.]+

1 Like

Then you can go with this->

\d+\.?\d+

image

Kind Regards,
Ashwin A.K

1 Like

Many thanks.

1 Like

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