How to get all digits by specific pattern by using regex?

I have issue with Find Matching Expression ( regex ) in UiPath
you can clone this text for testing

Blockquote
“INVOICE NUMBER HERE 66707001210129726 I USE THIS ONE
SERIAL NUMBER HERE 66707001210129759 I TEST THE ONE”
Blockquote

Detail of code here

Detail on regex function here

as you see i need to extract all numbers only matches pattern with 17digits come out.

i need something output this this 66707001210129726, 66707001210129759 how can i deal with it?

for now after i logging by using writeline activities the pattern matching is ok but the result is showing only first one of text. so , i need them all.

this is output from my code
image

(rs6 datatype is string)

Thanks,
Rugpong

Hi,

How about the following?

Sequence1.xaml (6.8 KB)

Regards,

1 Like

thank you for you supporting excellent solution for this case by the way for other who got this problem same as me the one thing important for this case is define the datatype i capture something need to do here.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.