Disclaimer: I'm still trying to learn elisp so I have not gotten yet to the RegExp section of the Elisp intro or Emacs manual.
I would like to know how to search and replace an HTML buffer that has elements with any number of attributes with my desired string (that to be filled by me). Basically, I need help building the RegExp that would match all the attributes that look like attr="[whatever string"
nxml-mode
? See the Emacs manual, here. Hopefully, there will already be a way to search for XML attributes. (Regexps are not particularly well suited for this kind of search, I think.)mc/mark-all-dwim
thenweb-mode-attribute-kill
but that would be too slow and freeze up Emacs.