It’s easy to remove but you will do this after watch practical so i am suggesting you to visit the YouTube and find the tutorial. someone write my assignment are also do this action for solve your problem.
Regular Expression to Regex to match a valid email address. Applying regular expression you can check a valid email address.
Apply this example code, hope it will be helpful for you.
<script type="text/javascript"> var email=$('#email').val(); if(isValidEmailAddress(email)==true){ alert('valid'); }else{ alert('not valid'); } function isValidEmailAddress(emailAddress) { var re = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; return re.test(emailAddress); }; </script>
Try this example code while submit form value or enter email in a input box.
Question and answer is powered by AnsPress.io