Make sure 'ignorecase' is off:

:set noignorecase

:%s/\<[a-z]\+\>//g

Salman. 

> -----Original Message-----
> From: William O'Higgins Witteman [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, July 25, 2006 4:24 PM
> To: vim
> Subject: Matching non-capitalized words?
> 
> How would I match (and then delete) all of the words in a 
> buffer that are not capitalized?  Thanks.
> -- 
> 
> yours,
> 
> William
> 

Reply via email to