Regular expression to get only numbers from string

@Sarah_Tang

Check below for your reference as an alternative

Do a Replace as StringVariable.Replace(“,”,“”)

Now use below
system.Text.RegularExpressions.Regex.Match(ColumnData,"\d+")

Hope this may help you

Thanks

2 Likes