Debugging a regex to strip the node group name from the ID string