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.
I tried :s [a-z]@[a-z] //g in vim but it did not work. It says E59: invalid charcter after @
how can I do this ?
thanks,
Sharukh.