3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $nubmer = '+380-507855338'; echo preg_replace("/\D/", "", $nubmer);
Output for 4.3.0 - 7.1.0
380507855338