Picker selector
Picker is an auxiliary selector that allows you to filter out input based on the position of the object in the preceding selectors output.
It can flexibly convert various text types in the desired output format on the fly.
It has two parameters:
- Type
This selects the level on which the filtration is performed, and the output type.
- Number of group
This specifies the indexes of the extracted items.
Element indexes start at 1 in the forward direction and -1 in the reverse one (from the end to the beginning). You can also extract a range of items using the begin: end syntax
Example
Consider the following data field to extract the phone number and email from a company info:
1. Region:
2. Parsing pipeline.
In the first step, the boundary selector extracts content from the defined region.
The phone number and email are the last two lines of the block. This will still be correct, regardless of how many lines the postal address can occupy.
Therefore, for the Picker selector we set the type as "lines" and the number of group is "-2: -1".
Output data format:
characters
, lines
, paragraphs
List of selectors