Utility for validating 10- and 13-digit ISBNs