Sample Regular Expression for email validation using Apex is given below
Sample Code:
if(Pattern.matches(‘[a-zA-Z0-9._-]+@[a-zA-Z]+.[a-z
{
//success
}
else
{
//error
}
Cheers!!!