Geeks With Blogs

News My Blog has been MOVED to https://mfreidge.wordpress.com

Michael Freidgeim's OLD Blog My Blog has been MOVED to https://mfreidge.wordpress.com
I needed to insert new line after existing one in multiple similar xml files.

In Visual Studio open "replace in files" dialog and tick "use regular expression"
In "find" escape "/" as "\/"
     <param name="ExistingKey" value="False" \/>
In "Replace" repeat original string, then add \n and add a new string
     <param name="ExistingKey" value="False" />\n  <param name="NewKey" value="new value" />

Related links:

Posted on Friday, February 19, 2016 9:12 PM Visual Studio/TFS/git | Back to top


Comments on this post: Insert new line in multiple xml files using Visual Studio

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Michael Freidgeim | Powered by: GeeksWithBlogs.net