<?php $title ="Get 25% Off in my title"; $pattern = '/(\d+)%\s*off/i'; preg_match_all($pattern, $title, $matches); foreach ($matches[1] as $val) { echo "$val, "; }
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`