Need Regex to extract only Numbers

“Paper -rolls 567 stuffed” - String 1
“Paper 5,678 stuffed” - String 2

From the above string i need regex exp to extract the number or
need expression to extract only number


Please try this



You can try this

Str_input = your text
system.Text.RegularExpeession.Regex.Match(str_input, “[0-9,]+”).value.trim


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