[PHP] Re: REGEX for credit card number

2002-07-29 Thread Manuel Lemos
Hello, On 07/28/2002 05:02 PM, Mike Mannakee wrote: > Does anyone have a regular expression that works to validate credit card > numbers? No, there is not regular expression for that. You may want to use this class instead for validation credit card numbers in forms: http://www.phpclasses.org/

[PHP] Re: REGEX for credit card number

2002-07-29 Thread Richard Lynch
>Does anyone have a regular expression that works to validate credit card >numbers? http://php.net/links.php has links to code archives that will give you tons of them. Ditto for the phone numbers post I'm about to read. NOTE: Making users not be able to use phone numbers like 1-800-MY-STUFF