validators.pattern for email angular code example Example: email validation pattern angular pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,3}$"