Thankyou very much. -------------------- Horacio Suarez > From: doit.ian@gmail.com > Date: Thu, 13 Aug 2009 20:50:08 -0700 > To: help-gnu-emacs@gnu.org > Subject: Re: search for any two consecutive uppercase characters > > On Aug 13, 7:11 am, "A.Politz" wrote: > > On Aug 13, 12:38 am, p...@informatimago.com (Pascal J. Bourguignon) > > wrote: > > > > > There is no > > > [:upper:] in emacs regular expressions. > > > > That' actually not true, as described here > > (info "(elisp)Char Classes") > > > > -ap > > Yes, [:upper:] is available. A common error is using it directly. > Indeed, it must be put in a char class like [[:upper:]]. > > The problem can be solved using query-replace-regexp > > Search Pattern: \<[[:upper:]]\{2,\}\> > Replace: \,(capitalize \&) _________________________________________________________________ Drag n’ drop—Get easy photo sharing with Windows Live™ Photos. http://www.microsoft.com/windows/windowslive/products/photos.aspx