preg_match_all('/[a-z]\d{2,5}/', $subject, $result, PREG_PATTERN_ORDER);
for ($i = 0; $i < count($result[0]); $i++) {
# Matched text = $result[0][$i];
}
solved php preg_match item first five character regex [closed]
preg_match_all('/[a-z]\d{2,5}/', $subject, $result, PREG_PATTERN_ORDER);
for ($i = 0; $i < count($result[0]); $i++) {
# Matched text = $result[0][$i];
}
solved php preg_match item first five character regex [closed]