On 3 Sep 2007 at 16:15, Andrew Curry wrote: > Think > > s/(\,+\s*)+/,/g; > > Should work > > It produces > SPEED OF LIGHT,LIGHT > SPEED,TRAVEL,TRAVELLING,DANGER,DANGEROUS,PHYSICAL,CONCEPT,CONCEPTS > > If that's what you want.
Exactly what I want. Thanx, Dp. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/