Remove/change Z groups

This may be quite obvious, but how can I change Z groups to R groups or simply delete?

Thanks,
Matt