Hello.
During the process of moving a text file to a data table
I’d like to fill in columns 1 and 2 with some of the repeating rules, is there a way?
Attach a text file.
PDF.TXT (20.7 KB)
The form I want is as shown in the Excel example below.
TEST.xlsx (11.8 KB)
How do I do it in the same way as the example?
Hi @sssim4567
You can get the same as excel file before moving the files
Steps :
By using the regex we can get the values what you want or else you can use the matches activity to get the values
Write the values to excel by using write range workbook activity
This are the steps…
Hope it may help you
Parvathy
(PS Parvathy)
August 21, 2023, 2:25am
3
Hi @sssim4567
You can achieve by writing Regex expressions for the text and write it back to the excel using Write Cell activity by running a For Each loop for Find Matching Patterns output.
Regards
Is the text file is of multiple pdfs or one pdf?
@sssim4567
can you check the below code
do it as mentioned in the code
addvalues to columns.zip (16.4 KB)
Hope this helps
@sssim4567
The excel rows are 78 and the values you extract through Txt file are 39 values
i have ensured the same issue
if you want to excute that
use assign activity
use the above assign activity your error will get resolved