I have a list of numbers like this:
123-4-5679 tha
546-5465-7 dsf
98-4564-64 ds8
I want to explode into it's own value while striping everything but the numbers. I am doing but it seems to keep everything but it does give me a value per line
$pn = preg_replace("/\r/", "\n", preg_replace("/\r\n/", "\n", $_POST['phone']));
$phone_numbers = explode("\n", $pn);