<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/regex/tags/phone</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 29 Aug 2008 21:56:26 GMT</pubDate>
<item>
<title>(Regular Expression) Regular Expressions for U.S. Phone Numbers - wizard04</title>
<link>http://snipplr.com/view/7622/regular-expressions-for-us-phone-numbers/</link>
<description><![CDATA[ <p>(Created for JavaScript)

These are rather forgiving. Spaces, dashes, or periods are allowed as separators. Extensions can be recognized by several strings (#, x, x., ext, ext., extension).

Area code: $1$2  
Exchange code: $3  
Station code: $4  
Extension / Extra characters: $5

Separators are not accepted within the $3$4$5 portion of a vanity number.

Example: (540) 555-0123 ext.678 --> `($1$2) $3-$4 ext.$5`  
Example: 1-800-GOODFOOD --> `1-$1$2-$3$4$5`</p> ]]></description>
<pubDate>Thu, 31 Jul 2008 14:10:51 GMT</pubDate>
<guid>http://snipplr.com/view/7622/regular-expressions-for-us-phone-numbers/</guid>
</item>
<item>
<title>(Regular Expression) US Phone Number with extension, flexible - martinkas</title>
<link>http://snipplr.com/view/5407/us-phone-number-with-extension-flexible/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 13 Mar 2008 15:07:31 GMT</pubDate>
<guid>http://snipplr.com/view/5407/us-phone-number-with-extension-flexible/</guid>
</item>
</channel>
</rss>