<?php preg_match_all('!\d+!', "lafkj 12 ksdhf -12 3 6 s 6", $matches); $string_of_numbers = implode(' ', $matches[0]); echo $string_of_numbers;
You have javascript disabled. You will not be able to edit any code.