Dominic writes: > Is there a way to create a generic regexp to remove > double letters? > > Example > > Gooooooogle becomes gogle > > ([^o])*(o)+(.*) > > $1$2$3 > > But this code just works for the letter 'c'. > I'm looking for a regexp who remove all double > letters.
Wouldn't it be replace "([:alpha:])\\1+" with "\\1"? -- Kevin Rodgers --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]