# swap one material with another

is there a way to swap a material with another?

lets say I have materials yellow, and gold, what I want is, to replace the material yellow, with the material gold, so all the objects that have the material yellow on it, to have the material gold instead.

In other words, material yellow to become material gold, and delete material yellow.