<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/1.5.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Multiline Search and Replace in Visual Studio</title>
	<link>http://www.helixoft.com/blog/archives/15</link>
	<description>Peter Macej - lead developer of VSdocman - talks about Visual Studio tips and automation</description>
	<pubDate>Mon, 12 May 2008 00:54:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=1.5.2</generator>

	<item>
 		<title>Comment on Multiline Search and Replace in Visual Studio by: Ramone Eduardo</title>
		<link>http://www.helixoft.com/blog/archives/15#comment-86</link>
		<pubDate>Wed, 07 May 2008 02:02:24 +0000</pubDate>
		<guid>http://www.helixoft.com/blog/archives/15#comment-86</guid>
					<description>Thank you!</description>
		<content:encoded><![CDATA[	<p>Thank you!
</p>
]]></content:encoded>
				</item>
	<item>
 		<title>Comment on Multiline Search and Replace in Visual Studio by: Torben</title>
		<link>http://www.helixoft.com/blog/archives/15#comment-71</link>
		<pubDate>Sat, 13 Oct 2007 13:32:46 +0000</pubDate>
		<guid>http://www.helixoft.com/blog/archives/15#comment-71</guid>
					<description>Hej Powershell guy.

In gui-help replace it can be defined as - a specified number of times. 
But how should i do, if i only will change the first space and not the other space
in the following example ??? 

${C:\powerstart.txt} -replace ' ',';' &amp;#62; C:\powerstart1.txt

I need a real reference manual !!
--------------------------------------------------------------------

Replace

Definition: Returns a string in which a specified substring has been replaced 
with another substring a specified number of times.

$a = &quot;bxnxnx&quot;
$a = $a -replace(&quot;x&quot;,&quot;a&quot;)

