<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Javascript Non Alphanumeric Characters Regex</title>
	<atom:link href="http://newsourcemedia.com/blog/javascript-non-alphanumeric-characters-regex/feed/" rel="self" type="application/rss+xml" />
	<link>http://newsourcemedia.com/blog/javascript-non-alphanumeric-characters-regex/</link>
	<description>Focused on Interactive Design, Development and Marketing</description>
	<lastBuildDate>Wed, 23 May 2012 11:06:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: iuh</title>
		<link>http://newsourcemedia.com/blog/javascript-non-alphanumeric-characters-regex/comment-page-1/#comment-694</link>
		<dc:creator>iuh</dc:creator>
		<pubDate>Fri, 02 Sep 2011 08:32:44 +0000</pubDate>
		<guid isPermaLink="false">http://newsourcemedia.com/blog/2006/12/28/javascript-non-alphanumeric-characters-regex/#comment-694</guid>
		<description>does not support internationalization!</description>
		<content:encoded><![CDATA[<p>does not support internationalization!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: test again@@</title>
		<link>http://newsourcemedia.com/blog/javascript-non-alphanumeric-characters-regex/comment-page-1/#comment-570</link>
		<dc:creator>test again@@</dc:creator>
		<pubDate>Sat, 22 Jan 2011 04:49:42 +0000</pubDate>
		<guid isPermaLink="false">http://newsourcemedia.com/blog/2006/12/28/javascript-non-alphanumeric-characters-regex/#comment-570</guid>
		<description>123!! #%&gt;&gt;23d test</description>
		<content:encoded><![CDATA[<p>123!! #%&gt;&gt;23d test</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: yuvaraj</title>
		<link>http://newsourcemedia.com/blog/javascript-non-alphanumeric-characters-regex/comment-page-1/#comment-525</link>
		<dc:creator>yuvaraj</dc:creator>
		<pubDate>Fri, 15 Oct 2010 08:31:12 +0000</pubDate>
		<guid isPermaLink="false">http://newsourcemedia.com/blog/2006/12/28/javascript-non-alphanumeric-characters-regex/#comment-525</guid>
		<description>In Advance Thanks.The following code works for me with out accepting the wild cards in middle of the string:)</description>
		<content:encoded><![CDATA[<p>In Advance Thanks.The following code works for me with out accepting the wild cards in middle of the string:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AfreX</title>
		<link>http://newsourcemedia.com/blog/javascript-non-alphanumeric-characters-regex/comment-page-1/#comment-428</link>
		<dc:creator>AfreX</dc:creator>
		<pubDate>Thu, 25 Feb 2010 10:53:34 +0000</pubDate>
		<guid isPermaLink="false">http://newsourcemedia.com/blog/2006/12/28/javascript-non-alphanumeric-characters-regex/#comment-428</guid>
		<description>/\W/ is a nice shortcut, but it excludes the space.

I used this for alphanumeric and space input only.

EXAMPLE

function checkAlphanumeric(v) {
var regex=/^[0-9a-zA-Zs&#039; &#039;]+$/; //^[a-zA-z&#039; &#039;]+$/
if(regex.test(v.value)){
return true;
} else {
alert(lng.js_req_alphanumeric)
return false;
}
}


And for the form input onKeyUp=&quot;return checkAlphanumeric(this)&quot;

EXAMPLE:
</description>
		<content:encoded><![CDATA[<p>/\W/ is a nice shortcut, but it excludes the space.</p>
<p>I used this for alphanumeric and space input only.</p>
<p>EXAMPLE</p>
<p>function checkAlphanumeric(v) {<br />
var regex=/^[0-9a-zA-Zs' ']+$/; //^[a-zA-z' ']+$/<br />
if(regex.test(v.value)){<br />
return true;<br />
} else {<br />
alert(lng.js_req_alphanumeric)<br />
return false;<br />
}<br />
}</p>
<p>And for the form input onKeyUp=&#8221;return checkAlphanumeric(this)&#8221;</p>
<p>EXAMPLE:</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: avo</title>
		<link>http://newsourcemedia.com/blog/javascript-non-alphanumeric-characters-regex/comment-page-1/#comment-403</link>
		<dc:creator>avo</dc:creator>
		<pubDate>Sun, 31 Jan 2010 10:31:03 +0000</pubDate>
		<guid isPermaLink="false">http://newsourcemedia.com/blog/2006/12/28/javascript-non-alphanumeric-characters-regex/#comment-403</guid>
		<description>Very helpful, thanks. Though restricting character input for passwords is a little silly, and rather insecure.</description>
		<content:encoded><![CDATA[<p>Very helpful, thanks. Though restricting character input for passwords is a little silly, and rather insecure.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vipul</title>
		<link>http://newsourcemedia.com/blog/javascript-non-alphanumeric-characters-regex/comment-page-1/#comment-399</link>
		<dc:creator>Vipul</dc:creator>
		<pubDate>Mon, 25 Jan 2010 05:31:46 +0000</pubDate>
		<guid isPermaLink="false">http://newsourcemedia.com/blog/2006/12/28/javascript-non-alphanumeric-characters-regex/#comment-399</guid>
		<description>Thanx for your article!!
This was very much helpful and deftly saved our lot of time..</description>
		<content:encoded><![CDATA[<p>Thanx for your article!!<br />
This was very much helpful and deftly saved our lot of time..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Chaffee</title>
		<link>http://newsourcemedia.com/blog/javascript-non-alphanumeric-characters-regex/comment-page-1/#comment-318</link>
		<dc:creator>Mark Chaffee</dc:creator>
		<pubDate>Sat, 15 Aug 2009 04:45:13 +0000</pubDate>
		<guid isPermaLink="false">http://newsourcemedia.com/blog/2006/12/28/javascript-non-alphanumeric-characters-regex/#comment-318</guid>
		<description>Since it is regex, wont /\W/ work just as well?</description>
		<content:encoded><![CDATA[<p>Since it is regex, wont /\W/ work just as well?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Javascrit Remove Non-Alphanumeric Characters - Good quality PHP, ASP.NET, Ajax and JavaScript script collection and resource blog.</title>
		<link>http://newsourcemedia.com/blog/javascript-non-alphanumeric-characters-regex/comment-page-1/#comment-277</link>
		<dc:creator>Javascrit Remove Non-Alphanumeric Characters - Good quality PHP, ASP.NET, Ajax and JavaScript script collection and resource blog.</dc:creator>
		<pubDate>Wed, 27 May 2009 14:21:38 +0000</pubDate>
		<guid isPermaLink="false">http://newsourcemedia.com/blog/2006/12/28/javascript-non-alphanumeric-characters-regex/#comment-277</guid>
		<description>[...] Visit website. [...]</description>
		<content:encoded><![CDATA[<p>[...] Visit website. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jonathan</title>
		<link>http://newsourcemedia.com/blog/javascript-non-alphanumeric-characters-regex/comment-page-1/#comment-250</link>
		<dc:creator>jonathan</dc:creator>
		<pubDate>Thu, 14 May 2009 07:58:30 +0000</pubDate>
		<guid isPermaLink="false">http://newsourcemedia.com/blog/2006/12/28/javascript-non-alphanumeric-characters-regex/#comment-250</guid>
		<description>&quot;For mixed text and numbers, with spaces /^[0-9a-zA-Zs]+$/&quot;

This does not work !

Here is the correct one :

/^[0-9a-zA-Z\s]+$/&quot;

BTW, thanks for your article that saved us bunch of hours !</description>
		<content:encoded><![CDATA[<p>&#8220;For mixed text and numbers, with spaces /^[0-9a-zA-Zs]+$/&#8221;</p>
<p>This does not work !</p>
<p>Here is the correct one :</p>
<p>/^[0-9a-zA-Z\s]+$/&#8221;</p>
<p>BTW, thanks for your article that saved us bunch of hours !</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
