<?php $string = "In My Cart : 11 items"; echo preg_match('/\d+/', $string, $m) ? $m[0] : '';
You have javascript disabled. You will not be able to edit any code.