Validates Indian TAN (Tax Deduction Account Number)
static bool isValidTan(String tan) { final tanRegex = RegExp(r'^[A-Z]{4}[0-9]{5}[A-Z]{1}$'); return tanRegex.hasMatch(tan.toUpperCase()); }