Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width600px
Warning
This action has been deprecated and replaced with the Text Find / Replace Action and the Replace Variables action. Please use one of these actions where possible.

The text replace action allows you to replace strings and FinalBuilder variables in a file with specified values.

Note
This will only work on Text files, do not attempt to use it with binary files.

If you want to only search for content, use the Text Find Action.

Column
width300px
Panel
borderColor#D8D8D8
bgColor#FFFFFF
titleColor#FFFFFF
titleBGColor#006396
borderWidth1
titleOn this page:
borderStylesolid

Table of Contents
maxLevel3
minLevel2
printablefalse
 

Column

 

Warning
This action has been deprecated and replaced with the Text Find / Replace Action and the Replace Variables action. Please use one of these actions where possible.

 

Details

Files

Filename

New filename

...

Note
The Text Replacement action does not discriminate between FB Variables and regular percent signs, so either escape "real" percent signs as "%%" (these can even then be replaced with % using Replace Text), or use a different notation and replace specific strings instead.

Write byte order mark

Check to include the byte order mark that represents the encoding of the text file. 

Replace text

Check to have the search text replaced with the replacement text with in the file. 

Replace text options

Search text

The text to search for in the text file. 

Replace text

The text to replace the search text with when it is located. 

Case sensitive

Whether the search text is case sensitive or not. 

Replace whole words only

Check to replace on word boundaries only. 

Match search string as regular expression 

...

The action will replace only the first N matches it finds. Set to zero to replace all matches.