Re: preg_match

From: Date: Wed, 09 Aug 2006 10:47:52 +0000
Subject: Re: preg_match
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-240363@lists.php.net to get a copy of this message
On 09/08/06, Peter Lauri <lists@dwsasia.com> wrote:
Hi, How do I add so that it checks for a comma , in this preg_match. I think the documentation is not that good for the pref_match: preg_match('/^[a-z0-9-_\'() +]*$/i', $s); Check for a comma inside a range - use a comma!
-- http://www.web-buddha.co.uk http://www.projectkarma.co.uk

« previous php.general (#240363) next »