<?php $string = "$100,000"; $int = preg_replace("[^0-9]", "", $string); echo $int;
You have javascript disabled. You will not be able to edit any code.