Remove and recreate just current entities to clean things up

As a result of my learning curve and HA development, I now have a working system but reviewing the entities, I have many that are either no longer used…or multiples created by node-red or integrations with things like iphone-1, iphone-2…and I am up to phone-5.

Is there a way to reset or remove all current entities and have them recreated so I don’t have all those extras…and I get rid of those -1’s, etc? I know I’ll have to adjust scripts and automations…I’m willing to do that once, just to clean things up.