3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php$str = '$123,34.00A';echo preg_replace("/[^0-9.,]/", "", $str);?>
based on j00YI
Output for 5.4.0 - 5.4.32
<?php$str = '$123,34.00A';echo preg_replace("/[^0-9.,]/", "", $str);?>