<?php $str = " - 602,135 results "; Echo str_replace("-", "", filter_var($str, FILTER_SANITIZE_NUMBER_INT));
You have javascript disabled. You will not be able to edit any code.