<?php $string = "testabc"; $regex = "(^abc)A"; for ($i = 0; $i < strlen($string); $i++) { var_dump(preg_match($regex, $string, $match, 0, $i)); }
You have javascript disabled. You will not be able to edit any code.