Raja.G
(Mr.RPABot)
December 21, 2022, 9:22am
1
Hi Team,
I have alphanumeric and number details but i want to pick only numeric if alphanumeric present should avoid pick only numeric please help me anyone for this.
Number digit count is 11, that is static only
Input:
jsdhjshvf hfkjdl23445 jsvbjfbv
jdgscsdh 12345654567 jhdvsbjsfv
Output:
12345654567
Regards,
Raja G
Yoichi
(Yoichi)
December 21, 2022, 9:28am
2
Hi,
Can you try the following expression?
System.Text.RegularExpressions.Regex.Match(yourString,"\b\d+\b").Value
Regards,
1 Like
HI @Raja.G
Checkout this expression
System.Text.Regex.RegularExpression.Match(YourString,"(?<=\S\s)\d+(?=\s\S)").Tostring
Regards
Sudharsan
1 Like
Raja.G
(Mr.RPABot)
December 21, 2022, 9:34am
4
Hi @Sudharsan_Ka and @Yoichi ,
Thanks guys , working fine
1 Like
system
(system)
Closed
December 24, 2022, 9:35am
5
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.