<?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: Multi-line Search and Replace in Visual Studio</title>
	<atom:link href="http://patricksheedy.net/softwareblog/2008/01/14/multi-line-search-and-replace-in-visual-studio/feed/" rel="self" type="application/rss+xml" />
	<link>http://patricksheedy.net/softwareblog/2008/01/14/multi-line-search-and-replace-in-visual-studio/</link>
	<description>Tips that might be useful</description>
	<lastBuildDate>Thu, 22 Jul 2010 21:11:29 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ankit</title>
		<link>http://patricksheedy.net/softwareblog/2008/01/14/multi-line-search-and-replace-in-visual-studio/comment-page-1/#comment-111</link>
		<dc:creator>Ankit</dc:creator>
		<pubDate>Wed, 07 Jul 2010 23:22:36 +0000</pubDate>
		<guid isPermaLink="false">http://patricksheedy.net/softwareblog/2008/01/14/multi-line-search-and-replace-in-visual-studio/#comment-111</guid>
		<description>&lt;blockquote cite=&quot;#commentbody-78&quot;&gt;
&lt;strong&gt;&lt;a href=&quot;#comment-78&quot; rel=&quot;nofollow&quot;&gt;Eric&lt;/a&gt; :&lt;/strong&gt;
          I agree with Jared.  I mean, this is the kind of standard feature in programs like Dreamweaver since…I don’t know…1998.
I mean, really, you can’t search and replace multiple lines of text any easier than this?
Here’s a better way:  Open up your site in Dreamweaver, use its find-and-replace..then close Dreamweaver and re-open VS.  Tada!  No regular expressions writing.
         &lt;/blockquote&gt;

