Re: ISBN Regular Expression

From: Dan Scott <dscott_at_nyob>
Date: Fri, 21 Oct 2011 15:40:12 -0400
To: CODE4LIB_at_LISTSERV.ND.EDU
On Oct 21, 2011 2:03 PM, "Kozlowski,Brendon" <bkozlowski_at_sals.edu> wrote:
>
> Oh man. I can't believe I didn't think to check Drupal...or GitHub. Thank
you both! The Ruby version is super simple, but I believe for my purposes
(coverted to PHP anyway) it should suffice. The Drupal module's version also
seems to go the route of simple as opposed to exact matching.

Mmm, for PHP, the PEAR Validate_ISPN package
http://pear.php.net/package/Validate_ISPN/ might be an option.
Received on Fri Oct 21 2011 - 15:40:45 EDT