Avatar of brgdotnet
brgdotnet
Flag for United States of America asked on

How to validate multiple email addresses entered into a textbox. Using Java Script or JQuery?

Hello, I have an Asp.net web user control with a textbox on it. The textbox allows people to enter several email addresses at a time, as long as the email addresses are separated by a comma. Does anyone have any Java Script or JQuery code which will validate such input. I imagine a regular expression would be used. I need help on short notice. Can someone help me out by donating some code?

Example input

Jeff@stein.com,Terry@pine.com,Jlow@,flipdot@snoogle.com

Notice how the third email address is incorrect since there is nothing after the @ sign. So validation should catch this.
ASP.NETJavaScriptjQuery

Avatar of undefined
Last Comment
brgdotnet

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
chaau

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
SOLUTION
dejaanbu

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
brgdotnet

ASKER
Thank you.
Your help has saved me hundreds of hours of internet surfing.
fblack61