fixes regex in product controller strip function