<?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: Php Remove Non-Alphanumeric Characters</title>
	<atom:link href="http://newsourcemedia.com/blog/php-remove-non-alphanumeric-characters/feed/" rel="self" type="application/rss+xml" />
	<link>http://newsourcemedia.com/blog/php-remove-non-alphanumeric-characters/</link>
	<description>Flash, PHP, Javascript and Mac OS X</description>
	<lastBuildDate>Mon, 08 Mar 2010 13:29:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Chris Shennan</title>
		<link>http://newsourcemedia.com/blog/php-remove-non-alphanumeric-characters/comment-page-1/#comment-398</link>
		<dc:creator>Chris Shennan</dc:creator>
		<pubDate>Wed, 13 Jan 2010 13:50:53 +0000</pubDate>
		<guid isPermaLink="false">http://newsourcemedia.com/blog/2006/12/27/php-remove-non-alphanumeric-characters/#comment-398</guid>
		<description>I needed to work out the number of capital letters in a string and this helped strip out the punctuation so I only have the alphanumeric characters to work with.

Many Thanks.

Chris.</description>
		<content:encoded><![CDATA[<p>I needed to work out the number of capital letters in a string and this helped strip out the punctuation so I only have the alphanumeric characters to work with.</p>
<p>Many Thanks.</p>
<p>Chris.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: elly</title>
		<link>http://newsourcemedia.com/blog/php-remove-non-alphanumeric-characters/comment-page-1/#comment-343</link>
		<dc:creator>elly</dc:creator>
		<pubDate>Fri, 02 Oct 2009 06:18:33 +0000</pubDate>
		<guid isPermaLink="false">http://newsourcemedia.com/blog/2006/12/27/php-remove-non-alphanumeric-characters/#comment-343</guid>
		<description>what if want to delete more than one space between the word?</description>
		<content:encoded><![CDATA[<p>what if want to delete more than one space between the word?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Deitrich</title>
		<link>http://newsourcemedia.com/blog/php-remove-non-alphanumeric-characters/comment-page-1/#comment-339</link>
		<dc:creator>Deitrich</dc:creator>
		<pubDate>Sat, 19 Sep 2009 04:16:28 +0000</pubDate>
		<guid isPermaLink="false">http://newsourcemedia.com/blog/2006/12/27/php-remove-non-alphanumeric-characters/#comment-339</guid>
		<description>Thanks! I am surprised that there is not a built in function for this.  I am trying to get an article title to become a part of url in order to do so it first has to become alphanumeric then the spaces have to be replaced with something (dashes in my case).  I wonder if there is a ready made function that I just have not came across yet. 

preg_replace will work for now.  Thank you.</description>
		<content:encoded><![CDATA[<p>Thanks! I am surprised that there is not a built in function for this.  I am trying to get an article title to become a part of url in order to do so it first has to become alphanumeric then the spaces have to be replaced with something (dashes in my case).  I wonder if there is a ready made function that I just have not came across yet. </p>
<p>preg_replace will work for now.  Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FUNKER</title>
		<link>http://newsourcemedia.com/blog/php-remove-non-alphanumeric-characters/comment-page-1/#comment-327</link>
		<dc:creator>FUNKER</dc:creator>
		<pubDate>Sun, 06 Sep 2009 06:24:47 +0000</pubDate>
		<guid isPermaLink="false">http://newsourcemedia.com/blog/2006/12/27/php-remove-non-alphanumeric-characters/#comment-327</guid>
		<description>@PINOY

/[^a-zA-Z0-9.\s]/</description>
		<content:encoded><![CDATA[<p>@PINOY</p>
<p>/[^a-zA-Z0-9.\s]/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matthew fedak</title>
		<link>http://newsourcemedia.com/blog/php-remove-non-alphanumeric-characters/comment-page-1/#comment-291</link>
		<dc:creator>matthew fedak</dc:creator>
		<pubDate>Mon, 29 Jun 2009 12:35:16 +0000</pubDate>
		<guid isPermaLink="false">http://newsourcemedia.com/blog/2006/12/27/php-remove-non-alphanumeric-characters/#comment-291</guid>
		<description>thankyou, I am using in a php search function on an ink cartridge site</description>
		<content:encoded><![CDATA[<p>thankyou, I am using in a php search function on an ink cartridge site</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RR</title>
		<link>http://newsourcemedia.com/blog/php-remove-non-alphanumeric-characters/comment-page-1/#comment-276</link>
		<dc:creator>RR</dc:creator>
		<pubDate>Mon, 25 May 2009 13:21:59 +0000</pubDate>
		<guid isPermaLink="false">http://newsourcemedia.com/blog/2006/12/27/php-remove-non-alphanumeric-characters/#comment-276</guid>
		<description>A-HA The PROBLEM was that I DID cut and paste the code.

Swapped the fancy quotes for regular quotes and all is well.</description>
		<content:encoded><![CDATA[<p>A-HA The PROBLEM was that I DID cut and paste the code.</p>
<p>Swapped the fancy quotes for regular quotes and all is well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RR</title>
		<link>http://newsourcemedia.com/blog/php-remove-non-alphanumeric-characters/comment-page-1/#comment-275</link>
		<dc:creator>RR</dc:creator>
		<pubDate>Mon, 25 May 2009 13:11:57 +0000</pubDate>
		<guid isPermaLink="false">http://newsourcemedia.com/blog/2006/12/27/php-remove-non-alphanumeric-characters/#comment-275</guid>
		<description>Hmmm - cut and pasted your code into an otherwise working script.
I receive the following error:
&quot;Parse error: syntax error, unexpected &#039;[&#039; in {path} on line 139.&quot;

switch($UserType)
{
   case &quot;PA&quot;:
      // Generate a Program Code
      // First remove numbers, symbols and spaces
      $alphastring = preg_replace(“/[^a-zA-Z0-9]/”, “”, $OrgName);</description>
		<content:encoded><![CDATA[<p>Hmmm &#8211; cut and pasted your code into an otherwise working script.<br />
I receive the following error:<br />
&#8220;Parse error: syntax error, unexpected &#8216;[' in {path} on line 139."</p>
<p>switch($UserType)<br />
{<br />
   case "PA":<br />
      // Generate a Program Code<br />
      // First remove numbers, symbols and spaces<br />
      $alphastring = preg_replace(“/[^a-zA-Z0-9]/”, “”, $OrgName);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pinoywebdev</title>
		<link>http://newsourcemedia.com/blog/php-remove-non-alphanumeric-characters/comment-page-1/#comment-270</link>
		<dc:creator>pinoywebdev</dc:creator>
		<pubDate>Mon, 18 May 2009 02:40:08 +0000</pubDate>
		<guid isPermaLink="false">http://newsourcemedia.com/blog/2006/12/27/php-remove-non-alphanumeric-characters/#comment-270</guid>
		<description>how if you want to have dot (.) kept in the string? what is your regular expression?

is it: /[^a-zA-Z0-9\s]+[^.]/</description>
		<content:encoded><![CDATA[<p>how if you want to have dot (.) kept in the string? what is your regular expression?</p>
<p>is it: /[^a-zA-Z0-9\s]+[^.]/</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: courtney</title>
		<link>http://newsourcemedia.com/blog/php-remove-non-alphanumeric-characters/comment-page-1/#comment-180</link>
		<dc:creator>courtney</dc:creator>
		<pubDate>Sat, 02 May 2009 09:39:27 +0000</pubDate>
		<guid isPermaLink="false">http://newsourcemedia.com/blog/2006/12/27/php-remove-non-alphanumeric-characters/#comment-180</guid>
		<description>how do u allow a fullstop to be left? am removing stuff from file names but i want the fullstop left so that the extension is maintained.</description>
		<content:encoded><![CDATA[<p>how do u allow a fullstop to be left? am removing stuff from file names but i want the fullstop left so that the extension is maintained.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: courtney</title>
		<link>http://newsourcemedia.com/blog/php-remove-non-alphanumeric-characters/comment-page-1/#comment-150</link>
		<dc:creator>courtney</dc:creator>
		<pubDate>Thu, 16 Apr 2009 20:49:19 +0000</pubDate>
		<guid isPermaLink="false">http://newsourcemedia.com/blog/2006/12/27/php-remove-non-alphanumeric-characters/#comment-150</guid>
		<description>saved my skin!!! i&#039;ve been trying to get rid of the crap from my xml feed with no luck until i found this! thanks</description>
		<content:encoded><![CDATA[<p>saved my skin!!! i&#039;ve been trying to get rid of the crap from my xml feed with no luck until i found this! thanks</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! -->