Hi All,
I need to extract “5000001305” from below text
Material document 5000001305 posted
Hi All,
I need to extract “5000001305” from below text
Material document 5000001305 posted
How about this Regular expression?
System.Text.RegularExpressions.Regex.Match(YourString,"(?<=document\s)\d+").Tostring
or
System.Text.RegularExpressions.Regex.Match(YourString,"\d+").Tostring
Regards
Gokul
Please try this
System.Text.RegularExpressions.Regex.Match(YourString,"\d+").Tostring
Cheers