In my web application data is presented in unstructure format i want to extract data from UI and then store it into format of .txt file.
My web application unstructure data is like below, output_text (1).txt (153 Bytes)
So, i did code upto storing data into .txt file and then i want to extract specific data(string whose name is similar like:- Argument) from .txt file and save into another .txt file.
I am getting output in format of count but, i want data in string format like below, Argument - 1 Argument - 2 Argument - 3 Argument - 4 Argument - 5
For count i am using below expression:- matches= System.Text.RegularExpressions.Regex.Matches(extractedData.Rows(0)(0), “(?<=\n)argument”)
To explain above will match the expression
Argument to start and \s* will identify any number of space “-” will identify and another \s* to identify any space and d+ is any number
If you are copying the expression just take of quotes, you need to change a little bit
The activity is available in UiPath.System.Activities Package…Upgrade the package to latest version.
or
Try to search Text matching patterns activity
or
use simply assign activity
No need to use both assign and Find Matching Patterns activity anyone them is work
previously you said that find matching patterns activity not present so that’s why i am suggest you to take assign activity @Smitesh_Aher1