I think what you want is /^0*1{3,}0*$/.
Second Edit: After having re-read the question several times, I think what you might want is /^(0|1{3,})*1{3,}(0|1{3,})*$/
In reply to Re: matching pattern question?
by AR
in thread matching pattern question?
by BhariD
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |