^(0*10*10*)*10*$ [download]
In reply to Re: Number of bits, length of RegExp by Thelonius in thread Number of bits, length of RegExp by YAFZ