Extract dates Version 3 (Net)
Action group: Text, subgroup: NER
Description
Extracts dates from text.
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Text | Text for analysis. | Robin.String | No | |
Results | ||||
Result | Collection of extracted data. | Robin.Collection |
Special conditions of use
If the same entity appears several times in the text, it will be recorded once in the resulting array.
Example of use
Task
There is a variable "Input text" with the value:
Please grant me time off on 24.03.2022.
You need to extract the date from the text and display it in a dialog box.
Solution
Use the actions "Extract dates", "Show message", "Get value by index".
Implementation
- Create a variable "Collection" into which the result of the "Extract dates" action will be written.
- Move the "Extract dates" action to the workspace and set its parameters.
- Move the "Get value by index" action to the workspace and set its parameters.
- Move the "Show message" action to the workspace and set its parameters.
- Launch the robot using the "Start" button in the top panel.
Result
The required value is displayed in the dialog box.
Обзор
Инструменты контента