Block Modifier

Used for block modifying of a text source. It is possible to delete, insert and modify blocks defined by the user condition.

BlockModifier

Source

Set text source blocks to be modified into.

Start After

Set condition for beginning of the block to be modified. The following operation modes are possible:

Begin of Data

The block starts at the beginning of the data source.

After Defined Text

The block starts after the specified text.

Match Case

Enables case-sensitive search for the block beginning.

Line Start Only

Enables checking that the block beginning found is in beginning of a line.

Whole Text

Enables comparing mode in which defined text must completely coincide with the beginning of the block.

Use Regular Expressions

Enables search for the block beginning using regular expressions.

Include Defined Text into Result

Enables adding defined text to the beginning of the block modified.

Block Continue Until

Set block end condition. The following operation modes are possible:

End of Data

The block ends at the end of a text source.

Defined Text

The block ends before the text specified.

Defined Text or End of Source

The block ends before the text specified. If this text not found the blocks ends at the end of source.

Match Case

Enables case-sensitive search for the block end.

Line Start Only

Enables checking that the block beginning found is in beginning of a line.

Whole Text

Enables comparing mode in which defined text must completely coincide with the end of the block.

Include Defined Text into Result

Enables adding defined text to the end of the block modified.

Use Regular Expressions

Enables search for the block end using regular expressions.

New Block Action

Set up the action, made with retrieved block. The following actions are possible:

Delete String

Deleting of the retrieved block.

Insert Text Before String

Inserting of the given text in front of the retrieved block. Template usage is possible.

Replace String

Replacement of the retrieved block with the given text. Template usage is possible.

Insert Text After String

Inserting of the given text after the retrieved block. Template usage is possible.

Process All Blocks

Enables modification of the all retrieved blocks, otherwise only the first block will be modified.

See also

Line Modifier

Modifiers