Install elpa-visual-regexp by entering the following commands in the terminal:
sudo apt update sudo apt install elpa-visual-regexp
Description:
in-buffer visual feedback while using Emacs regexps
visual-regexp for Emacs is like `replace-regexp`, but with live visual feedback directly in the buffer. . While constructing the regexp in the minibuffer, you get live visual feedback for the matches, including group matches. While constructing the replacement in the minibuffer, you get live visual feedback for the replacements. . It can be used to replace all matches in one go (like `replace-regexp`), or a decision can be made on each match (like `query-replace-regexp`).
Homepage: https://github.com/benma/visual-regexp.el/
Version: 1.1.1-1
Section: universe/lisp