Japster24
06-30-2011, 09:45 AM
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/showthread.php?t=1561&highlight=multiple+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\Build\DotNet\ Software.Forms1.dll</HintPath>
</Reference>
===========
any suggestions would be MUCH appreciated!
Thanks!
-jp
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\Build\DotNet\ Software.Forms1.dll</HintPath>
</Reference>
===========
any suggestions would be MUCH appreciated!
Thanks!
-jp