I was wondering if I was missing there being a command or plugin that would remove a specific tag from a document or selection (if there was one).
For example, remove all SPAN tags, regardless of whether they had any attributes, or with specific attributes (span class="foo").
I have been doing something like this every time:
And would like to make that into a simple command, if one does not already exist. If it doesn't already exist, how does one make a command out of a set of find/replace parameters?