Build, test, and debug regular expressions
This regular expression matches a specific document reference ID format starting with the country code "NL" for the Netherlands, followed by a year between 2000 and 2099, a hyphen, and an alphanumeric identifier string of 1 to 243 characters. It is typically used in European e-invoicing standards, such as Peppol, or local tax compliance systems to validate unique document or invoice identifiers. The regex ensures the total maximum length of the reference does not exceed 250 characters while strictly enforcing the initial structural pattern.