Test, validate and match regular expressions
This regular expression is designed to parse XML or HTML-like tags, specifically targeting `<EventTypeCode>` elements. It extracts the value of the `csd-code` attribute into a named capture group called `myEventTypeCode`. The matched code must follow a strict format of three word characters, followed by a hyphen, and ending with two digits, such as `ABC-12` or `XYZ-99`. This is typically used in log analysis or data extraction pipelines to identify specific event types.