🧡 Skip to main content🔍 Skip to search

The Options tab of Enclosed Text Action allows you to finetune how to extract text that is located between two tags. It is possible to ignore a text case, use the extended search patterns, and start looking for enclosed text only after the specified first match.

Ignore case When enabled, upper and lower case text will be treated as equivalent (the same). When disabled, search will treat upper and lower case characters as distinct (different).
Search only after first occurrence of Specify a text substring, symbol, or tag to start looking for enclosed text only after this specified occurrence.
Use extended search patterns Enables the extended search symbols:
  • * · matches any substring that is zero or more characters long.
  • ? · matches any (exactly one) character.

To search for the asterisk or question mark while the extended search patterns are enabled:
  • ** · matches exactly one asterisk character.
  • *? · matches exactly one question mark character.

Example. When searching for extended patterns…
  • <p*> · matches <p>, <p id="main">, <p data-x>, etc.
  • <?> · matches <b>, <i>, <p>, etc.
  • What*? · matches only the What? sequence.
  • 5** rating · matches only the 5* rating sequence.

Regular expressions are available for the Find Text Action which can extract enclosed text similarly to the Enclosed Text Action.
Perform narrow search By default the narrow (non-greedy) search is performed—to extract as few characters as possible. This behavior is useful to extract many similar items from text or list. To capture the widest possible match, uncheck the narrow search option.

Example. Searching for text substrings enclosed in parentheses on input data: (Book 1) (Book 2) (Book 3)
  • The narrow search would return three separate list items:
    Book 1, Book 2, Book 3
  • The wide search would return only one single item:
    Book 1) (Book 2) (Book 3
Also, store result inThe result of the extract operation is already accessible via the Variable Wizard. Optionally, choose an existing variable to store the result. To create an empty variable, use the Set Variable Action.
Variable WizardVariable Wizard buttonUse dynamic data input—substitute a parameter from a file, web, connected Trigger, other Actions, date and time presets, etc.
This Action is enabledAn Action is executed only if it is enabled. Otherwise, it will be automatically skipped (completely ignored) from the Task flow.
Use custom display nameRename this Action, to make a human-readable workflow that will help you to find, read, and make sense of the Task structure later.
Advanced fallback optionsManage the advanced fallback options—select which error types will lead to automatic execution of predefined workaround operations.
Log only errorsDo not log information and warning messages for this Action. It may be useful to keep the log file small and tidy on production systems.

Need a helping hand?

If you have any questions, please do not hesitate to contact our support team.