Regards
Torben Brønsholm
Denmark</description>
		<content:encoded><![CDATA[	<p>Hej Powershell guy.</p>
	<p>In gui-help replace it can be defined as - a specified number of times.<br />
But how should i do, if i only will change the first space and not the other space<br />
in the following example ??? </p>
	<p>${C:\powerstart.txt} -replace &#8216; &#8216;,&#8217;;&#8217; &gt; C:\powerstart1.txt</p>
	<p>I need a real reference manual !!<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
	<p>Replace</p>
	<p>Definition: Returns a string in which a specified substring has been replaced<br />
with another substring a specified number of times.</p>
	<p>$a = &#8220;bxnxnx&#8221;<br />
$a = $a -replace(&#8221;x&#8221;,&#8221;a&#8221;)</p>
	<p>Regards<br />
Torben Brønsholm<br />
Denmark
</p>
]]></content:encoded>
				</item>
	<item>
 		<title>Comment on Multiline Search and Replace in Visual Studio by: Sadiq</title>
		<link>http://www.helixoft.com/blog/archives/15#comment-69</link>
		<pubDate>Fri, 21 Sep 2007 07:54:54 +0000</pubDate>
		<guid>http://www.helixoft.com/blog/archives/15#comment-69</guid>
					<description>Your macro worked for me but I had to remove the escape character &quot;\&quot; wherever there was &quot;)&quot; or &quot;(&quot; in the 'replace' line. For example, for &quot;dispose\(\)&quot; in the replace line I had to use &quot;dispose()&quot;. 

Thanks for your multiline searching macro. It helped me.</description>
		<content:encoded><![CDATA[	<p>Your macro worked for me but I had to remove the escape character &#8220;\&#8221; wherever there was &#8220;)&#8221; or &#8220;(&#8221; in the &#8216;replace&#8217; line. For example, for &#8220;dispose\(\)&#8221; in the replace line I had to use &#8220;dispose()&#8221;. </p>
	<p>Thanks for your multiline searching macro. It helped me.
</p>
]]></content:encoded>
				</item>
	<item>
 		<title>Comment on Multiline Search and Replace in Visual Studio by: Peter Macej</title>
		<link>http://www.helixoft.com/blog/archives/15#comment-38</link>
		<pubDate>Wed, 07 Jun 2006 07:32:20 +0000</pubDate>
		<guid>http://www.helixoft.com/blog/archives/15#comment-38</guid>
					<description>Yes, it works in VS 2003. The screenshots are from VS 2003. What kind of error did you encounter? Did you add System.Drawing.dll to References under MyMacros in Macros IDE?</description>
		<content:encoded><![CDATA[	<p>Yes, it works in VS 2003. The screenshots are from VS 2003. What kind of error did you encounter? Did you add System.Drawing.dll to References under MyMacros in Macros IDE?
</p>
]]></content:encoded>
				</item>
	<item>
 		<title>Comment on Multiline Search and Replace in Visual Studio by: _</title>
		<link>http://www.helixoft.com/blog/archives/15#comment-37</link>
		<pubDate>Tue, 06 Jun 2006 22:11:40 +0000</pubDate>
		<guid>http://www.helixoft.com/blog/archives/15#comment-37</guid>
					<description>Does this work in VS 2003? I couldn't get it to work on VS 2003.</description>
		<content:encoded><![CDATA[	<p>Does this work in VS 2003? I couldn&#8217;t get it to work on VS 2003.
</p>
]]></content:encoded>
				</item>
	<item>
 		<title>Comment on Multiline Search and Replace in Visual Studio by: Peter Macej</title>
		<link>http://www.helixoft.com/blog/archives/15#comment-27</link>
		<pubDate>Sun, 07 May 2006 17:31:56 +0000</pubDate>
		<guid>http://www.helixoft.com/blog/archives/15#comment-27</guid>
					<description>You can get the results easily. I wrote an article at http://www.helixoft.com/blog/archives/23 how to do it.</description>
		<content:encoded><![CDATA[	<p>You can get the results easily. I wrote an article at <a href='http://www.helixoft.com/blog/archives/23' rel='nofollow'>http://www.helixoft.com/blog/archives/23</a> how to do it.
</p>
]]></content:encoded>
				</item>
	<item>
 		<title>Comment on Multiline Search and Replace in Visual Studio by: Avi</title>
		<link>http://www.helixoft.com/blog/archives/15#comment-26</link>
		<pubDate>Sun, 07 May 2006 11:33:42 +0000</pubDate>
		<guid>http://www.helixoft.com/blog/archives/15#comment-26</guid>
					<description>Peter - sorry for bugging but your post is so useful...
Is there a way to get the results back  as a collection or something like that ?  I would like to use the results in some way</description>
		<content:encoded><![CDATA[	<p>Peter - sorry for bugging but your post is so useful&#8230;<br />
Is there a way to get the results back  as a collection or something like that ?  I would like to use the results in some way
</p>
]]></content:encoded>
				</item>
	<item>
 		<title>Comment on Multiline Search and Replace in Visual Studio by: Peter Macej</title>
		<link>http://www.helixoft.com/blog/archives/15#comment-25</link>
		<pubDate>Thu, 04 May 2006 13:42:47 +0000</pubDate>
		<guid>http://www.helixoft.com/blog/archives/15#comment-25</guid>
					<description>I don't think it is possible to clear or prevent from adding the &quot;Look In&quot; history of &quot;Find in Files&quot; dialog from macro or add-in. You will probably need to use VSIP package. You can only manually manipulate the registry. But the changes take effect only after VS restart. You can use DTE.RegistryRoot property to find the correct registry key.</description>
		<content:encoded><![CDATA[	<p>I don&#8217;t think it is possible to clear or prevent from adding the &#8220;Look In&#8221; history of &#8220;Find in Files&#8221; dialog from macro or add-in. You will probably need to use VSIP package. You can only manually manipulate the registry. But the changes take effect only after VS restart. You can use DTE.RegistryRoot property to find the correct registry key.
</p>
]]></content:encoded>
				</item>
	<item>
 		<title>Comment on Multiline Search and Replace in Visual Studio by: Avi</title>
		<link>http://www.helixoft.com/blog/archives/15#comment-24</link>
		<pubDate>Thu, 04 May 2006 11:49:11 +0000</pubDate>
		<guid>http://www.helixoft.com/blog/archives/15#comment-24</guid>
					<description>After a while , the lookin is full with all the last locations .It all adds up in the registry. Is there a way to clear it/ prevent from adding ?</description>
		<content:encoded><![CDATA[	<p>After a while , the lookin is full with all the last locations .It all adds up in the registry. Is there a way to clear it/ prevent from adding ?
</p>
]]></content:encoded>
				</item>
	<item>
 		<title>Comment on Multiline Search and Replace in Visual Studio by: Peter Macej</title>
		<link>http://www.helixoft.com/blog/archives/15#comment-23</link>
		<pubDate>Wed, 05 Apr 2006 07:23:59 +0000</pubDate>
		<guid>http://www.helixoft.com/blog/archives/15#comment-23</guid>
					<description>No, I don't have standalone program for this. Quick Google search revealed some free programs that you may try:
http://www.nodesoft.com/SearchAndReplace/
http://www.pricelesswarehome.org/2004/PL2004FILEUTILITIES.php#0379-PW</description>
		<content:encoded><![CDATA[	<p>No, I don&#8217;t have standalone program for this. Quick Google search revealed some free programs that you may try:<br />
<a href='http://www.nodesoft.com/SearchAndReplace/' rel='nofollow'>http://www.nodesoft.com/SearchAndReplace/</a><br />
<a href='http://www.pricelesswarehome.org/2004/PL2004FILEUTILITIES.php#0379-PW' rel='nofollow'>http://www.pricelesswarehome.org/2004/PL2004FILEUTILITIES.php#0379-PW</a>
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
