[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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php