Timeline for How can I validate an email address in JavaScript?
Current License: CC BY-SA 4.0
150 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S Nov 2, 2022 at 11:26 | history | notice added | Zoe - Save the data dump♦ | Wiki Answer | |
S Nov 2, 2022 at 11:26 | history | locked | Zoe - Save the data dump♦ | ||
Aug 23, 2022 at 10:56 | comment | added | Watts Epherson | I have to admit, I don't understand why there's some much validation going on when you can't predict if the user made a basic type using the valid characters anyway. Just a check for @ and at least one dot is enough at the start. | |
Aug 23, 2022 at 10:53 | answer | added | Watts Epherson | timeline score: 5 | |
Aug 12, 2022 at 4:32 | review | Close votes | |||
Aug 16, 2022 at 0:05 | |||||
Aug 12, 2022 at 4:09 | comment | added | Karl Knechtel | Does this answer your question? How can I validate an email address using a regular expression? | |
Jul 28, 2022 at 7:55 | history | edited | A-Tech |
Added "regex"-tag as the solutions use regex.
|
|
Jul 26, 2022 at 9:15 | review | Suggested edits | |||
Jul 26, 2022 at 14:31 | |||||
Jul 9, 2022 at 12:49 | comment | added | GnanaPrakash | @theking2 I agree that regex helps only to check the standard email format, but it will not confirm entered email address is valid or reachable. This problem is addressed by a few real-time email validation tools. You might need to check clearout.io/integrations/real-time-javascript-email-validation. It even helps to suggest the mistyped email address. | |
S May 6, 2022 at 14:14 | history | notice removed | CommunityBot | ||
S May 6, 2022 at 14:14 | history | unlocked | CommunityBot | ||
May 5, 2022 at 14:53 | history | edited | Ryan M♦ | CC BY-SA 4.0 |
Back to the original, search-friendly title
|
May 5, 2022 at 14:45 | history | edited | Dharman♦ |
edited tags
|
|
May 5, 2022 at 14:17 | history | edited | Ryan M♦ | CC BY-SA 4.0 |
Fix a typo
|
S May 5, 2022 at 14:12 | history | notice added | Martijn Pieters | Content dispute | |
S May 5, 2022 at 14:12 | history | locked | Martijn Pieters | ||
May 5, 2022 at 12:57 | history | rollback | Clive |
Rollback to Revision 22
|
|
May 5, 2022 at 12:39 | history | reopened |
Dalija Prasnikar♦ MisterMiyagi Clive |
||
May 5, 2022 at 6:01 | review | Reopen votes | |||
May 5, 2022 at 12:41 | |||||
May 4, 2022 at 15:57 | history | closed |
Braiam Vega pppery |
Needs more focus | |
May 4, 2022 at 14:06 | review | Close votes | |||
May 4, 2022 at 16:04 | |||||
May 4, 2022 at 13:45 | history | rollback | Braiam |
Rollback to Revision 21
|
|
May 4, 2022 at 13:44 | comment | added | Braiam | If this question is to stay open it needs to remove "validation", otherwise it should to closed. | |
May 4, 2022 at 13:44 | history | rollback | Braiam |
Rollback to Revision 19
|
|
May 4, 2022 at 13:20 | history | reopened |
Stephen Ostermiller♦ Adrian Mole TylerH |
||
May 4, 2022 at 13:17 | history | edited | TylerH | CC BY-SA 4.0 |
deleted 68 characters in body
|
May 4, 2022 at 13:16 | history | rollback | TylerH |
Rollback to Revision 18
|
|
May 4, 2022 at 11:30 | history | edited | Braiam | CC BY-SA 4.0 |
Changed the question from a pure javascript perspective to one that takes into account that most of the web is built upon html. It also remove "validate" since that's unanswerable by programmers without sending a validation email, something that the asker seems to be unwilling to at this stage.
|
May 4, 2022 at 11:25 | review | Reopen votes | |||
May 4, 2022 at 13:25 | |||||
Apr 29, 2022 at 10:35 | history | left closed in review |
Tomislav Stankovic Mark Rotteveel Chris |
Original close reason(s) were not resolved | |
S Apr 28, 2022 at 18:45 | review | Reopen votes | |||
Apr 29, 2022 at 10:35 | |||||
S Apr 28, 2022 at 18:45 | history | edited | pix0r | CC BY-SA 4.0 |
updated question to reduce subjectivity
Added to review
|
Apr 28, 2022 at 15:26 | history | left closed in review |
Chris Mark Rotteveel Jeff Yates |
Original close reason(s) were not resolved | |
S Apr 27, 2022 at 17:01 | review | Reopen votes | |||
Apr 28, 2022 at 15:26 | |||||
Apr 27, 2022 at 16:57 | history | closed |
esqew TylerH Cristik |
Opinion-based | |
Apr 26, 2022 at 18:11 | review | Close votes | |||
S Apr 27, 2022 at 17:01 | |||||
Apr 26, 2022 at 17:51 | answer | added | jimmont | timeline score: 3 | |
Feb 16, 2022 at 23:18 | comment | added | Peter Mortensen | Very similar: How can I validate an email address using a regular expression? | |
Dec 6, 2021 at 12:39 | comment | added | theking2 | @DavidMårtensson A customer that mistypes one character in her e-mail will have it regexp validated where it still is wrong. The result will be: no communication possible. To me that is the worst user experience one can imagine. A validation confirmation will engage the user in a conversation which shows respect and genuine interest in customers needs. | |
Nov 19, 2021 at 23:53 | history | edited | Shivam | CC BY-SA 4.0 |
Changed question from a yes or no answer
|
Aug 19, 2021 at 8:55 | history | edited | Brijesh Kalkani | CC BY-SA 4.0 |
improve formatting
|
Jun 4, 2021 at 14:23 | comment | added | David Mårtensson | @mikael1000 Sure, but what is the purpose of a regex validation when you will not know if its a valid email anyway. If you do not want to intrude on the customer with a validation link just do the most simple validation <something> at <something> and leave it at that. It will ensure that the customer at least added something that might be an email, anything more it mostly a waste of code until you get to actually validating. You could possibly check if the domain exists with a dns lookup. | |
Jun 3, 2021 at 10:22 | comment | added | mikael1000 | @David Mårtensson I added a + on your thoughts. However I do think that a verification email-link thing also can be bad user experience. One that can make you lose a customer. | |
May 3, 2021 at 14:56 | comment | added | David Mårtensson | @Alex The reason I added this comment is that the suggested regex in the accepted answer will not allow existing live email addresses which is a bad start for a customer, and the really big problem is that even IF the address was accepted it still does not say if it works. The only way to reliably verify that a supplied email is a working valid email is to send a mail with a verification link. So, if your use case does not demand that you verify the email, just do a minimal test for @, otherwise use a verification email. Regex will only provide bad user experience. | |
Apr 28, 2021 at 6:43 | answer | added | Force Bolt | timeline score: 1 | |
Apr 14, 2021 at 9:42 | answer | added | FDisk | timeline score: 1 | |
Nov 8, 2020 at 7:09 | answer | added | Nazmul Haque | timeline score: 1 | |
Jul 7, 2020 at 14:55 | answer | added | Ebrahim | timeline score: 9 | |
Apr 13, 2020 at 0:46 | answer | added | Jaskaran Singh | timeline score: 4 | |
Feb 4, 2020 at 8:01 | history | edited | the Tin Man | CC BY-SA 4.0 |
edited for readability
|
Feb 3, 2020 at 15:38 | answer | added | user1843640 | timeline score: 8 | |
Jan 26, 2020 at 19:36 | answer | added | endyourif | timeline score: 11 | |
Jan 24, 2020 at 17:32 | answer | added | Mattia Rasulo | timeline score: 4 | |
Dec 27, 2019 at 8:52 | answer | added | Renish Gotecha | timeline score: 10 | |
Dec 7, 2019 at 10:08 | history | edited | Sohail Ashraf | CC BY-SA 4.0 |
added 7 characters in body
|
Nov 17, 2019 at 22:22 | answer | added | Eboubaker | timeline score: 1 | |
Sep 17, 2019 at 3:00 | answer | added | jimmont | timeline score: 2 | |
Jul 15, 2019 at 20:27 | history | edited | Peter Mortensen | CC BY-SA 4.0 |
Active reading.
|
Jun 21, 2019 at 12:50 | review | Suggested edits | |||
Jun 21, 2019 at 14:00 | |||||
Jun 5, 2019 at 10:14 | answer | added | Nicolas Zozol | timeline score: 1 | |
Jun 3, 2019 at 13:08 | review | Suggested edits | |||
Jun 3, 2019 at 15:00 | |||||
Apr 25, 2019 at 14:46 | answer | added | Antonio | timeline score: 2 | |
Apr 23, 2019 at 8:43 | answer | added | Raheel | timeline score: 0 | |
Mar 1, 2019 at 16:27 | answer | added | B. Bohdan | timeline score: 0 | |
Feb 23, 2019 at 20:19 | answer | added | incalite | timeline score: 1 | |
Jan 11, 2019 at 20:04 | answer | added | isapir | timeline score: 3 | |
Jul 22, 2018 at 10:53 | answer | added | mpyw | timeline score: 1 | |
Jul 18, 2018 at 10:15 | answer | added | aabiro | timeline score: 1 | |
Jun 21, 2018 at 12:13 | answer | added | Sbbs | timeline score: 6 | |
May 28, 2018 at 16:02 | answer | added | JoelBonetR | timeline score: 3 | |
Feb 28, 2018 at 0:18 | answer | added | Menelaos Kotsollaris | timeline score: 2 | |
Feb 27, 2018 at 9:56 | answer | added | Mizanur Rahaman | timeline score: 1 | |
Feb 19, 2018 at 20:34 | history | edited | Steve Chambers | CC BY-SA 3.0 |
Tweaked title
|
Feb 8, 2018 at 11:30 | history | edited | Govan | CC BY-SA 3.0 |
edited title
|
Feb 6, 2018 at 20:42 | answer | added | Juan Pablo | timeline score: 29 | |
Jan 1, 2018 at 22:04 | history | edited | jeffkmeng | CC BY-SA 3.0 |
edited title
|
Jul 22, 2017 at 3:33 | answer | added | hmharsh3 | timeline score: 4 | |
Jul 9, 2017 at 13:05 | answer | added | Behnam | timeline score: 2 | |
Jun 26, 2017 at 7:16 | history | edited | Mistalis | CC BY-SA 3.0 |
edited title
|
Jun 21, 2017 at 9:10 | answer | added | Liberateur | timeline score: 33 | |
Jun 17, 2017 at 6:55 | answer | added | Alireza | timeline score: 2 | |
Jun 2, 2017 at 7:52 | answer | added | takatan | timeline score: 1 | |
Apr 6, 2017 at 4:27 | answer | added | Abhay Shiro | timeline score: 2 | |
Mar 18, 2017 at 7:57 | answer | added | Jangli Coder | timeline score: 0 | |
Feb 13, 2017 at 6:04 | answer | added | Himanshu Teotia | timeline score: 2 | |
Jan 3, 2017 at 5:38 | answer | added | Negin | timeline score: 10 | |
Dec 28, 2016 at 2:51 | answer | added | bman | timeline score: 20 | |
Dec 22, 2016 at 7:44 | answer | added | Prabhat Kasera | timeline score: 12 | |
Nov 7, 2016 at 21:21 | answer | added | chemic | timeline score: 2 | |
Jul 23, 2016 at 17:11 | answer | added | Kentonbmax | timeline score: 3 | |
Jul 1, 2016 at 4:43 | answer | added | CVE-RICK | timeline score: 53 | |
May 31, 2016 at 8:30 | answer | added | Priya | timeline score: 4 | |
Mar 10, 2016 at 10:56 | review | Close votes | |||
Mar 14, 2016 at 0:01 | |||||
Sep 21, 2015 at 1:52 | answer | added | Andrew | timeline score: 210 | |
Sep 6, 2015 at 6:31 | answer | added | cyberrspiritt | timeline score: 6 | |
Aug 25, 2015 at 14:24 | answer | added | Dinesh Devkota | timeline score: 1 | |
Aug 12, 2015 at 16:58 | answer | added | DestyNova | timeline score: 3 | |
Jul 9, 2015 at 8:19 | answer | added | jaydev thakkar | timeline score: 0 | |
Mar 2, 2015 at 7:21 | answer | added | Code Spy | timeline score: 2 | |
Mar 2, 2015 at 7:19 | answer | added | Code Spy | timeline score: 4 | |
Feb 18, 2015 at 8:33 | answer | added | user2081554 | timeline score: 1 | |
Dec 15, 2014 at 1:21 | answer | added | Vitalii Fedorenko | timeline score: 1 | |
Dec 3, 2014 at 5:07 | review | Close votes | |||
Dec 8, 2014 at 0:02 | |||||
Aug 4, 2014 at 18:33 | answer | added | zeros-and-ones | timeline score: 5 | |
Jul 11, 2014 at 18:36 | answer | added | Yogesh Jindal | timeline score: 0 | |
May 23, 2014 at 14:55 | review | Close votes | |||
Jun 14, 2014 at 23:55 | |||||
Jan 28, 2014 at 5:40 | answer | added | Ferrakkem Bhuiyan | timeline score: 3 | |
Dec 4, 2013 at 10:44 | answer | added | Neil Thompson | timeline score: 7 | |
Nov 29, 2013 at 12:26 | answer | added | Orchid | timeline score: 17 | |
S Sep 11, 2013 at 2:21 | answer | added | pera | timeline score: 21 | |
S Sep 11, 2013 at 2:21 | history | made wiki | Post Made Community Wiki by pera | ||
Sep 10, 2013 at 12:37 | answer | added | Simon Steele | timeline score: 3 | |
Aug 24, 2013 at 20:40 | history | edited | Peter Mortensen | CC BY-SA 3.0 |
Copy edited.
|
Jul 21, 2013 at 3:02 | review | Close votes | |||
Jul 21, 2013 at 8:55 | |||||
Jul 14, 2013 at 18:15 | answer | added | Colonel Panic | timeline score: 91 | |
Jul 14, 2013 at 17:42 | history | edited | Colonel Panic | CC BY-SA 3.0 |
deleted 157 characters in body
|
Jul 14, 2013 at 14:18 | review | Close votes | |||
Jul 14, 2013 at 17:57 | |||||
Jul 2, 2013 at 9:41 | review | Suggested edits | |||
Jul 2, 2013 at 9:43 | |||||
Jun 25, 2013 at 6:30 | answer | added | user2496033 | timeline score: 38 | |
May 28, 2013 at 12:16 | review | Suggested edits | |||
May 28, 2013 at 12:17 | |||||
May 28, 2013 at 12:10 | review | Suggested edits | |||
May 28, 2013 at 12:15 | |||||
Apr 15, 2013 at 13:31 | answer | added | Bob van Luijt | timeline score: 85 | |
Apr 15, 2013 at 11:53 | answer | added | Linkmichiel | timeline score: 14 | |
Jan 31, 2013 at 9:39 | answer | added | Tugrul | timeline score: 15 | |
Dec 20, 2012 at 15:20 | answer | added | Boldewyn | timeline score: 174 | |
Nov 1, 2012 at 14:06 | answer | added | Ryan Taylor | timeline score: 75 | |
Aug 30, 2012 at 15:00 | answer | added | Darren Cato | timeline score: 6 | |
Jun 5, 2012 at 23:41 | answer | added | Steve C | timeline score: 15 | |
Feb 9, 2012 at 2:22 | answer | added | C. Lee | timeline score: 1347 | |
Jan 20, 2012 at 14:13 | history | edited | casperOne | CC BY-SA 3.0 |
deleted 11 characters in body
|
Jan 20, 2012 at 14:13 | history | rollback | casperOne |
Rollback to Revision 3
|
|
Jan 20, 2012 at 14:13 | history | edited | casperOne | CC BY-SA 3.0 |
deleted 170 characters in body
|
Dec 19, 2011 at 18:39 | answer | added | Zo72 | timeline score: 35 | |
Oct 17, 2011 at 8:23 | answer | added | Anoop | timeline score: 328 | |
Mar 2, 2011 at 11:31 | history | protected | Alan Moore | ||
Mar 2, 2011 at 11:26 | answer | added | Miloš Rašić | timeline score: 87 | |
Oct 1, 2010 at 9:37 | answer | added | Félix Saparelli | timeline score: 11 | |
May 28, 2010 at 22:05 | answer | added | Eric Schoonover | timeline score: 13 | |
Sep 3, 2009 at 14:27 | history | edited | Esteban Küber |
edited tags
|
|
Sep 3, 2009 at 14:26 | answer | added | Esteban Küber | timeline score: 908 | |
May 2, 2009 at 17:53 | vote | accept | Kredns | ||
Sep 3, 2009 at 22:39 | |||||
May 2, 2009 at 17:23 | answer | added | jacobangel | timeline score: 25 | |
May 2, 2009 at 17:19 | answer | added | Adam McKee | timeline score: 81 | |
May 2, 2009 at 17:18 | answer | added | Paolo Bergantino | timeline score: 375 | |
Sep 7, 2008 at 21:21 | answer | added | Jaymon | timeline score: 533 | |
Sep 7, 2008 at 1:45 | history | edited | Vincent Robert |
edited tags
|
|
Sep 5, 2008 at 17:47 | vote | accept | pix0r | ||
Sep 5, 2008 at 16:15 | answer | added | John Rutherford | timeline score: 6605 | |
Sep 5, 2008 at 16:13 | answer | added | Ben Scheirman | timeline score: 95 | |
Sep 5, 2008 at 16:10 | history | asked | pix0r | CC BY-SA 2.5 |