Articles → UIPATH → Matches Activity Of Regular Expression In Uipath
Matches Activity Of Regular Expression In Uipath
Purpose
Scenario
Click to Enlarge
Example
- Drag and drop the "Read Text File" activity to read the text file and assign the value to a string variable
Click to Enlarge
- Drag and drop the "Matches" activity and click on the "Configure Regular Expression…" button
Click to Enlarge
- A window will appear to select the regular expression. For this example, we have selected "Email" as "Regex"
- Click on the "Save" button
Click to Enlarge
- In the properties window of the "Matches" activity, specify the input string and the output variable
Click to Enlarge
- Loop through all the items in the "emailids" variable
Click to Enlarge
- Save and run the bot
Output
Click to Enlarge