I have a large log file that contains email addresses mixed in with some other content. Each line contains an email address as well as some other text, like:
I can match the email addresses in vim but I'd like to remove all the content that doesn't match an email address, leaving me with a single address per line. How can I do that with a regex search?