$s = 'aaabacadaabbbccccd'; print $1 while $s=~m[((.)(?!\2).)]g;; ab ac ad ab bc cd [download]
In reply to Re: Anything else is fine! by BrowserUk in thread Anything else is fine! by Anonymous Monk