Do such things on a copy and not your main file. Such changes are usually done with painstaking exchanges, scripts and tools like WORDPIPE. I find most writers are not programmers and we know Word is a poor man's typesetter (if you write books you learn to use typesetting apps.)