<?php function get_numerics ($str) { preg_match_all('/\d+/', $str, $matches); return $matches[0]; } $one = 'APP eco 51-100'; print_r(get_numerics($one));
You have javascript disabled. You will not be able to edit any code.