<?php $subject = "101010101"; $pattern = "/[01]{1,4}/"; preg_match_all($pattern, $subject, $match); echo '<pre>', print_r($match[0]);
You have javascript disabled. You will not be able to edit any code.