Phone
en-US
#phone
#us
#american
#mobile
Phone — US
Matches a US phone number in various formats: (555) 867-5309, 555-867-5309, 5558675309, or with +1 country code.
✓ US contact forms✓ Customer registration✓ Address books
✓ Valid Examples
- (555) 867-5309
- 555-867-5309
- +1 555 867 5309
- 5558675309
✗ Invalid Examples
- +44 20 7183 8750
- 123-456-789
- 555-867-530
Usage & Integration
Validate Phone — US natively in your backend or frontend without copying regex strings.
Node / Edge
import { validate } from '@regexto/validators';
validate('phone-us', '...');Python
from regexto_validators import validate
validate("phone-us", "...")Go
import "github.com/regex-to/validators-go"
valid, err := validators.Validate("phone-us", "...")PHP
use RegexTo\Validators\Validator;
Validator::validate('phone-us', '...');Rust
use regexto_validators::validate;
let is_valid = validate("phone-us", "...").unwrap();