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

@niranjan.kodakandla

Please try this

[\d\.,]+

Cheers

You can try this

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

@niranjan.kodakandla

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