<?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, Regex, and Unicode</title>
	<atom:link href="http://blog.stevenlevithan.com/archives/javascript-regex-and-unicode/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.stevenlevithan.com/archives/javascript-regex-and-unicode</link>
	<description>A JavaScript and regular expression centric blog</description>
	<lastBuildDate>Sun, 14 Mar 2010 10:59:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: My Personal Diary &#187; Howto to enable firefox to speak with Festival and few more things!</title>
		<link>http://blog.stevenlevithan.com/archives/javascript-regex-and-unicode/comment-page-1#comment-31707</link>
		<dc:creator>My Personal Diary &#187; Howto to enable firefox to speak with Festival and few more things!</dc:creator>
		<pubDate>Mon, 27 Apr 2009 12:09:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevenlevithan.com/archives/javascript-regex-and-unicode#comment-31707</guid>
		<description>[...] http://blog.stevenlevithan.com/archives/javascript-regex-and-unicode [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://blog.stevenlevithan.com/archives/javascript-regex-and-unicode" rel="nofollow">http://blog.stevenlevithan.com/archives/javascript-regex-and-unicode</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blog.stevenlevithan.com/archives/javascript-regex-and-unicode/comment-page-1#comment-16834</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Mon, 31 Mar 2008 14:17:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevenlevithan.com/archives/javascript-regex-and-unicode#comment-16834</guid>
		<description>@Jason, I think you&#039;re confusing your terminology a little, but to remove all Unicode code points higher than 255 decimal (FF hex) in JavaScript you could use &lt;code&gt;replace(/[\u0100-\uFFFF]+/g, &quot;&quot;)&lt;/code&gt;. The range caps at FFFF hex because JavaScript only supports Unicode&#039;s Basic Multilingual Plane. It might be more useful to kill everything outside the 128 US-ASCII characters. That would be &lt;code&gt;replace(/[\u0080-\uFFFF]+/g, &quot;&quot;)&lt;/code&gt;.</description>
		<content:encoded><![CDATA[<p>@Jason, I think you&#8217;re confusing your terminology a little, but to remove all Unicode code points higher than 255 decimal (FF hex) in JavaScript you could use <code>replace(/[\u0100-\uFFFF]+/g, "")</code>. The range caps at FFFF hex because JavaScript only supports Unicode&#8217;s Basic Multilingual Plane. It might be more useful to kill everything outside the 128 US-ASCII characters. That would be <code>replace(/[\u0080-\uFFFF]+/g, "")</code>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://blog.stevenlevithan.com/archives/javascript-regex-and-unicode/comment-page-1#comment-16830</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Mon, 31 Mar 2008 13:10:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevenlevithan.com/archives/javascript-regex-and-unicode#comment-16830</guid>
		<description>Just for grins, what would the regex be to simply strip out all Unicode chars (i.e. all vals &gt; 255?)</description>
		<content:encoded><![CDATA[<p>Just for grins, what would the regex be to simply strip out all Unicode chars (i.e. all vals &gt; 255?)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://blog.stevenlevithan.com/archives/javascript-regex-and-unicode/comment-page-1#comment-13064</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Wed, 30 Jan 2008 17:59:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevenlevithan.com/archives/javascript-regex-and-unicode#comment-13064</guid>
		<description>There are many different common keyboard layouts. Also, reserved XML characters are present on most keyboards and might need separate, special handling. I would recommend that you refer to regex &lt;a href=&quot;http://www.regular-expressions.info/charclass.html&quot; rel=&quot;nofollow&quot;&gt;character class&lt;/a&gt; documentation, the Windows charmap application, and perhaps a regex forum like &lt;a href=&quot;http://regexadvice.com&quot; rel=&quot;nofollow&quot;&gt;regexadvice.com&lt;/a&gt;.</description>
		<content:encoded><![CDATA[<p>There are many different common keyboard layouts. Also, reserved XML characters are present on most keyboards and might need separate, special handling. I would recommend that you refer to regex <a href="http://www.regular-expressions.info/charclass.html" rel="nofollow">character class</a> documentation, the Windows charmap application, and perhaps a regex forum like <a href="http://regexadvice.com" rel="nofollow">regexadvice.com</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tony G</title>
		<link>http://blog.stevenlevithan.com/archives/javascript-regex-and-unicode/comment-page-1#comment-13063</link>
		<dc:creator>tony G</dc:creator>
		<pubDate>Wed, 30 Jan 2008 17:47:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.stevenlevithan.com/archives/javascript-regex-and-unicode#comment-13063</guid>
		<description>look this is great and its just what I need for my stuff.. unfortunately I&#039;m having problems with symbols. I work with XML and people have been copying and pasting to the text areas from Microsoft word and these stupid special characters that Microsoft has make my programs fail I need a string that contains a-z A-Z 0-9 the typical special characters that u can type from the keyboard and thats it nothing else any one can give me some help with this would be great.</description>
		<content:encoded><![CDATA[<p>look this is great and its just what I need for my stuff.. unfortunately I&#8217;m having problems with symbols. I work with XML and people have been copying and pasting to the text areas from Microsoft word and these stupid special characters that Microsoft has make my programs fail I need a string that contains a-z A-Z 0-9 the typical special characters that u can type from the keyboard and thats it nothing else any one can give me some help with this would be great.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
