Content
#isbn
#isbn-13
#book
#publishing
ISBN-13
Validates 13-digit International Standard Book Numbers (ISBN-13) with optional hyphens or spaces.
✓ E-commerce book catalog validation✓ Library catalog systems✓ Publisher portal uploads
✓ Valid Examples
- 978-3-16-148410-0
- 9798650893322
- 978 0 596 52068 7
✗ Invalid Examples
- 123-4-56-789012-3
- 978-3-16-148410-01
- 978-3-16
- abc-d-ef-ghijkl-m
Usage & Integration
Validate ISBN-13 natively in your backend or frontend without copying regex strings.
Node / Edge
import { validate } from '@regexto/validators';
validate('isbn-13', '...');Python
from regexto_validators import validate
validate("isbn-13", "...")Go
import "github.com/regex-to/validators-go"
valid, err := validators.Validate("isbn-13", "...")PHP
use RegexTo\Validators\Validator;
Validator::validate('isbn-13', '...');Rust
use regexto_validators::validate;
let is_valid = validate("isbn-13", "...").unwrap();