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