<?php $strings = [ 'Sunscreen 25g (200 Quantity)', 'Lubricant 100ml (50 Quantity)', 'WD-40 100ml (75 Quantity)', ]; var_export(preg_replace('~[^(]+\((\d+).*~', '$1', $strings));
You have javascript disabled. You will not be able to edit any code.