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 02-16-2005, 12:44 PM
shaneras shaneras is online now
Registered User
 
Join Date: 10-22-2003
Posts: 3
Find and Replace in File

Hi,

I am trying to find different build numbers in a file on different machines that I have installed to and replace it with the updated build number.

Machine1 example:
<Version>2.00.16</Version>

Machine2 example:
<Version>2.00.05</Version>

In the text or regular expression to find field how do I write it to say replace <Version>2.00.(any number)</Version>
with
<Version>2.00.%BUILD_NUM%</Version>

Thanks,
Shane
Reply With Quote
  #2  
Old 02-17-2005, 03:53 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
Attached is a sample that will do that.
Attached Files
File Type: bld repl_ver.bld (1.2 KB, 1809 views)
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 07:37 PM.


Copyright © 1999-2023 Kinook Software, Inc.