I use a regex pattern to find matches. Sometimes I get one match and sometimes it matches many. So, whenever it matches too many I want the last match to be assigned to another variable.
I get the following error “Object reference not set to an instance of an object” in the second assign activity.