Validates Credit Card Numbers of different type.
Supports Visa, MasterCard, American Express, Diners Club, Discover and JCB
Taken from http://www.regular-expressions.info/creditcard.html
If you want to support only a particular type, customise it based on following....
Submitted by Ehsan - 10 years ago