piighost/us-ein
US employer identification number, two digits, a dash, then seven. The shape is distinctive enough to be usable on its own, though a nine-digit reference written the same way would match.
Label: US_EIN
Pattern \b\d{2}-\d{7}\b
Must be caught EIN 12-3456789 on file. → 12-3456789Taxpayer 98-7654321 filed late. → 98-7654321
Must be left alone
Tags: us, business, finance, accounting
Download the detector as TOML
Used by
piighost/business — Company and tax numbers across the countries the registry covers: the British VAT number, the European VAT number, the…
piighost/us-extended — The `us` group plus passport, EIN and bank routing numbers.
Related patterns
piighost/au-abn — Australian business number: eleven digits written in groups of two then three, three, three.
piighost/br-cnpj — Brazilian company number CNPJ in its masked form.
piighost/btc-address — Bitcoin address in the three live encodings: legacy P2PKH starting with 1, P2SH starting with 3, both over the Base58…
piighost/credit-card — Payment card number: 13 to 19 digits, each optionally followed by a space or a hyphen.
piighost/es-nif-cif — Spanish company tax number (CIF): an entity-type letter, seven digits, then a check character.
piighost/eth-address — Ethereum and EVM chain account address: 0x then forty hex characters.
← piighost/us-driving-licence · All patterns in the catalogue · piighost/us-extended →