here is a js that does it
http://www.precisonline.com/ccvalidate.js.htmlAjey.bitin sent the following on 8/5/2008 11:11 PM:
> Hi,
>
> I'm trying to validate Maestro cards in OFBiz. As so many validation
> criteria are already given in UtilValidate.java, base on that I need to
> setup the validation for these cards. I'm not getting any information about
> the card number validation pattern on which I can continue my
> implementation. The card validating pattern available on net are mostly of
> Visa, Mastercard, Amex etc. Also, when i matched them with few cards, they
> do not seem to be reliable.
>
> I need the card number validation method for Maestro. Any help is highly
> appreciated.
>
> Thanks,
>
> Ajey