I'm pretty sure I got it above with /^(0|1{3,})*1{3,}(0|1{3,})*$/. Does that work as you expect?
In reply to Re^2: matching pattern question? by AR in thread matching pattern question? by BhariD