Format
Strips whitespace, then matches 8, 12, 13, or 14 digits and verifies the GS1 mod-10 trailing-digit checksum.
Examples
- 7613034626844 (GTIN-13, EAN)
- 00012345600012 (GTIN-14, SSCC-style)
- 0123456789012 (GTIN-13 with leading zero — keep as string!)