Skip to content

Tamper: Find replace

Plugin ID: eca_tamper:find_replace

Available since: 1.0.0

Find and replace text

Fields

Data to be tampered — config key: eca_data


This field supports tokens.

Type: textfield · Required: yes · Default: empty string

Result token name — config key: eca_token_name

Provide a token name under which the tampered result will be made available for subsequent actions.
This field supports tokens.

Type: textfield · Required: yes · Default: empty string

Text to find — config key: find


This field supports tokens.

Type: textfield · Required: no · Default: empty string

Text to replace — config key: replace


This field supports tokens.

Type: textfield · Required: no · Default: empty string

Case sensitive — config key: case_sensitive

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

Type: checkbox · Required: no · Default: false

Respect word boundaries — config key: word_boundaries

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

Type: checkbox · Required: no · Default: false

Match whole word/phrase — config key: whole

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.

Type: checkbox · Required: no · Default: false