Test, validate and match regular expressions
This regex matches PDF filenames following a pattern for Peruvian educational administrative documents. It captures two groups: a region identifier (uppercase letters and underscores) and a UGEL code (starting with 'UGEL' followed by alphanumeric characters). Useful for extracting and categorizing educational documents by regional administrative divisions.