<?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: Textpad Regular Expressions</title>
	<atom:link href="http://myquickfix.co.uk/index.php/2008/12/textpad-regular-expressions/feed/" rel="self" type="application/rss+xml" />
	<link>http://myquickfix.co.uk/index.php/2008/12/textpad-regular-expressions/</link>
	<description>Quick fixes for niggly problems...</description>
	<lastBuildDate>Wed, 16 Jun 2010 00:05:55 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Jim</title>
		<link>http://myquickfix.co.uk/index.php/2008/12/textpad-regular-expressions/comment-page-1/#comment-49</link>
		<dc:creator>Jim</dc:creator>
		<pubDate>Mon, 14 Jun 2010 05:47:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=77#comment-49</guid>
		<description>I have a file with lines that look like the following:

KFY   	Korn Ferry International Q4 2010 	$ 0.13  14-Jun AMC
LAKE   	Lakeland Industries 	Q1 2011 	n/a  	14-Jun AMC
LZB   	La-Z-Boy Inc. 	Q4 2010 	$ 0.23  	14-Jun AMC
373400.T   	M.P. TECHNOLOGIES INC TOKYO 	Q3 2010 

I would like to replace each line with the first &quot;word&quot; of that line provided that that word does not begin with a digit.  The resulting lines of text would be:

KFY
LAKE
LZB

