Archive for January, 2010

Visa debit / Delta reg exp

January 11, 2010

I couldn’t find this anywhere so I had to write this myself, based on this document from Barclays


VISA_DEBIT = /^(400626|40854[789]|40940[012]|41228[56]|41373[34567]|41378[78]|418760|41917[6789]|419772|420672|42159[234]|422793|423769|431072|444001|44400[5678]|44620[0-9]|44621[01]|44621[3-9]|4462[2-4][0-9]|44625[0-4]|44625[7-9]|44626[0-9]|44627[0-2]|44627[4-9]|44628[0-3]|446286|446294|450875|45397[89]|454313|45443[2-5]|454742|45672[5-9]|45673[0-9]|456724[0-5]|4658[3-7][0-9]|46590[1-9]|4659[1-4][0-9]|465950|4751[1-5][0-9]|4757[1-5][0-9]|4762[2-6][0-9]|4763[4-8][0-9]|484409|484410|484427|4909[6-7][0-9]|49218[12])\d{10}/

Advertisements