Is there a script that will replace a shape with another shape?

 From:  Matadem
11945.8 
Good day.
no the array was just as an example ..they are all over the place.
Tnx!