I am trying to filter the line with the price in order to bring it into a readable format. In its original form it may look like this (without quotes): "2,200.00" Help to make a regular schedule to make "2200" I tried this:
$result = preg_replace("/([^0-9,]\s)/iu","", $result);
Does not work.