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