credit card input validation using regular expression in javascript

后端 未结 3 621
北恋
北恋 2021-02-14 12:35

I\'ve been trying to get this done but no success. I am using regular expression to validate the credit card number entered by user based on the type of credit card selected thr

3条回答
  •  -上瘾入骨i
    2021-02-14 12:55

    Change your logic to this:

    
    

提交回复
热议问题