is there a cli like grep replace or otherwise awk or sed that cane be used to make this change much faster and systematically?

then

grep the new pattern to double check it is implemented correctly.