Test, validate and match regular expressions
This regular expression matches anchor tags (a href) pointing to URLs on diario.mx with a specific path structure. It expects exactly one word segment, then a slash, then a hyphenated word segment of three parts, followed by another slash and a final word component. This pattern is useful for extracting article or category links from the Mexican news site Diario MX, particularly those with a predictable URL format. The 'g' flag enables global matching across the entire text.