<?php $string = "VAT hf TAX-ergrdt5.2%"; $int = (preg_replace('/[^0-9.]+/', '', $string)); echo $int;
You have javascript disabled. You will not be able to edit any code.