Re: regular expressions ?
| From: | John Nichel | Date: | Thu, 27 Jan 2005 16:58:31 +0000 |
| Subject: | Re: regular expressions ? | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-207504@lists.php.net to get a copy of this message | ||
Zouari Fourat wrote:
Robin : $i='2'; if (preg_match('/^(20|1[0-9]|1-9])$/', $i)) {Open the bracket for the last parameter... /^(20|1[0-9]|[1-9])$/ -------------^ -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 john@kegworks.com