<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ruslan Ulanov's Codeshack &#187; JavaScript</title>
	<atom:link href="http://ulanoff.com/blogs/codeshack/tag/javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://ulanoff.com/blogs/codeshack</link>
	<description>The developer's notebook</description>
	<lastBuildDate>Tue, 29 Sep 2009 00:33:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Useful JavaScript Regular Expression Functions</title>
		<link>http://ulanoff.com/blogs/codeshack/2009/09/04/useful-javascript-regular-expression-functions/</link>
		<comments>http://ulanoff.com/blogs/codeshack/2009/09/04/useful-javascript-regular-expression-functions/#comments</comments>
		<pubDate>Fri, 04 Sep 2009 20:16:49 +0000</pubDate>
		<dc:creator>Ruslan Ulanov</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[regex]]></category>

		<guid isPermaLink="false">http://ulanoff.com/blogs/codeshack/?p=45</guid>
		<description><![CDATA[Here&#8217;s a few links for commonly used REGEXs.. 10+ Useful JavaScript Regular Expression Functions to improve your web applications efficiency [javascript]// check that an input string looks like a valid email address. var isEmail_re = /^\s*[\w\-\+_]+(\.[\w\-\+_]+)*\@[\w\-\+_]+\.[\w\-\+_]+(\.[\w\-\+_]+)*\s*$/; function isEmail (s) { return String(s).search (isEmail_re) != -1; }[/javascript]     [javascript]// returns a string with everything but [...]]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a few links for commonly used REGEXs..</p>
<p><a title="Permanent Link to 10+ Useful JavaScript Regular Expression Functions to improve your web applications efficiency" rel="bookmark" href="http://ntt.cc/2008/05/10/over-10-useful-javascript-regular-expression-functions-to-improve-your-web-applications-efficiency.html">10+ Useful JavaScript Regular Expression Functions to improve your web applications efficiency</a></p>
<p>[javascript]// check that an input string looks like a valid email address.</p>
<p>var isEmail_re = /^\s*[\w\-\+_]+(\.[\w\-\+_]+)*\@[\w\-\+_]+\.[\w\-\+_]+(\.[\w\-\+_]+)*\s*$/;<br />
function isEmail (s) {<br />
  return String(s).search (isEmail_re) != -1;<br />
}[/javascript]</p>
<p> <br />
 </p>
<p>[javascript]// returns a string with everything but the digits removed. Could be used to validate phone numbers, etc.</p>
<p>function getdigits (s) {<br />
  return s.replace (/[^\d]/g, “”);<br />
}<br />
[/javascript]</p>
]]></content:encoded>
			<wfw:commentRss>http://ulanoff.com/blogs/codeshack/2009/09/04/useful-javascript-regular-expression-functions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Regular Expressions in YUI CellEditor</title>
		<link>http://ulanoff.com/blogs/codeshack/2009/01/28/using-regular-expressions-in-yui-celleditor/</link>
		<comments>http://ulanoff.com/blogs/codeshack/2009/01/28/using-regular-expressions-in-yui-celleditor/#comments</comments>
		<pubDate>Wed, 28 Jan 2009 22:35:42 +0000</pubDate>
		<dc:creator>Ruslan Ulanov</dc:creator>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[YUI]]></category>

		<guid isPermaLink="false">http://ulanoff.com/blogs/codeshack/?p=15</guid>
		<description><![CDATA[Here&#8217;s a nice example of validating data in DataTable&#8217;s CellEditor using regular expressions. http://www.satyam.com.ar/yui/2.6.0/invoice.html]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s a nice example of validating data in DataTable&#8217;s CellEditor using regular expressions.</p>
<p><a href="http://www.satyam.com.ar/yui/2.6.0/invoice.html">http://www.satyam.com.ar/yui/2.6.0/invoice.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://ulanoff.com/blogs/codeshack/2009/01/28/using-regular-expressions-in-yui-celleditor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
