ok so I was looking around and could not find it. I need to preg_replace everything but numbers 0-9 so the string can contain as many numbers as they want but no other characters but numbers. I know its like '/\d^[a-z]/i' or somthing but that would not cover the other characters out there. how do I do this?
removing all non-numeric numbers but i want to check if those strings where changed in the first place so i guess it will be a combo of preg_match and preg_replace