Use Matches activity from UiPath.System.Activities package. Use this activity twice. Once with name regex and second time with number regex. The output of this activity is a collection(with all matches found), you can create a variable in the output property by pressing cntrl+k. Now you have names collection and numbers collection.
You can iterate through names collection using for each loop. There’s an option to store Index value in the for each loop properties. Inside the body, if name = Olive, then you can get number by that index. If Numbers is the collection variable name and Index is the index variable name, then you can get by Numbers(Index)
Inside the body, if name = Olive, then you can get number by that index. If Numbers is the collection variable name and Index is the index variable name, then you can get by Numbers(Index)