View Single Post
  #1  
Old 06-30-2011, 09:45 AM
Japster24 Japster24 is online now
Registered User
 
Join Date: 09-13-2010
Posts: 19
Multiline search/replace

I can't figure this out for the life of me. I'm no regex expert either. I need to search for a block of text and replace it with another. I tried doing something like this post: http://www.kinook.com/Forum/showthre...ltiple+replace

but couldn't get it to work.

===========
//Search for this//
<ItemGroup>
<ProjectReference Include="..\..\..\..\Components\Forms\v1.0\Source\ Software.Forms1\Software.Forms1.VS2010.csproj">
<Project>{XYZ0E5AF-123F-12B3-9FDA-9ADE123FBEA8}</Project>
<Name>Software.Forms1.VS2010</Name>
</ProjectReference>
</ItemGroup>

//Replace with this//
<Reference Include="Software.Forms1">
<HintPath>..\..\..\..\Components\FormsAPI\V1.0\Bui ld\DotNet\Software.Forms1.dll</HintPath>
</Reference>


===========

any suggestions would be MUCH appreciated!

Thanks!
-jp
Reply With Quote