Regular Expression. How to take only the firts match

Hello, i have this Regular Expression:

([0-9A-Z\W](,)).(?=,)

and i have to take the firts match into a variable

This is the example:(Rhe text is dynamic but with the same format)

Thanks a lot for the help

If you are using the Matches activity, which outputs an IEnumerable you can get the first match in a string variable by using an assign activity to do the following:

yourString=regexResult(0).toString

5 Likes

Thanks body

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