Text Gatherers take an element's text (or HTML) and transform it until a desired output is reached. To get started, go to Project -> Text Gatherers, then create a new gatherer with the New button. If no elements are selected in the main browser, a default text will be shown as a sample starting text. Then from the Add Step button select one or more steps until the desired value is reached. Each of the three kind of steps transform the text in a different way:
- Slice: Outputs a section of the input text. If using a Delimited slice, the text is split into sections by a given delimiter, and the section at the given Slice Position is used as the output. If using a Fixed slice, the text starting at the character in the Start Position and ending in the character at the End Position is outputted.
- Replace: Replaces every occurrence of a string with another string, or turns the input string into either uppercase or lowercase.
- Regular Expression: Runs a regular expression on the input text and outputs the match at Match Position.