Hi Everyone,
I have to extract only number from a string. The string is provided below:
Abcde 123456 abcfjggh89
Number to extract - 123456
Please help me to achieve this.
Thankyou
Hi Everyone,
I have to extract only number from a string. The string is provided below:
Abcde 123456 abcfjggh89
Number to extract - 123456
Please help me to achieve this.
Thankyou
Assign -> Input = "Abcde 123456 abcfjggh89"
Assign -> Output = System.Text.RegularExpressions.Regex.Match(Input,"(?<=\w+\s+)\d+").Value.Trim()
Output
Regards
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.