Test, validate and match regular expressions
This regex matches lines that begin with 'COM-' followed by five comma-separated fields, where the last value ends with ' mm'. It captures each field in groups, allowing extraction of composite material specifications such as name, type, dimensions, or other attributes. It is useful for parsing structured text files or logs where each composite entry is on its own line, with fields separated by commas and units in millimeters.