Replace text

Top  Previous  Next

The Replace text macro allows you to search for a piece of text and replace it with other content.

 

Syntax

 

{#replace text -[find][replace][matchCase]#}

 

text: the text where the search & replace operation is performed

[find]: the text to find (use #TAB# for tab characters or #NL# for new line characters)

[replace]: the replacement text (use #TAB# for tab characters or #NL# for new line characters)

[matchCase]: tells if the replace is case sensitive ('word' is different from 'Word')

 

Example

Phrase:

{#replace Good morning. -[find=morning][replace=evening][matchCase=1]#}

 

Result:

Good evening