Regex to extract nth item from CSV string and save it to a string variable

Hi,

If we use regex101 for UiPath, it’s better to set C# at flavor as the following image.
And the following pattern will work for your requirement.

(?<=^([^,]+,){5})[^,]*

Regards,

2 Likes