Test, validate and match regular expressions
Matches an Indian Permanent Account Number (PAN), a 10-character alphanumeric identifier structured as 5 uppercase letters, 4 digits, and 1 uppercase letter (e.g., ABCDE1234F). Issued by the Indian Income Tax Department, PANs are required for tax filing, financial transactions, and KYC verification. The global and multiline flags enable finding all PAN numbers across every line of input. Note that this validates the format only, not the semantic meaning of specific character positions.