taxIdRegExp property

RegExp taxIdRegExp
final

Regular expression pattern to validate tax identification numbers.

This pattern matches strings that represent a valid 9-digit tax id.

Example:

static final RegExp taxIdRegExp = RegExp(r'^\d{9}$');
  • Matches: '123456789', '987654321', '000000000'
  • Does not match: '12345678', '1234567890', 'ABCDEFGHI'

Implementation

static final RegExp taxIdRegExp = RegExp(r'^\d{9}$');