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