Try this 

%s/ \([EMAIL PROTECTED])//gc

or u can try vertical select control+V


----- Original Message ----- 
From: "Dr. Sharukh K. R. Pavri." <[EMAIL PROTECTED]>
To: "Lug Bom" <[EMAIL PROTECTED]>
Sent: Wednesday, December 10, 2003 6:00 PM
Subject: [ILUG-BOM] regexp query


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. 

I tried :s [EMAIL PROTECTED] //g    in vim but it did not work. It says
E59: invalid charcter after \@

how can I do this ?

thanks,

Sharukh.
-- 
Dr. Sharukh K. R. Pavri.
Mumbai, India.

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


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

Reply via email to