Build, test, and debug regular expressions
This regular expression is designed to parse GS1-128 barcode data strings, specifically extracting values for a product code (UPC), date, and batch number into distinct named capture groups. It targets sequences following the standard (AI)Data format, where an Application Identifier (AI) in parentheses is followed by alphanumeric data. It is highly useful in supply chain logistics and inventory management for decoding structured barcode information.