Crypto
#ens
#ethereum
#domain
#web3
ENS Name (Ethereum Name Service)
Matches an Ethereum Name Service domain — alphanumeric label(s) ending with .eth.
✓ Web3 profile lookup✓ Wallet address resolution✓ ENS search
✓ Valid Examples
- vitalik.eth
- my-wallet.eth
- regex.eth
✗ Invalid Examples
- -invalid.eth
- a.eth
- vitalik.com
- vitalik.ETH2
Usage & Integration
Validate ENS Name (Ethereum Name Service) natively in your backend or frontend without copying regex strings.
Node / Edge
import { validate } from '@regexto/validators';
validate('ens-name', '...');Python
from regexto_validators import validate
validate("ens-name", "...")Go
import "github.com/regex-to/validators-go"
valid, err := validators.Validate("ens-name", "...")PHP
use RegexTo\Validators\Validator;
Validator::validate('ens-name', '...');Rust
use regexto_validators::validate;
let is_valid = validate("ens-name", "...").unwrap();