# nick@xxxxxxxxxxxxxx / 2007-01-18 06:07:24 -0800: > I just got this from: http://php.net/preg_match > > <?php > if(eregi ("^[[:alnum:]][a-z0-9_.-]*@[a-z0-9.-]+\.[a-z]{2,6}$", stripslashes(trim($someVar)))) That would reject many of my email addresses. This is more in line with the standards: http://marc.theaimsgroup.com/?l=postgresql-general&m=112612299412819&w=2 -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php