Hello,
I have a string that contains numbers and words, I want to just get the number from that.
Input: 2 users
Output: 2
How would I do that?
Hi,
Can you try the following expression?
System.Text.RegularExpressions.Regex.Match(strData,"\d+").Value
Regards,
1 Like