PERHAPS ??
function validaEmail(cEmail)
LOCAL pCompiled := hb_regexComp("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$")
LOCAL cRet := .t.
IF HB_RegExMatch( pCompiled, alltrim(cEmail), .F. )
cRet := .f.
end
return cRet