Hi All,
I got the solution:
BEGIN
IF(match_regex($email, '[a-zA-Z0-9_\-]+@([a-zA-Z0-9_\-]+\.)+(com|org|edu|nz|au)', null)) RETURN TRUE;
ELSE RETURN FALSE;
END
Now it is working fine.
Thanks Niels for your reply.
Regards,
DJ
Hi All,
I got the solution:
BEGIN
IF(match_regex($email, '[a-zA-Z0-9_\-]+@([a-zA-Z0-9_\-]+\.)+(com|org|edu|nz|au)', null)) RETURN TRUE;
ELSE RETURN FALSE;
END
Now it is working fine.
Thanks Niels for your reply.
Regards,
DJ