<?php $string = "In My Cart : 11 items"; var_export(filter_var($string, FILTER_SANITIZE_NUMBER_INT));
You have javascript disabled. You will not be able to edit any code.