Hi,
Can someone give me a hand on the validation of the credit card format
for the homework of the Active Record lesson?
It says:
# User can enter the credit card format in the following format. The
x has to be numeric value.
* xxxx-xxxx-xxxx-xxxx (format #1)
* xxxx xxxx xxxx xxxx (format #2)
* xxxxxxxxxxxxxxxx (format #3)
If someone could write the regex for it nicely that would be very helpful.
Regards,
Vanessa
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "ruby-on-rails-programming-with-passion" group.
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/ruby-on-rails-programming-with-passion?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---