সম্পাদনা
<?php $string = "aaaaab"; $pattern = "/a++b/"; preg_match_all($pattern, $string, $matches); print_r($matches[0]); ?>
পূর্বরূপ