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