Test, validate and match regular expressions
This regular expression matches a standard course code format containing exactly three letters, a hyphen, and three digits, such as "ENG-101". It employs a positive lookahead to assert that the match is immediately followed by any three additional characters, excluding those trailing characters from the actual captured result. This pattern is highly effective for parsing and validating partial Learning Tools Interoperability (LTI) course identifiers within larger, structured text strings.