Build, test, and debug regular expressions
This regular expression matches specific vehicle registration or identifier formats. It captures two variations: one anchored at the start that begins with '1-' followed by three letters, a hyphen, and three digits (e.g., '1-ABC-123'), and another anchored at the end with three letters, a hyphen, and three digits (e.g., 'ABC-123'). It is useful for validating alphanumeric codes, IDs, or license plate structures.