3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php //$d = '01/03/2015'; $monto = '1,200.25'; echo preg_replace('/[^\d.]/', '', $monto); ?>
based on mCn9d
Output for 4.3.0 - 7.2.0
1200.25