Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   Multiline search/replace (https://www.kinook.com/Forum/showthread.php?t=4884)

Japster24 06-30-2011 09:45 AM

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//


{XYZ0E5AF-123F-12B3-9FDA-9ADE123FBEA8}
Software.Forms1.VS2010



//Replace with this//

..\..\..\..\Components\FormsAPI\V1.0\Build\DotNet\ Software.Forms1.dll



===========

any suggestions would be MUCH appreciated!

Thanks!
-jp

kinook 06-30-2011 11:16 AM

1 Attachment(s)
I'm guessing that the ItemGroup element should remain and the ProjectReference element should be replaced by the Reference element? The attached sample demonstrates one way to do this (if the ItemGroup element should also be replaced, remove the ItemGroup lines from the 'replace matches with' field in the Replace in File action).

Japster24 06-30-2011 12:18 PM

Perfect!! As always, you guys rock!

Do you have a paypal "tip" jar or something? Your support has been and remains epic.

Thanks again!
-jp

kinook 06-30-2011 12:27 PM

You're welcome. We don't a tip jar as such, but feel free to send money via PayPal to orders@kinook.com if you'd like. Thanks.

Japster24 06-30-2011 12:41 PM

Go buy some beer. Thanks guys! :)

kinook 06-30-2011 12:46 PM

Thank you!


All times are GMT -5. The time now is 02:56 PM.


Copyright © 1999-2023 Kinook Software, Inc.