Test, validate and match regular expressions
This regex matches a structured code format consisting of the letter 'e', a single digit, the letter 'r', one or two digits, the letter 'p', and one or two digits (e.g., e5r12p3). It is useful for parsing or validating identifiers that encode three numeric components, such as coordinates, resource locators, or project-specific codes like those from 42 school. The capture groups allow extracting the individual numbers for further processing.