I am using the Read PDF Text activity and using the matches activity with Regex, I get more than 200 results in an IEnumerable varaiable.
I am having trouble adding it to a data table. I tried for each item add data row but get an error message when I try item.value
I also tried an assign activity
Left = Dt1
Right = (from m in namematch.Cast(of Match) Select dtResult.Rows.Add(m.Groups(1).toString)).CopyToDataTable
What is the best way to add an IEnumerable variable to a Datatable for multiple matches in the same column new row.
Hi @Carlos_Diaz_Porras
Welcome to UiPath community
Build data table and copying those matches to that datatable would be good
Iām reading excel row using ''Read Row" which is storing value as variable type āIEnumerableā.
I want to convert this āIEnumerableā to variable type āDataTableā
How to achieve this ?
1 Like
Yoichi
(Yoichi)
December 7, 2022, 1:30am
3
Hi,
I recommend to use Named Group of Regex. It returns empty string if there is no match.
If you can share specific your requiremnt, we might be able to suggest some approach.
Regards,
1 Like
I found the correct answer on this link
Hi all, I am currently working with an invoice template to extract information from the PDF file. I have also been trying to extract this information from a text file which was converted from the PDF. In the example below, there are multiple tables of payments for each invoice given by the client. Each invoice could have just one or many such tables. I would like to extract all the āAmount Payableā amounts from all such tables. Please let me know how I can do this via text file if possible.
[imā¦
1 Like
system
(system)
Closed
December 12, 2022, 11:06pm
5
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.