Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 07-22-2010, 02:01 PM
Vijesh Vijesh is online now
Registered User
 
Join Date: 07-22-2010
Posts: 3
Replaceing in File

Hello,

I need to replace a radom generating GUID in a file through the "Relace in File" action.

That means i need to replace the following:
SolutionID="<GUID>" with SolutionID="<MyValue>"

Since i'm not aware of the exact value i need to replace (GUID), what should i give in Text or Regular expression to find.

Thanks,
Vijesh
Reply With Quote
  #2  
Old 07-22-2010, 03:29 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
See attached sample.
http://www.kinook.com/VisBuildPro/Manual/regex.htm
Attached Files
File Type: bld replace_guid.bld (746 Bytes, 1698 views)
Reply With Quote
  #3  
Old 07-22-2010, 03:33 PM
Vijesh Vijesh is online now
Registered User
 
Join Date: 07-22-2010
Posts: 3
Raplacing Text

I have already gone through the same. I found "Any Character" to change even digits or character, but i could find any to help to replace a particular part of line.

If would appreciate if you can send me the regular expression.

Thanks in advance.
Reply With Quote
  #4  
Old 07-22-2010, 03:37 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
That will replace only the GUID within the file (leaving any other text before/after it on the same line or other lines). It's not clear to me exactly what you're asking -- please provide more detail.
http://www.kinook.com/Forum/showthre...?threadid=3044
Reply With Quote
  #5  
Old 07-22-2010, 03:43 PM
Vijesh Vijesh is online now
Registered User
 
Join Date: 07-22-2010
Posts: 3
Thumbs up Replacing file

Its my Bad, I didn't see the attachemnt you added.
That worked fine and fix my issue. That is what exactly i'm looking for.
I really appologize

Thanks alot and Thanks for your time.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 06:05 PM.


Copyright © 1999-2023 Kinook Software, Inc.