Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (6 sloc) 189 Bytes
function only_numbers($number){
return preg_replace("/[^[:digit:]]/", "", $number);
echo only_numbers("Em 2011 eu fui com 3 amigos para uma festa que tinha 300 pessoas");
You can’t perform that action at this time.