Identity
en-US
#ein
#us
#tax
#employer
US Employer Identification Number (EIN)
Matches a US EIN (Federal Tax ID) in the NN-NNNNNNN format used by the IRS.
✓ Business tax forms✓ Contractor onboarding✓ Invoice validation
✓ Valid Examples
- 12-3456789
- 99-9999999
- 01-0000001
✗ Invalid Examples
- 123-456789
- 1-23456789
- 12-345678
Usage & Integration
Validate US Employer Identification Number (EIN) natively in your backend or frontend without copying regex strings.
Node / Edge
import { validate } from '@regexto/validators';
validate('us-ein', '...');Python
from regexto_validators import validate
validate("us-ein", "...")Go
import "github.com/regex-to/validators-go"
valid, err := validators.Validate("us-ein", "...")PHP
use RegexTo\Validators\Validator;
Validator::validate('us-ein', '...');Rust
use regexto_validators::validate;
let is_valid = validate("us-ein", "...").unwrap();