I would like to edit some text before dumping it into the Vim buffer.
I retrieve the content of a webpage with :r! w3m -dump someurl.com.
I would like to delete everything in the returned text from the beginning until the word "table of contents", including that word.
How can I send the output of the
:r! to an
:s command (or similar) so that I can match and delete this pattern in one line of code?