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