<?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: Strip non alphanumeric characters from a string with php</title>
	<atom:link href="http://www.emanueleferonato.com/2006/07/27/strip-non-alphanumeric-characters-from-a-string-with-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.emanueleferonato.com/2006/07/27/strip-non-alphanumeric-characters-from-a-string-with-php/</link>
	<description>italian geek and PROgrammer</description>
	<lastBuildDate>Fri, 30 Jul 2010 17:37:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<item>
		<title>By: Kyle</title>
		<link>http://www.emanueleferonato.com/2006/07/27/strip-non-alphanumeric-characters-from-a-string-with-php/#comment-593389</link>
		<dc:creator>Kyle</dc:creator>
		<pubDate>Wed, 23 Jun 2010 04:12:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2006/07/27/strip-non-alphanumeric-characters-from-a-string-with-php/#comment-593389</guid>
		<description>Make sure to add a slash &#039;/&#039; before the first bracket and after the second.</description>
		<content:encoded><![CDATA[<p>Make sure to add a slash &#8216;/&#8217; before the first bracket and after the second.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.emanueleferonato.com/2006/07/27/strip-non-alphanumeric-characters-from-a-string-with-php/#comment-563427</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Thu, 01 Apr 2010 14:05:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2006/07/27/strip-non-alphanumeric-characters-from-a-string-with-php/#comment-563427</guid>
		<description>@ Jason
Not really, using trim you have to specify *all* the chars you don&#039;t want preg_replace / ereg_replace and a regex allow you to specify the chars you want i.e only letters etc.</description>
		<content:encoded><![CDATA[<p>@ Jason<br />
Not really, using trim you have to specify *all* the chars you don&#8217;t want preg_replace / ereg_replace and a regex allow you to specify the chars you want i.e only letters etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pligg.com</title>
		<link>http://www.emanueleferonato.com/2006/07/27/strip-non-alphanumeric-characters-from-a-string-with-php/#comment-560517</link>
		<dc:creator>pligg.com</dc:creator>
		<pubDate>Wed, 24 Mar 2010 21:16:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2006/07/27/strip-non-alphanumeric-characters-from-a-string-with-php/#comment-560517</guid>
		<description>&lt;strong&gt;Strip non alphanumeric characters from a string with php : Emanuele Feronato - italian geek and PROgrammer...&lt;/strong&gt;

leave only alphanumeric characters - no punctuation, special chars....</description>
		<content:encoded><![CDATA[<p><strong>Strip non alphanumeric characters from a string with php : Emanuele Feronato &#8211; italian geek and PROgrammer&#8230;</strong></p>
<p>leave only alphanumeric characters &#8211; no punctuation, special chars&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Zim</title>
		<link>http://www.emanueleferonato.com/2006/07/27/strip-non-alphanumeric-characters-from-a-string-with-php/#comment-541808</link>
		<dc:creator>Zim</dc:creator>
		<pubDate>Sat, 30 Jan 2010 05:09:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2006/07/27/strip-non-alphanumeric-characters-from-a-string-with-php/#comment-541808</guid>
		<description>Yay! Thank you :)</description>
		<content:encoded><![CDATA[<p>Yay! Thank you :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anon</title>
		<link>http://www.emanueleferonato.com/2006/07/27/strip-non-alphanumeric-characters-from-a-string-with-php/#comment-517040</link>
		<dc:creator>anon</dc:creator>
		<pubDate>Sat, 31 Oct 2009 17:34:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2006/07/27/strip-non-alphanumeric-characters-from-a-string-with-php/#comment-517040</guid>
		<description>Insta, YOU&#039;RE A FREEKING LIFE SAVER</description>
		<content:encoded><![CDATA[<p>Insta, YOU&#8217;RE A FREEKING LIFE SAVER</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sioux</title>
		<link>http://www.emanueleferonato.com/2006/07/27/strip-non-alphanumeric-characters-from-a-string-with-php/#comment-492077</link>
		<dc:creator>sioux</dc:creator>
		<pubDate>Fri, 28 Aug 2009 14:31:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2006/07/27/strip-non-alphanumeric-characters-from-a-string-with-php/#comment-492077</guid>
		<description>well then try this

\\sioux &amp;  sioux[pass] *-/:, ? sioux 
they all leave &#039;extra&#039; chars except \\</description>
		<content:encoded><![CDATA[<p>well then try this</p>
<p>\\sioux &amp;  sioux[pass] *-/:, ? sioux<br />
they all leave &#8216;extra&#8217; chars except \\</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: insta</title>
		<link>http://www.emanueleferonato.com/2006/07/27/strip-non-alphanumeric-characters-from-a-string-with-php/#comment-476598</link>
		<dc:creator>insta</dc:creator>
		<pubDate>Thu, 23 Jul 2009 05:38:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2006/07/27/strip-non-alphanumeric-characters-from-a-string-with-php/#comment-476598</guid>
		<description>$result = preg_replace(&quot;/[^A-Za-z0-9\s\s+\.\:\-\/%+\(\)\*\&amp;\$\#\!\@\&quot;\&#039;;\n\t\r]/&quot;,&quot;&quot;,$text);

Leaves almost every &quot;normal&quot; character. It&#039;s my effort to nuke really weird characters that render as boxes in IE and question marks on a diamond background in Firefox.</description>
		<content:encoded><![CDATA[<p>$result = preg_replace(&#8220;/[^A-Za-z0-9\s\s+\.\:\-\/%+\(\)\*\&amp;\$\#\!\@\"\';\n\t\r]/&#8221;,&#8221;",$text);</p>
<p>Leaves almost every &#8220;normal&#8221; character. It&#8217;s my effort to nuke really weird characters that render as boxes in IE and question marks on a diamond background in Firefox.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://www.emanueleferonato.com/2006/07/27/strip-non-alphanumeric-characters-from-a-string-with-php/#comment-460247</link>
		<dc:creator>James</dc:creator>
		<pubDate>Fri, 12 Jun 2009 05:47:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2006/07/27/strip-non-alphanumeric-characters-from-a-string-with-php/#comment-460247</guid>
		<description>Thank you.  You are right about this code being hard to find on the Internet.</description>
		<content:encoded><![CDATA[<p>Thank you.  You are right about this code being hard to find on the Internet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian</title>
		<link>http://www.emanueleferonato.com/2006/07/27/strip-non-alphanumeric-characters-from-a-string-with-php/#comment-453962</link>
		<dc:creator>Ian</dc:creator>
		<pubDate>Thu, 28 May 2009 09:58:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2006/07/27/strip-non-alphanumeric-characters-from-a-string-with-php/#comment-453962</guid>
		<description>$new_string = ereg_replace(&quot;[^A-Za-z0-9] &quot;, &quot;&quot;, $string_to_be_stripped );

This will include spaces as well</description>
		<content:encoded><![CDATA[<p>$new_string = ereg_replace(&#8220;[^A-Za-z0-9] &#8220;, &#8220;&#8221;, $string_to_be_stripped );</p>
<p>This will include spaces as well</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://www.emanueleferonato.com/2006/07/27/strip-non-alphanumeric-characters-from-a-string-with-php/#comment-436086</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Mon, 20 Apr 2009 18:59:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.emanueleferonato.com/2006/07/27/strip-non-alphanumeric-characters-from-a-string-with-php/#comment-436086</guid>
		<description>most people would use trim($string,$charlist) to do this.</description>
		<content:encoded><![CDATA[<p>most people would use trim($string,$charlist) to do this.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
