Tamper: Find replace (multiline)¶
Plugin ID: eca_tamper:find_replace_multiline
Available since: 1.0.0
Find and replace text, with multiple search/replacement patterns defined together.
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 and the replacements— config key:find_replace-
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.
This field supports tokens.Type:
textarea· Required: yes · Default: empty string Search/replacement value separator— config key: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.
This field supports tokens.Type:
textfield· Required: yes · Default:| 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