Re: REGEX for credit card number
| From: | Richard Lynch | Date: | Mon, 29 Jul 2002 10:01:51 +0000 |
| Subject: | Re: REGEX for credit card number | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-110142@lists.php.net to get a copy of this message | ||
>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 is
just wrong, wrong, wrong, not to mention that sooner or later an
International user or somebody with an extension or who needs you to press
*2 to reach them is gonna get screwed by your stupid phone regex... Don't do
it.
--
Like Music? http://l-i-e.com/artists.htm
I'm looking for a PRO QUALITY two-input sound card supported by Linux (any
major distro). Need to record live events (mixed already) to stereo
CD-quality. Soundcard Recommendations?
Software to handle the recording? Don't need fancy mixer stuff. Zero (0)
post-production time. Just raw PCM/WAV/AIFF 16+ bit, 44.1KHz, Stereo
audio-to-disk.