<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Tue, 21 May 2013 15:54:57 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Tiffany Brown's Blog: A better RegEx pattern for matching e-mail addresses]]></title>
      <guid>http://www.phpdeveloper.org/news/6880</guid>
      <link>http://www.phpdeveloper.org/news/6880</link>
      <description><![CDATA[<p>
Though not specifically related to PHP, I wanted to share <a href="http://tiffanybbrown.com/2006/12/12/a-better-regex-pattern-for-matching-e-mail-addresses/">a helpful tip</a> that <i>Tiffany Brown</i> has posted to her blog today - a nice, compact regular expression to handle the matching of email addresses.
</p>
<blockquote>
A few weeks ago, I posted a regular expression pattern < href="http://tiffanybbrown.com/2006/11/09/a-pattern-for-matching-e-mail-addresses/">for matching e-mail addresses</a>. Below is a more refined version:
</blockquote>
[php]
^[-+.w]{1,64}@[-.w]{1,64}.[-.w]{2,6}$
[/php]
<p>
Not only does it match the traditional email address formats, but it also will match addresses with periods in the name, British domains, and new TLDs like '.travel' or '.museum'.
</p>]]></description>
      <pubDate>Wed, 13 Dec 2006 08:15:00 -0600</pubDate>
    </item>
  </channel>
</rss>
