prices(text) extracting every amount written as ₹ followed by digits with optional comma groups and optional decimals (e.g. ₹1,299.50), returned as floats with commas removed.prices('was ₹1,299 now ₹999.50')[1299.0, 999.5]
Commas stripped, decimals preserved.
Pattern: ₹([\d,]+(?:\.\d+)?).
float(m.replace(',', '')) per match.