<?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/2008/12/textpad-regular-expressions/feed/" rel="self" type="application/rss+xml" />
	<link>http://myquickfix.co.uk/2008/12/textpad-regular-expressions/</link>
	<description>Quick fixes for little problems...</description>
	<lastBuildDate>Tue, 06 Dec 2011 20:22:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Ben</title>
		<link>http://myquickfix.co.uk/2008/12/textpad-regular-expressions/#comment-13</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Fri, 19 Jun 2009 11:32:07 +0000</pubDate>
		<guid isPermaLink="false">http://myquickfix.co.uk/?p=23#comment-13</guid>
		<description>Hi Matt,

If you just want to add “something” and then a line-break to ANY line you could use this:

find: \(^.*\)

replace: \1something

It’s the use of parenthesis that allow the ‘replacement expression’ to work.</description>
		<content:encoded><![CDATA[<p>Hi Matt,</p>
<p>If you just want to add “something” and then a line-break to ANY line you could use this:</p>
<p>find: \(^.*\)</p>
<p>replace: \1something</p>
<p>It’s the use of parenthesis that allow the ‘replacement expression’ to work.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://myquickfix.co.uk/2008/12/textpad-regular-expressions/#comment-12</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Mon, 15 Jun 2009 08:57:57 +0000</pubDate>
		<guid isPermaLink="false">http://myquickfix.co.uk/?p=23#comment-12</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>
	<item>
		<title>By: Nico</title>
		<link>http://myquickfix.co.uk/2008/12/textpad-regular-expressions/#comment-11</link>
		<dc:creator>Nico</dc:creator>
		<pubDate>Sat, 14 Mar 2009 11:09:21 +0000</pubDate>
		<guid isPermaLink="false">http://myquickfix.co.uk/?p=23#comment-11</guid>
		<description>Thanks. This was really helpful.

I’ve been using TextPad for everything — with the exception of exploding X12 files. The files are one really long line with segments separated by tildes (~). I tried doing a find/replace on “~” and replacing them with a new line character “\n” but TextPad would always put the actual text “\n” instead of breaking the line. In these cases I would always open the file in Word and use their find/replace to replace the tildes with new paragraphs “^p” and then copy the result back into TextPad.

Now I know that in TextPad all I have to do for this to work is to check the “Regular Expression” box and it works!

Thanks a bunch!!</description>
		<content:encoded><![CDATA[<p>Thanks. This was really helpful.</p>
<p>I’ve been using TextPad for everything — with the exception of exploding X12 files. The files are one really long line with segments separated by tildes (~). I tried doing a find/replace on “~” and replacing them with a new line character “\n” but TextPad would always put the actual text “\n” instead of breaking the line. In these cases I would always open the file in Word and use their find/replace to replace the tildes with new paragraphs “^p” and then copy the result back into TextPad.</p>
<p>Now I know that in TextPad all I have to do for this to work is to check the “Regular Expression” box and it works!</p>
<p>Thanks a bunch!!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

