grep { ++$i % 2 } /((.)\2*)/g [download]
In reply to Re: Re: Simple regex question by Anarion in thread Simple regex question by Anonymous Monk