Email Validation
https://www.w3resource.com/javascript/form/email-validation.php
function ValidateEmail(mail)
{ if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(myForm.emailAddr.value)) { return (true) } alert("You have entered an invalid email address!") return (false) }
Email Validation
Reviewed by Leo
on
Januari 30, 2023
Rating:
Tidak ada komentar