Test, validate and match regular expressions
This regex matches a data volume string, such as '10,5 GB (9,8 Mbits/s)', typically used to indicate inclusive mobile data limits. It captures the initial volume size (using either a comma or no decimal) along with its unit (GB or MB). Inside the parentheses, it matches a corresponding data speed or secondary value, including a time-based unit like 'Mbit/s'. The pattern accommodates European decimal formatting and optional spaces.