maybe with a regex or something? not sure...thanks in advance for help.
Search the boards, ffs.. this question was asked 1 or 2 days ago
http://www.phpbuilder.com/board/showthread.php?s=&threadid=10263153
I know, that was my posts, I didn't get a conclusion, so I'm asking again.
anyone? I've beenlooking around search engines and looking through php.net functions...I found nothing 🙁
actually weedpacket gave you an answer..
$string = 'dsh2309dskj2023'; $numbers = preg_replace('/[0-9.]/','',$string);
echo $numbers;
should return:
23092023
works on my computer