I have a form with a input filed with type email and a submit button. Context is that when the user clicks 'forgot password' from login page, this particular form will be displayed where user can enter their email id and get the link to reset password via mail.
Everything works fine except the input type email accepts abc@com where as i want the email id to be [email protected]. problem is that in case if user types abc@com instead of [email protected] by mistake they will not receive the reset password link and they wont be aware want went wrong.
I would like to get a solution for this problem.
abc@comis considered a valid email according to the specification - it matches the regular expression ^[a-zA-Z0-9.!#$%&’*+/=?^_`{|}~-]+@[a-zA-Z0-9-]+(?:\.[a-zA-Z0-9-]+)*$ - Jaromanda X