angular email address accepts specific domain code example Example: regex pattern to validate email [a-zA-Z0-9._-]{3,}@[a-zA-Z0-9.-]{3,}\.[a-zA-Z]{2,4}