[snip] I need to verify if $x is between 1 and 20 and i need to do that with regular expressions ? anyone can help me outta there ? [/snip] Why regex? if((1 < $x) && ($x < 20)){ it's true } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php