threeDigit top-level property
A regular expression that matches exactly 3 digits.
Commonly used for validating short numeric codes such as postal codes
in countries like Iceland (e.g., 101, 750, etc.).
Example of a valid match:
123
Example of an invalid match:
12123412a
Implementation
RegExp threeDigit = RegExp(threeDigitStr);