Build, test, and debug regular expressions
This regex matches AngularJS ngOptions expressions, capturing the complete syntax including label, value alias, group by, disable when, iteration variable(s), collection expression, and track by clause. It is useful for parsing and validating ngOptions directives in AngularJS templates to extract components for analysis or transformation.