I am doing some cleanup and I need to remove some items from all groups, but sometimes I don't know what the group is. ie

I don't know what group 'R' refers to. I can guess, but there are several groups with this identifier. What I can do is look at them and match the color, then see if the item is in the group with 'R' and the same color green.
Is there a better way to do this?
Thank you,
Randy McGregor