What would the regex look like?  Any help would be appreciate.  Thanks!</description>
		<content:encoded><![CDATA[<p>I have a file with lines that look like the following:</p>
<p>KFY   	Korn Ferry International Q4 2010 	$ 0.13  14-Jun AMC<br />
LAKE   	Lakeland Industries 	Q1 2011 	n/a  	14-Jun AMC<br />
LZB   	La-Z-Boy Inc. 	Q4 2010 	$ 0.23  	14-Jun AMC<br />
373400.T   	M.P. TECHNOLOGIES INC TOKYO 	Q3 2010 </p>
<p>I would like to replace each line with the first &#8220;word&#8221; of that line provided that that word does not begin with a digit.  The resulting lines of text would be:</p>
<p>KFY<br />
LAKE<br />
LZB</p>
<p>What would the regex look like?  Any help would be appreciate.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yves</title>
		<link>http://myquickfix.co.uk/index.php/2008/12/textpad-regular-expressions/comment-page-1/#comment-16</link>
		<dc:creator>Yves</dc:creator>
		<pubDate>Mon, 15 Feb 2010 02:13:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=77#comment-16</guid>
		<description>Hello,
I have a huge file (50000 lines) that comes from a translation memory application. The export went well but there was on glitch with every single title in the doc. There is no space between the bullet-numbers (or numbers+dot) and the text.
Here is how it looks:
3.1.International Organizations
3.1.1.World Bank
OR
3.1International Organizations
3.1.1World Bank
How would I insert space between a digit (or a digit+dot) and the alpha character while maitining the corresponding digit (or digit+dot) and character.
I would like to achieve this
3.1. International Organizations
3.1 International Organizations
Thank you kindly,
Yves (New Caledonia)</description>
		<content:encoded><![CDATA[<p>Hello,<br />
I have a huge file (50000 lines) that comes from a translation memory application. The export went well but there was on glitch with every single title in the doc. There is no space between the bullet-numbers (or numbers+dot) and the text.<br />
Here is how it looks:<br />
3.1.International Organizations<br />
3.1.1.World Bank<br />
OR<br />
3.1International Organizations<br />
3.1.1World Bank<br />
How would I insert space between a digit (or a digit+dot) and the alpha character while maitining the corresponding digit (or digit+dot) and character.<br />
I would like to achieve this<br />
3.1. International Organizations<br />
3.1 International Organizations<br />
Thank you kindly,<br />
Yves (New Caledonia)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Graham Wells</title>
		<link>http://myquickfix.co.uk/index.php/2008/12/textpad-regular-expressions/comment-page-1/#comment-15</link>
		<dc:creator>Graham Wells</dc:creator>
		<pubDate>Mon, 08 Feb 2010 08:35:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=77#comment-15</guid>
		<description>just got a quick question..I need to list down email address in a messy text..can anyone say how to write rg expression for that??</description>
		<content:encoded><![CDATA[<p>just got a quick question..I need to list down email address in a messy text..can anyone say how to write rg expression for that??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adnan</title>
		<link>http://myquickfix.co.uk/index.php/2008/12/textpad-regular-expressions/comment-page-1/#comment-14</link>
		<dc:creator>Adnan</dc:creator>
		<pubDate>Wed, 03 Feb 2010 02:53:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=77#comment-14</guid>
		<description>Hi,i want to replace two tags from one tag. i want to see both replacing tags in separate lines, not in same line.
Any reply will be appreciating. Thanks

Example:


                          &quot;separate lines&quot;
                by</description>
		<content:encoded><![CDATA[<p>Hi,i want to replace two tags from one tag. i want to see both replacing tags in separate lines, not in same line.<br />
Any reply will be appreciating. Thanks</p>
<p>Example:</p>
<p>                          &#8220;separate lines&#8221;<br />
                by</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tony</title>
		<link>http://myquickfix.co.uk/index.php/2008/12/textpad-regular-expressions/comment-page-1/#comment-13</link>
		<dc:creator>tony</dc:creator>
		<pubDate>Wed, 02 Dec 2009 21:37:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=77#comment-13</guid>
		<description>YOU ROCK!
Thank you so much for the &quot;Add “Hello ” to the beginning and ” World” to the end of every line&quot; example.</description>
		<content:encoded><![CDATA[<p>YOU ROCK!<br />
Thank you so much for the &#8220;Add “Hello ” to the beginning and ” World” to the end of every line&#8221; example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matelot</title>
		<link>http://myquickfix.co.uk/index.php/2008/12/textpad-regular-expressions/comment-page-1/#comment-12</link>
		<dc:creator>matelot</dc:creator>
		<pubDate>Sun, 22 Nov 2009 06:46:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=77#comment-12</guid>
		<description>thanks !
&quot;Remove spaces and tab characters at the end of a line&quot; is what I&#039;m looking for.</description>
		<content:encoded><![CDATA[<p>thanks !<br />
&#8220;Remove spaces and tab characters at the end of a line&#8221; is what I&#8217;m looking for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://myquickfix.co.uk/index.php/2008/12/textpad-regular-expressions/comment-page-1/#comment-11</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Wed, 14 Oct 2009 15:01:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=77#comment-11</guid>
		<description>Here&#039;s how to convert csv to xml with a (quite large) regexp you can alter/extend for your needs.

Regexp:
&lt;code&gt;^&quot;\([[:print:]]+\)&quot;,&quot;\([[:print:]]+\)&quot;,&quot;\([[:print:]]+\)&quot;&lt;/code&gt;

replace with:
&lt;code&gt;\1\2\3&lt;/code&gt;

Cheers

Paul</description>
		<content:encoded><![CDATA[<p>Here&#8217;s how to convert csv to xml with a (quite large) regexp you can alter/extend for your needs.</p>
<p>Regexp:<br />
<code>^"\([[:print:]]+\)","\([[:print:]]+\)","\([[:print:]]+\)"</code></p>
<p>replace with:<br />
<code>\1\2\3</code></p>
<p>Cheers</p>
<p>Paul</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waldemar</title>
		<link>http://myquickfix.co.uk/index.php/2008/12/textpad-regular-expressions/comment-page-1/#comment-10</link>
		<dc:creator>Waldemar</dc:creator>
		<pubDate>Sat, 15 Aug 2009 15:29:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=77#comment-10</guid>
		<description>Hi Ben,

Thanks for posting about the Textpad Regular Expressions.

I have a question.
In a txt-file I&#039;m trying to remove all text between curly brackets including the curly brackets themselves.

I can&#039;t seem to get the regular expression right.

Could you give me some help?

Much obliged,

Waldemar</description>
		<content:encoded><![CDATA[<p>Hi Ben,</p>
<p>Thanks for posting about the Textpad Regular Expressions.</p>
<p>I have a question.<br />
In a txt-file I&#8217;m trying to remove all text between curly brackets including the curly brackets themselves.</p>
<p>I can&#8217;t seem to get the regular expression right.</p>
<p>Could you give me some help?</p>
<p>Much obliged,</p>
<p>Waldemar</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: admin</title>
		<link>http://myquickfix.co.uk/index.php/2008/12/textpad-regular-expressions/comment-page-1/#comment-9</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 19 Jun 2009 11:32:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=77#comment-9</guid>
		<description>Hi Matt,

If you just want to add &quot;something&quot; and then a line-break to ANY line you could use this:

find: \(^.*\)

replace: \1something

It&#039;s the use of parenthesis that allow the &#039;replacement expression&#039; to work.</description>
		<content:encoded><![CDATA[<p>Hi Matt,</p>
<p>If you just want to add &#8220;something&#8221; and then a line-break to ANY line you could use this:</p>
<p>find: \(^.*\)</p>
<p>replace: \1something</p>
<p>It&#8217;s the use of parenthesis that allow the &#8216;replacement expression&#8217; to work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matt</title>
		<link>http://myquickfix.co.uk/index.php/2008/12/textpad-regular-expressions/comment-page-1/#comment-8</link>
		<dc:creator>matt</dc:creator>
		<pubDate>Mon, 15 Jun 2009 20:57:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.myquickfix.co.uk/?p=77#comment-8</guid>
		<description>Textpad help, To make a long story short, do you know how find say a number sequence and replace with additional text without changing the number you used to search on it the first place?

find: [0-9]\n$
replace with: keep the same only add something unique to the ending [same as before]~\n</description>
		<content:encoded><![CDATA[<p>Textpad help, To make a long story short, do you know how find say a number sequence and replace with additional text without changing the number you used to search on it the first place?</p>
<p>find: [0-9]\n$<br />
replace with: keep the same only add something unique to the ending [same as before]~\n</p>
]]></content:encoded>
	</item>
</channel>
</rss>
