Re: Need help with a regular expression

From: Date: Thu, 30 Sep 2004 23:08:09 +0000
Subject: Re: Need help with a regular expression
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-198362@lists.php.net to get a copy of this message
[snip] "^Q4_[0-9]$" & Yes, your understanding of "^Q4_.[0-9]$" is wrong. [/snip] Thanks guys.., I did take the '.' out of the expression, but I also had to change the way I was using it. I replaced; if($key == ereg( "^Q4_.[0-9]$", $key)){ with if(ereg( "^Q4_.[0-9]$", $key)){ alex hogan

« previous php.general (#198362) next »