Build, test, and debug regular expressions
This regex matches a MAC address formatted with hyphens separating each byte, such as "00-1A-2B-3C-4D-5E". It uses the global and multiline flags to find multiple matches across a multi-line string. This pattern is commonly used for validating network interface addresses or extracting them from network logs and configurations.