Matches not Grouping RegEx as required

Hi,

I am using regex to extract data out of a string.
The regex works perfectly, creating the correct Grouping structure as required when testing on regex101.com.
When implemented in UiPath, using the Matches activity or System.Text.RegularExpressions.Regex.Matches, the Grouping is incorrect.

Link to code on regex101: regex101: build, test, and debug regex
(Please note the Matches and 3 Groups in each Match - this is what is required)

Attached is what the output is from UiPath Matches activity.
Code is attached as well.

Final result of the extraction needs to be with proper grouping as on regex101.com.

Thank you for your help!
parseTest.xaml (18.2 KB)
regExOutput.txt (7.7 KB)

Hi,

Your expression seems no problem. Can you share your problem in detail?

Sample20220715-3CSnet.zip (5.4 KB)

Regards,

2 Likes

Hi Yoichi - not sure what happened, but the code that you sent worked as expected.
Not sure what the difference is, but nonetheless it is resolved - thank you!

1 Like

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