Skip to content

Tamper: Find replace (multiline)

Available since: 1.0.0

Find and replace text, with multiple search/replacement patterns defined together.

Fields

Comparison operator

The available comparison operators like equals or less than.
When using the "Defined by token" option, make sure there is a token with this name: eca_tamper_condition:find_replace_multiline_operator

Comparison type

The type of the comparison.
When using the "Defined by token" option, make sure there is a token with this name: eca_tamper_condition:find_replace_multiline_type

Case sensitive comparison

Compare the values based on case sensitivity.

Negate the condition

Negates the condition. Makes TRUE to FALSE and vice versa.

Text to find and the replacements

Enter one match per line in the format search|replacement, though the separator can be changed below. The replacements will be processed in order provided above.

Search/replacement value separator

Control the character used to separate the "search" from the "replace" string in the field above. Defaults to "|", to match the value separator used on the Drupal core list fields.

Case sensitive

If checked, "book" will match "book" but not "Book" or "BOOK".

Respect word boundaries

If checked, "book" will match "book" but not "bookcase".

Match whole word/phrase

If checked, then the whole word or phrase will be matched, e.g. "book" will match "book" but not "the book". If this option is selected then "Respect word boundaries" above will be ignored.

Data to be tampered
Data to compare with