সম্পাদনা
<?php $string = "123456"; $pattern = "/\d{2,4}+/u"; preg_match_all($pattern, $string, $matches); print_r($matches[0]); ?>
পূর্বরূপ