"00001111"=~/^[0]+[1]+$/; [download]
In reply to Re^2: A (non) reg-ex question by timos in thread A (non) reg-ex question by Ido