The public token to validate.
isPublicTokenFormat("ABC123XYZ456"); // true
isPublicTokenFormat("4WBP4HZYLVQM"); // true
isPublicTokenFormat("ABC123"); // false (too short)
isPublicTokenFormat("abc123xyz456"); // false (lowercase)
isPublicTokenFormat("ABC-12345678"); // false (contains hyphen)
isPublicTokenFormat(""); // false (empty)
Validates a Tremendous public token format.
Public tokens are generated by the backend and consist of uppercase letters (A-Z) and digits (0-9). They are case-sensitive and exactly 12 characters long.
This function validates that the token: