reftex-query-replace-document
reftex-query-replace-document is an interactive autoloaded compiled Lisp function in `reftex-global.el
'.
(reftex-query-replace-document &optional FROM TO DELIMITED)
Do `query-replace-regexp' of FROM with TO over the entire document.
Third arg DELIMITED (prefix arg) means replace only word-delimited matches.
If you exit (C-g, RET or q), you can resume the query replace
with the command M-x tags-loop-continue.
No active TAGS table is required.