Created
April 1, 2019 05:58
-
-
Save bay007/61578d2078f7f8c9ccfd7f0a84196d0d to your computer and use it in GitHub Desktop.
Regex Tarjetas Credito
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var patron=/^[a-zA-Z0-9]{1}[0-9]{7}(-){0,1}[0-9]{3}$/; | |
var patron2=/^((0094)[0-9]{8})$/; | |
var patron3=/^(([0-9]{16}))$/; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment