The Regex result of matches will be splitted in several elements

Hi Folks,

I would like extract a 8-digit order number without leading zeros from a text, with the regex [1-9]\d.
That works fine in the simulation dialog. But when I loop the result it is splitted 4 items and each has
two digits of the number. Why will the number be splitted? I need it in a single string.

Thanks in advance.

Daniel

1 Like

Hi buddy @swimlane72

Welcome to UiPath Community…Thats a good question to start with

Buddy use the match like this buddy
“[1-9]+”

this would work buddy


Cheers

1 Like

@swimlane72
Is that working buddy
if so Kindly close this thread with right comment marked as solution that could help others looking for ideas under your topic

Cheers…

1 Like

Hi Palaniyappan,

it works just perfect. Thanks a lot, especalliy for the quick
answer. After trying diffrent options I got tiered and went
to bed, so sorry for the late reply.

cheers

swimlane72

1 Like

No worries buddy

Cheers… keep going

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