www.buildautomator.com  Build Automator Documentation

Search and Replace

Previous  Top  Next  


This action searches and replaces text in selected files. 

 

Search_Replace

 

Properties

Explanation

Files to work on...  ROMx116_dblisttable

Select the file(s) that you want to do the search and replace in.  Note that you can add multiple files and you can use wildcards.  You can also use variables in the filenames.

Search For  ROMx116_dblisttable

Enter the text you want to search for in the files specified in "Files to work on".  You can use also variables here.

Replace With  ROMx116_dblisttable

Enter the text you want to replace the searched text with.  You can use also variables here.

 

You can use this to replace tokens in source files, even in text documentation such as plain text files, RTF files, html files etc. 

 

Example of header in a source file with tokens ready to be replaced:

 

!! --------------------------------------------------------------------------------------

!!  Icetips Utilities Source file

!!  ##COPYRIGHT##

!!  This file can not be distributed in any way by anyone except Icetips Alta LLC

!!  ##VERSIONINFO##

!! --------------------------------------------------------------------------------------

 

With the settings in the screenshot, this would be replaced with something like this:

 

!! --------------------------------------------------------------------------------------

!!  Icetips Utilities Source file

!!  Copyright © 2003-2015 Icetips Alta LLC, Port Angles, Washington, USA.

!!  This file can not be distributed in any way by anyone except Icetips Alta LLC

!!  Version: 1.1.2351, April 15, 2015

!! --------------------------------------------------------------------------------------

 

 



Direct link to this page: http://www.buildautomator.com/onlinemanual/search_and_replace.htm