No pure software solution can identify all credit card numbers with perfect accuracy. No regular expression can do it. No algorithm, no matter how sophisticated, can do it. Solely financial network and payment gateways provide the greatest assurance of valid account numbers and even their databases may be 30 days out of date. Only after you accept that should you move forward with home-spun validation. To make matters worse,
Read full article from Regex: Credit Card Numbers | Richard's Ramblings
No comments:
Post a Comment