ok...
i have a little problem with a form, that checks if an email address is valid or not.
the pattern i use for the eregi() function is as follows;
$pattern = "([0-9a-z]+)([0-9a-z.-]+)@([0-9a-z.-]+).([0-9a-z]+)";
it works perfectly BUT one little flaw. you cannot submit addresses with only one letter before the "@" (f.ex. m@emolife.net) which STILL would be a valid email address though.
so... how do i implement it, so that the pattern "[0-9a-z._-]" isnt required 1 or more but ZERO or more times?
thanks a lot...
rock on... take care...
sid