How to separate out Users and Group which are part of one Main Group in ER

Hi @all,

Is there an easy way to separate out users and groups from a Main Group in an expression rule. 

Below are the users and groups coming from a group itself. I want to separate out users from this list and wants to store it.

Looking forward for your support, Thank you in advance!

  Discussion posts and replies are publicly visible