I have a text file in the format
Full name email@ddress
It's a pretty long list of names and I want to remove all the email addresses from the file. I basically want to be left with a file with only the names of the persons, one on each line.
You can try the following in vim. :0,$ s/(.*[^@].*) (.*@.*)/\1/