Hi Everyone,
Have a requirement where I need to extract part number from an website
But here the catch is I need to vomit alphabets and take numbers only
Ex: AJ34717
Output :34717
Hi Everyone,
Have a requirement where I need to extract part number from an website
But here the catch is I need to vomit alphabets and take numbers only
Ex: AJ34717
Output :34717
Hi @tester9081
Check out the expression
System.text.regularexpressions.Matches(your input var,“([0-9]+)”)
Welcome @tester9081 to the UiPath Community Forum
Try this:
System.text.regularexpressions.regex.match(yourStr,“\d+”).ToString
Preview the regex pattern here:
Cheers
Steve
Thanks @nikhil.girish @Steven_McKeering
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.