<?php $str = 'abc1+++1'; echo filter_var($str,FILTER_SANITIZE_NUMBER_INT);
You have javascript disabled. You will not be able to edit any code.