Build, test, and debug regular expressions
This regex validates EPA Premanufacture Notification (PMN) code identifiers following the format 'P-' followed by a two-digit number, a hyphen, and a four-digit sequence number (e.g., 'P-05-0123'). It enforces strict formatting from start to end of the string, ensuring no extra characters are present. This pattern is commonly used in environmental compliance systems, chemical regulatory databases, and TSCA submission data validation workflows.