Get ONLY sockets not Bones (alt remove bones from name array)?

I’m stumped on how to do this.

Any help appreciated. I think I found solutions by using C++ but I hoped that it wouldn’t be necessary.

To clarify what I want to do is use the node that gets Socket Names (This actually returns by design all the bone names as well) and then iterate some logic on there. At this moment I’m attaching meshes to the sockets, I require this to be dynamic so it can work on all sockets created on the character.

If it was a specific name I know I could get that. That is not my issue.

Hope that is clear enough. Thank you for your time!