Test, validate and match regular expressions
This regex matches exactly 5 consecutive digits (0-9). It is commonly used to validate or extract 5-digit numeric codes such as US ZIP codes, German postal codes, or other short numeric identifiers. The pattern ensures the input consists solely of five digits with no additional characters.