b:format.replace

<b:format.replace>...</b:format.replace>

Replaces characters or words
b:format.replace searches the given word or characters from its contents and changes them with the given word or characters.

Attributes

search

Searches the given words or characters from the content

replace

Replaces the found words or characters with the given value

Examples

Example 1

This replacement converst every "L" letter in the content to a "D" letter.
<b:format.replace search="L" replace="D">
    Loom of the fruit.
</b:format.replace>
HTML source output
Doom of the fruit.