BLOCKREPLACE searches the entire drawing for a specified block and replaces it with another block that you specify. You can have the unreferenced block purged when done.

Specify the block name to search for by selecting it in the list or by clicking the Pick button and selecting a block in the drawing:

Specify the replacement block: