Insert new line in multiple xml files using Visual Studio

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=”(.*)” \/>
In “Replace” repeat original string, then add n and add a new string
     <param name=”ExistingKey” value=”$1″ />\n  <param name=”NewKey” value=”new value” />
Related links: