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