New answers tagged

2

Try this. Enter an empty regexp interactively to stop adding regexp/replacement pairs, and start replacements. (defun query-multi-replace-regexp (&rest pairs) "Query replace for each regexp and replacement string in PAIRS." (interactive (let (pairs regexp replacement) (while (and (setq regexp (read-regexp "Query replace regexp&...


Top 50 recent answers are included