<?php $pattern = '/(\.[.]+)$/i'; $replacement = ''; $value = '600.000'; echo preg_replace($pattern, $replacement, $value);
You have javascript disabled. You will not be able to edit any code.