Test, validate and match regular expressions
This regex validates the format of an El Salvador DUI (Documento Único de Identidad) number. It matches a pattern consisting of eight digits followed by a hyphen and one verification digit, such as '12345678-9'. This pattern is commonly used for form validation and identity document processing in applications involving Salvadoran citizens.