<?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"
	>
<channel>
	<title>Comments on: Search and replace using reg exp</title>
	<atom:link href="http://www.chapter31.com/2007/12/08/search-and-replace-using-reg-exp/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chapter31.com/2007/12/08/search-and-replace-using-reg-exp/</link>
	<description>development in a land far far away...</description>
	<pubDate>Thu, 28 Aug 2008 16:33:27 +0000</pubDate>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>By: Michael Sharman</title>
		<link>http://www.chapter31.com/2007/12/08/search-and-replace-using-reg-exp/#comment-29674</link>
		<dc:creator>Michael Sharman</dc:creator>
		<pubDate>Mon, 10 Dec 2007 12:03:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/12/08/search-and-replace-using-reg-exp/#comment-29674</guid>
		<description>Ah thanks for that Duncan, I just upgraded Wordpress...seems my theme is out of date. I'll have to take a peek.</description>
		<content:encoded><![CDATA[<p>Ah thanks for that Duncan, I just upgraded Wordpress&#8230;seems my theme is out of date. I&#8217;ll have to take a peek.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: duncan</title>
		<link>http://www.chapter31.com/2007/12/08/search-and-replace-using-reg-exp/#comment-29660</link>
		<dc:creator>duncan</dc:creator>
		<pubDate>Mon, 10 Dec 2007 09:45:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/12/08/search-and-replace-using-reg-exp/#comment-29660</guid>
		<description>ps, get the following error when I post comments:



WordPress database error: [Table 'chapter31.wp_post2cat' doesn't exist]
SELECT cat_ID AS ID, MAX(post_modified) AS last_mod FROM `wp_posts` p LEFT JOIN `wp_post2cat` pc ON p.ID = pc.post_id LEFT JOIN `wp_categories` c ON pc.category_id = c.cat_ID WHERE post_status = 'publish' GROUP BY cat_ID</description>
		<content:encoded><![CDATA[<p>ps, get the following error when I post comments:</p>
<p>WordPress database error: [Table 'chapter31.wp_post2cat' doesn't exist]<br />
SELECT cat_ID AS ID, MAX(post_modified) AS last_mod FROM `wp_posts` p LEFT JOIN `wp_post2cat` pc ON p.ID = pc.post_id LEFT JOIN `wp_categories` c ON pc.category_id = c.cat_ID WHERE post_status = &#8216;publish&#8217; GROUP BY cat_ID</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: duncan</title>
		<link>http://www.chapter31.com/2007/12/08/search-and-replace-using-reg-exp/#comment-29659</link>
		<dc:creator>duncan</dc:creator>
		<pubDate>Mon, 10 Dec 2007 09:44:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/12/08/search-and-replace-using-reg-exp/#comment-29659</guid>
		<description>hmmm, Wordpress strips html.  try again:

One area I use it in a lot is when I have a large block of data, usually imported from Excel, that I need to turn into some CF code.  (You could probably do this best using the spreadsheet as a datasource, but if you don't want to setup a datasource every time you need some Excel data, this method works for me). 
I just copy and paste from excel to Homesite+ , so the data looks like:
100	foo
101	bar
102	fubar
103	etc
Then I use regex like:
([0-9]+)	([[:print:]]+)

becomes
&#60;cfset array[1] = "\1"&#62;
&#60;cfset array[2] = "\2"&#62;
&#60;cfset ArrayAppend(newarray, array)&#62;</description>
		<content:encoded><![CDATA[<p>hmmm, Wordpress strips html.  try again:</p>
<p>One area I use it in a lot is when I have a large block of data, usually imported from Excel, that I need to turn into some CF code.  (You could probably do this best using the spreadsheet as a datasource, but if you don&#8217;t want to setup a datasource every time you need some Excel data, this method works for me).<br />
I just copy and paste from excel to Homesite+ , so the data looks like:<br />
100	foo<br />
101	bar<br />
102	fubar<br />
103	etc<br />
Then I use regex like:<br />
([0-9]+)	([[:print:]]+)</p>
<p>becomes<br />
&lt;cfset array[1] = &#8220;\1&#8243;&gt;<br />
&lt;cfset array[2] = &#8220;\2&#8243;&gt;<br />
&lt;cfset ArrayAppend(newarray, array)&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: duncan</title>
		<link>http://www.chapter31.com/2007/12/08/search-and-replace-using-reg-exp/#comment-29658</link>
		<dc:creator>duncan</dc:creator>
		<pubDate>Mon, 10 Dec 2007 09:40:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.chapter31.com/2007/12/08/search-and-replace-using-reg-exp/#comment-29658</guid>
		<description>One area I use it in a lot is when I have a large block of data, usually imported from Excel, that I need to turn into some CF code.  (You could probably do this best using the spreadsheet as a datasource, but if you don't want to setup a datasource every time you need some Excel data, this method works for me). 
I just copy and paste from excel to Homesite+ , so the data looks like:
100	foo
101	bar
102	fubar
103	etc
Then I use regex like:
([0-9]+)	([[:print:]]+)

becomes


</description>
		<content:encoded><![CDATA[<p>One area I use it in a lot is when I have a large block of data, usually imported from Excel, that I need to turn into some CF code.  (You could probably do this best using the spreadsheet as a datasource, but if you don&#8217;t want to setup a datasource every time you need some Excel data, this method works for me).<br />
I just copy and paste from excel to Homesite+ , so the data looks like:<br />
100	foo<br />
101	bar<br />
102	fubar<br />
103	etc<br />
Then I use regex like:<br />
([0-9]+)	([[:print:]]+)</p>
<p>becomes</p>
]]></content:encoded>
	</item>
</channel>
</rss>
