Regex to get only numbers.?

I am new to Rpa and learning regex

So how can get only the number

Input data = “abcedefg8900ghhs”

As i required out as - 8900

How can i get this.?

HI
welcome @Sagar_Sukla

you can use this regex expression you will get the output : 8900

System.Text.RegularExpressions.Regex.Match(str_Input,“[0-9]+”).Value

for your reference :
image

1 Like

It’s worked for me brother

Thanks

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