Eric, you are a genius. and I am a fool. Why did I not think of it? :)</description>
		<content:encoded><![CDATA[<blockquote cite="#commentbody-78"><p>
<strong><a href="#comment-78" rel="nofollow">Eric</a> :</strong><br />
          I agree with Jared.  I mean, this is the kind of standard feature in programs like Dreamweaver since…I don’t know…1998.<br />
I mean, really, you can’t search and replace multiple lines of text any easier than this?<br />
Here’s a better way:  Open up your site in Dreamweaver, use its find-and-replace..then close Dreamweaver and re-open VS.  Tada!  No regular expressions writing.
         </p></blockquote>
<p>Eric, you are a genius. and I am a fool. Why did I not think of it? <img src='http://patricksheedy.net/softwareblog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ankit</title>
		<link>http://patricksheedy.net/softwareblog/2008/01/14/multi-line-search-and-replace-in-visual-studio/comment-page-1/#comment-110</link>
		<dc:creator>Ankit</dc:creator>
		<pubDate>Wed, 07 Jul 2010 23:21:54 +0000</pubDate>
		<guid isPermaLink="false">http://patricksheedy.net/softwareblog/2008/01/14/multi-line-search-and-replace-in-visual-studio/#comment-110</guid>
		<description>Eric, you are a genius. and I am a fool. Why did I not think of it? :)</description>
		<content:encoded><![CDATA[<p>Eric, you are a genius. and I am a fool. Why did I not think of it? <img src='http://patricksheedy.net/softwareblog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danzig</title>
		<link>http://patricksheedy.net/softwareblog/2008/01/14/multi-line-search-and-replace-in-visual-studio/comment-page-1/#comment-101</link>
		<dc:creator>Danzig</dc:creator>
		<pubDate>Mon, 08 Mar 2010 22:16:34 +0000</pubDate>
		<guid isPermaLink="false">http://patricksheedy.net/softwareblog/2008/01/14/multi-line-search-and-replace-in-visual-studio/#comment-101</guid>
		<description>Fully agree with Jared and Eric.  This is pathetic.</description>
		<content:encoded><![CDATA[<p>Fully agree with Jared and Eric.  This is pathetic.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas K. Nielsen</title>
		<link>http://patricksheedy.net/softwareblog/2008/01/14/multi-line-search-and-replace-in-visual-studio/comment-page-1/#comment-82</link>
		<dc:creator>Thomas K. Nielsen</dc:creator>
		<pubDate>Tue, 08 Sep 2009 15:29:33 +0000</pubDate>
		<guid isPermaLink="false">http://patricksheedy.net/softwareblog/2008/01/14/multi-line-search-and-replace-in-visual-studio/#comment-82</guid>
		<description>Just what I needed. Thanks for this tip.</description>
		<content:encoded><![CDATA[<p>Just what I needed. Thanks for this tip.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://patricksheedy.net/softwareblog/2008/01/14/multi-line-search-and-replace-in-visual-studio/comment-page-1/#comment-78</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Sat, 20 Jun 2009 02:53:41 +0000</pubDate>
		<guid isPermaLink="false">http://patricksheedy.net/softwareblog/2008/01/14/multi-line-search-and-replace-in-visual-studio/#comment-78</guid>
		<description>I agree with Jared.  I mean, this is the kind of standard feature in programs like Dreamweaver since...I don&#039;t know...1998.

I mean, really, you can&#039;t search and replace multiple lines of text any easier than this?

Here&#039;s a better way:  Open up your site in Dreamweaver, use its find-and-replace..then close Dreamweaver and re-open VS.  Tada!  No regular expressions writing.</description>
		<content:encoded><![CDATA[<p>I agree with Jared.  I mean, this is the kind of standard feature in programs like Dreamweaver since&#8230;I don&#8217;t know&#8230;1998.</p>
<p>I mean, really, you can&#8217;t search and replace multiple lines of text any easier than this?</p>
<p>Here&#8217;s a better way:  Open up your site in Dreamweaver, use its find-and-replace..then close Dreamweaver and re-open VS.  Tada!  No regular expressions writing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jared</title>
		<link>http://patricksheedy.net/softwareblog/2008/01/14/multi-line-search-and-replace-in-visual-studio/comment-page-1/#comment-76</link>
		<dc:creator>Jared</dc:creator>
		<pubDate>Thu, 11 Jun 2009 04:37:59 +0000</pubDate>
		<guid isPermaLink="false">http://patricksheedy.net/softwareblog/2008/01/14/multi-line-search-and-replace-in-visual-studio/#comment-76</guid>
		<description>This is ridiculous. What was MS thinking?</description>
		<content:encoded><![CDATA[<p>This is ridiculous. What was MS thinking?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simon Morris</title>
		<link>http://patricksheedy.net/softwareblog/2008/01/14/multi-line-search-and-replace-in-visual-studio/comment-page-1/#comment-74</link>
		<dc:creator>Simon Morris</dc:creator>
		<pubDate>Mon, 01 Jun 2009 20:54:17 +0000</pubDate>
		<guid isPermaLink="false">http://patricksheedy.net/softwareblog/2008/01/14/multi-line-search-and-replace-in-visual-studio/#comment-74</guid>
		<description>This was a useful post, thanks. I used this technique to reformat some xml files from:


  
  
  


to:


  
  
  

  

Find: OldElement{.*\n.*\n.*\n.*\n.*}OldElement
Replace: NewElement\1NewElement</description>
		<content:encoded><![CDATA[<p>This was a useful post, thanks. I used this technique to reformat some xml files from:</p>
<p>to:</p>
<p>Find: OldElement{.*\n.*\n.*\n.*\n.*}OldElement<br />
Replace: NewElement\1NewElement</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ross Youngblood</title>
		<link>http://patricksheedy.net/softwareblog/2008/01/14/multi-line-search-and-replace-in-visual-studio/comment-page-1/#comment-58</link>
		<dc:creator>Ross Youngblood</dc:creator>
		<pubDate>Mon, 20 Oct 2008 20:58:57 +0000</pubDate>
		<guid isPermaLink="false">http://patricksheedy.net/softwareblog/2008/01/14/multi-line-search-and-replace-in-visual-studio/#comment-58</guid>
		<description>This doesn&#039;t appear to work in Visual Studio 6.0 (What we are stuck with).
(Regexp searches don&#039;t work with \n.
or \r or \r\n... that... that is I haven&#039;t gotten them to work yet.</description>
		<content:encoded><![CDATA[<p>This doesn&#8217;t appear to work in Visual Studio 6.0 (What we are stuck with).<br />
(Regexp searches don&#8217;t work with \n.<br />
or \r or \r\n&#8230; that&#8230; that is I haven&#8217;t gotten them to work yet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Waqqas Farooq</title>
		<link>http://patricksheedy.net/softwareblog/2008/01/14/multi-line-search-and-replace-in-visual-studio/comment-page-1/#comment-44</link>
		<dc:creator>Waqqas Farooq</dc:creator>
		<pubDate>Wed, 04 Jun 2008 15:24:50 +0000</pubDate>
		<guid isPermaLink="false">http://patricksheedy.net/softwareblog/2008/01/14/multi-line-search-and-replace-in-visual-studio/#comment-44</guid>
		<description>Is it possible we could use regular expressions only for the replace text and not the find text? e.g. I have the text &quot;\n\n\n&quot; I want to search for \n and replace it to line feeds.</description>
		<content:encoded><![CDATA[<p>Is it possible we could use regular expressions only for the replace text and not the find text? e.g. I have the text &#8220;\n\n\n&#8221; I want to search for \n and replace it to line feeds.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kenny</title>
		<link>http://patricksheedy.net/softwareblog/2008/01/14/multi-line-search-and-replace-in-visual-studio/comment-page-1/#comment-40</link>
		<dc:creator>Kenny</dc:creator>
		<pubDate>Wed, 16 Apr 2008 02:39:39 +0000</pubDate>
		<guid isPermaLink="false">http://patricksheedy.net/softwareblog/2008/01/14/multi-line-search-and-replace-in-visual-studio/#comment-40</guid>
		<description>Thanks for the tip.  It led me down the right path.  Your solution is not quite complete, though.

The Text you enter for &quot;Find What&quot; has to be a valid regular expression.  You will have to escape lots of special characters, like parenthesis and braces when searching for code blocks.</description>
		<content:encoded><![CDATA[<p>Thanks for the tip.  It led me down the right path.  Your solution is not quite complete, though.</p>
<p>The Text you enter for &#8220;Find What&#8221; has to be a valid regular expression.  You will have to escape lots of special characters, like parenthesis and braces when searching for code blocks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
