This regular expression will validate all major credit cards: American Express (Amex), Discover, Mastercard, and Visa. /^4[0-9]{12}(?:[0-9]{3})?$|^3 ...
確定! 回上一頁