note 53083 deleted from function.ereg by tularis
| From: | tularis@php.net | Date: | Thu, 31 May 2007 13:24:46 +0000 |
| Subject: | note 53083 deleted from function.ereg by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-127071@lists.php.net to get a copy of this message | ||
Note Submitter:
----
I am trying to use ereg to validate a credit card name, and all I want it to do is make sure that
letters, spaces and apostrophes are allowed. ereg("^[' A-Za-Z]+$", $cardName);
This did not work as I expected it too, in fact I could not enter even enter all letters ?