<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Check Email Address with JavaScript and Regular Expressions</title>
	<atom:link href="http://www.marketingtechblog.com/2007/10/28/javascript-regex-emailaddress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.marketingtechblog.com/2007/10/28/javascript-regex-emailaddress/</link>
	<description>new media strategies and other marketing gems</description>
	<pubDate>Mon, 01 Dec 2008 18:54:16 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: Szubu - LorenB</title>
		<link>http://www.marketingtechblog.com/2007/10/28/javascript-regex-emailaddress/#comment-224365</link>
		<dc:creator>Szubu - LorenB</dc:creator>
		<pubDate>Sun, 05 Oct 2008 06:16:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.douglaskarr.com/2007/10/28/javascript-regex-emailaddress/#comment-224365</guid>
		<description>btw, I really like what you have going on here, your tutorials are very simple, I will definately be bookmarking this one....</description>
		<content:encoded><![CDATA[<div class="KonaBody">btw, I really like what you have going on here, your tutorials are very simple, I will definately be bookmarking this one&#8230;.</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Szubu</title>
		<link>http://www.marketingtechblog.com/2007/10/28/javascript-regex-emailaddress/#comment-224362</link>
		<dc:creator>Szubu</dc:creator>
		<pubDate>Sun, 05 Oct 2008 06:10:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.douglaskarr.com/2007/10/28/javascript-regex-emailaddress/#comment-224362</guid>
		<description>Hi there,

I am tring to use this in an existing form in real-time, but this doesnt appear to be validating in realtime like your password strength checker...

Or, am i just that clueless, and it aint workin for me?</description>
		<content:encoded><![CDATA[<div class="KonaBody">Hi there,</p>
<p>I am tring to use this in an existing form in real-time, but this doesnt appear to be validating in realtime like your password strength checker&#8230;</p>
<p>Or, am i just that clueless, and it aint workin for me?</p></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: gemp</title>
		<link>http://www.marketingtechblog.com/2007/10/28/javascript-regex-emailaddress/#comment-189833</link>
		<dc:creator>gemp</dc:creator>
		<pubDate>Thu, 07 Aug 2008 14:25:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.douglaskarr.com/2007/10/28/javascript-regex-emailaddress/#comment-189833</guid>
		<description>There's much simpler way to write the expression:
&lt;code&gt;var regex = /^[a-z0-9\._-]+@([a-z0-9_-]+\.)+[a-z]{2,6}$/i;&lt;/code&gt;
- With the final modifier /i there's no need to indicate the upper case range.
- I don't know of any &lt;acronym&gt;TLD&lt;/acronym&gt; with numbers in it.
On a side note, I do allow TLD with up to 6 chars; new ones arrive regularly and you never know (well, somme future ones may even have numbers in it, I know).</description>
		<content:encoded><![CDATA[<div class="KonaBody">There&#8217;s much simpler way to write the expression:<br />
<code>var regex = /^[a-z0-9\._-]+@([a-z0-9_-]+\.)+[a-z]{2,6}$/i;</code><br />
- With the final modifier /i there&#8217;s no need to indicate the upper case range.<br />
- I don&#8217;t know of any <acronym>TLD</acronym> with numbers in it.<br />
On a side note, I do allow TLD with up to 6 chars; new ones arrive regularly and you never know (well, somme future ones may even have numbers in it, I know).</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Android</title>
		<link>http://www.marketingtechblog.com/2007/10/28/javascript-regex-emailaddress/#comment-181477</link>
		<dc:creator>Android</dc:creator>
		<pubDate>Thu, 24 Jul 2008 10:32:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.douglaskarr.com/2007/10/28/javascript-regex-emailaddress/#comment-181477</guid>
		<description>Perfect, just what I needed!</description>
		<content:encoded><![CDATA[<div class="KonaBody">Perfect, just what I needed!</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Douglas Karr</title>
		<link>http://www.marketingtechblog.com/2007/10/28/javascript-regex-emailaddress/#comment-61744</link>
		<dc:creator>Douglas Karr</dc:creator>
		<pubDate>Fri, 02 Nov 2007 15:23:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.douglaskarr.com/2007/10/28/javascript-regex-emailaddress/#comment-61744</guid>
		<description>Hi Reg,

You can test out the Regex utilizing an &lt;a href="http://www.quanetic.com/regex.php"&gt;Online Regex Tester&lt;/a&gt;.

Also, there's definitely much more that can be done if you want to ensure an &lt;a href="http://www.douglaskarr.com/2006/12/06/valid-email-address-length/"&gt;email address&lt;/a&gt; is valid in accordance with the RFC.  

There are a few reasons not to allow someone to enter an invalid email address:
1.  They will get annoyed at you when the email they expected doesn't get through - regardless of whether or not it was your fault the address was entered incorrectly.
2.  If com.museum was a valid domain and, let's say, Yahoo! operated it - any email address that bounced would have a negative impact on your company's reputation for email delivery.  This could lead to all of your company's email being blocked.
3.  If your email service provider allowed you to enter bob@com.museum, you'd also pay for each email sent to that email address until they unsubscribed that address due to bounces.  I would steer clear of any ESP that would allow an invalid email address like that - they're just taking your money!

Thanks for stopping by!
Doug</description>
		<content:encoded><![CDATA[<div class="KonaBody">Hi Reg,</p>
<p>You can test out the Regex utilizing an <a href="http://www.quanetic.com/regex.php">Online Regex Tester</a>.</p>
<p>Also, there&#8217;s definitely much more that can be done if you want to ensure an <a href="http://www.douglaskarr.com/2006/12/06/valid-email-address-length/">email address</a> is valid in accordance with the RFC.  </p>
<p>There are a few reasons not to allow someone to enter an invalid email address:<br />
1.  They will get annoyed at you when the email they expected doesn&#8217;t get through - regardless of whether or not it was your fault the address was entered incorrectly.<br />
2.  If com.museum was a valid domain and, let&#8217;s say, Yahoo! operated it - any email address that bounced would have a negative impact on your company&#8217;s reputation for email delivery.  This could lead to all of your company&#8217;s email being blocked.<br />
3.  If your email service provider allowed you to enter <a href="mailto:bob@com.museum">bob@com.museum</a>, you&#8217;d also pay for each email sent to that email address until they unsubscribed that address due to bounces.  I would steer clear of any ESP that would allow an invalid email address like that - they&#8217;re just taking your money!</p>
<p>Thanks for stopping by!<br />
Doug</p></div>
]]></content:encoded>
	</item>
</channel>
</rss>
