<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Validating Email Address Regular Expressions??? in Archive</title>
    <link>https://business.forums.bt.com/t5/Archive/Validating-Email-Address-Regular-Expressions/m-p/49018#M14819</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&amp;nbsp;I am trying to make this regular express for a email validation work, anyone see what might be the problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; 

 &amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "&lt;A target="_blank" href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&lt;/A&gt;"&amp;gt;
&amp;lt;html xmlns="&lt;A target="_blank" href="http://www.w3.org/1999/xhtml"&gt;http://www.w3.org/1999/xhtml&lt;/A&gt;"&amp;gt;

&amp;lt;head&amp;gt;

&amp;lt;meta name="generator" content="HTML Tidy for Linux (vers 1 September 2005), see &lt;A target="_blank" href="http://www.w3.org"&gt;www.w3.org&lt;/A&gt;" /&amp;gt;

&amp;lt;script language="javascript"&amp;gt;
function checkEmail {
var email = document.getElementById(’emailaddress’);
var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
if (!filter.test(email.value)) {
alert(’Please provide a valid email address’);
email.focus
return false;
}
}
&amp;lt;/script&amp;gt;

&amp;lt;/head&amp;gt;

&amp;lt;body&amp;gt;

&amp;lt;div&amp;gt;

&amp;lt;form name="emailaddress" id="emailaddress" method="post" action="index.html" onSubmit="return checkEmail();"&amp;gt;
&amp;lt;fieldset&amp;gt;&amp;lt;legend&amp;gt;What's Your Name&amp;lt;/legend&amp;gt;

&amp;lt;table&amp;gt;

&amp;lt;tr&amp;gt;
&amp;lt;td&amp;gt;Email&amp;lt;/td&amp;gt;
&amp;lt;td&amp;gt;&amp;lt;input class="text" id="emailaddress" name="emailaddress" size="20" /&amp;gt;&amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;

&amp;lt;/table&amp;gt;


&amp;lt;/fieldset&amp;gt;

&amp;lt;p id="formbuttons"&amp;gt;&amp;lt;input type="submit" name="nextb" id="nextb" value=" Next " /&amp;gt; &amp;lt;/p&amp;gt;

&amp;lt;/form&amp;gt;

&amp;lt;/div&amp;gt;

&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Thanks&lt;IMG border="0" src="http://imagicon.info/cat/12-1/text-smiley.png" /&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Dec 2012 19:29:54 GMT</pubDate>
    <dc:creator>abirhasan</dc:creator>
    <dc:date>2012-12-24T19:29:54Z</dc:date>
    <item>
      <title>Validating Email Address Regular Expressions???</title>
      <link>https://business.forums.bt.com/t5/Archive/Validating-Email-Address-Regular-Expressions/m-p/49018#M14819</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&amp;nbsp;I am trying to make this regular express for a email validation work, anyone see what might be the problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt; 

 &amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "&lt;A target="_blank" href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&lt;/A&gt;"&amp;gt;
&amp;lt;html xmlns="&lt;A target="_blank" href="http://www.w3.org/1999/xhtml"&gt;http://www.w3.org/1999/xhtml&lt;/A&gt;"&amp;gt;

&amp;lt;head&amp;gt;

&amp;lt;meta name="generator" content="HTML Tidy for Linux (vers 1 September 2005), see &lt;A target="_blank" href="http://www.w3.org"&gt;www.w3.org&lt;/A&gt;" /&amp;gt;

&amp;lt;script language="javascript"&amp;gt;
function checkEmail {
var email = document.getElementById(’emailaddress’);
var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;
if (!filter.test(email.value)) {
alert(’Please provide a valid email address’);
email.focus
return false;
}
}
&amp;lt;/script&amp;gt;

&amp;lt;/head&amp;gt;

&amp;lt;body&amp;gt;

&amp;lt;div&amp;gt;

&amp;lt;form name="emailaddress" id="emailaddress" method="post" action="index.html" onSubmit="return checkEmail();"&amp;gt;
&amp;lt;fieldset&amp;gt;&amp;lt;legend&amp;gt;What's Your Name&amp;lt;/legend&amp;gt;

&amp;lt;table&amp;gt;

&amp;lt;tr&amp;gt;
&amp;lt;td&amp;gt;Email&amp;lt;/td&amp;gt;
&amp;lt;td&amp;gt;&amp;lt;input class="text" id="emailaddress" name="emailaddress" size="20" /&amp;gt;&amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;

&amp;lt;/table&amp;gt;


&amp;lt;/fieldset&amp;gt;

&amp;lt;p id="formbuttons"&amp;gt;&amp;lt;input type="submit" name="nextb" id="nextb" value=" Next " /&amp;gt; &amp;lt;/p&amp;gt;

&amp;lt;/form&amp;gt;

&amp;lt;/div&amp;gt;

&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Thanks&lt;IMG border="0" src="http://imagicon.info/cat/12-1/text-smiley.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Dec 2012 19:29:54 GMT</pubDate>
      <guid>https://business.forums.bt.com/t5/Archive/Validating-Email-Address-Regular-Expressions/m-p/49018#M14819</guid>
      <dc:creator>abirhasan</dc:creator>
      <dc:date>2012-12-24T19:29:54Z</dc:date>
    </item>
  </channel>
</rss>

