in reply to Re^7: Negating a regexp
in thread Negating a regexp
Typically it can cover more than one line, however I can easily modify your example myself to accomodate this. In terms of looking to achieve this with a single substitution command, I think this isnt the approach to take - a little code as per your example is the way to handle it.
Many thanks for the options explored throughout.