Cirrus卡类型的正则表达式

时间:2018-07-16 14:02:23

标签: regex regex-negation credit-card regex-group

我需要从卡号中获取卡类型。我找到了以下正则表达式示例:michaelkeevildown giststackoverflow answer

但是Cirrus卡类型在任何地方都没有提供。有可能将卷云与Maestro / Mastercard区别开吗?

UPD:
就我而言,^676623\d+$就足够了,但是对于不同的银行,解决方案可能会有所不同。

0 个答案:

没有答案