>I have a text file in the format 
>
>Full name      [EMAIL PROTECTED]
>
>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/\([EMAIL PROTECTED]) \([EMAIL PROTECTED])/\1/

-- 
http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

Reply via email to