<?php $str1 = "$12,334.00A"; echo preg_replace("/[^0-9,.]/", "", $str1); ?> - See more at: http://www.w3resource.com/php-exercises/php-regular-expression-exercises.php#sthash.nmTOIj71.dpuf
You have javascript disabled. You will not be able to edit any code.