// Replacing commas from email address and removing extra spaces at beginning and end of email addresses var input = [Email Address]; var comma = input.replace(/,/g,";"); var spacesemicolon = comma.replace(/ ;/g,";"); var semicolonspace = spacesemicolon.replace(/; /g,";"); // Splitting the string into an array of separate email addresses on semicolon var emailarray = semicolonspace.split(";"); // Validating each item within the array for (i = 0; i < emailarray.length ; i++) { var validate = emailarray[i]; var bademail = validate.search( /[A-Za-z0-9_.-]+@[A-Za-z0-9_.-]+\.[A-Za-z0-9_.-]+/gi); if (bademail != 0) { alert('Invalid email address entered'); // if an invalid email address is entered then the value of bademail will be greater than 1 or -1. return; will then stop the code running return; } }
Trouble logging in? Simply enter your email address OR username in order to reset your password.
For faster and more reliable delivery, add helpdesk@awaken.io to your trusted senders list in your email software.