Create logical presets to delete the CCs you want to replace.
insert those presets into a macro
add “paste at origin” at the end of the macro
If you don’t want to have the CC data at the same location but want it elsewhere, you’ll want to make the logical editors select the CC data first, insert those presets into the macro, then in the macro insert the command which moves the playhead to the beginning of selection, then you want to insert “delete” into the macro, then insert “paste”.
There’s probably a million ways you can set this up, so feel free to play around and try other people’s suggestions.