Blue Prism and regex


Today I use a business object called id.Regex to extract desired text. It works as it should, the only drawback is that it outputs a collection. I guess the reason is due to the possibility that it may find several matches. But in other business objects I have experienced that it takes the first, and the first only. They way i cope with it today is to make a calculation stage that stores the variable in a data item. Is it possible to store the regex match in a data item?