Use Find Matching Patteren Activity to extract Name ,This will be IEnumerable of Match Means Collection Take For Loop And then write these values in Excel.
Do the Process As it is for Other MBR,ACNT,ICN and Write the results in Excel
Hope this helps you
As you said it will applicable for the first row only. If your data is not confidential then share you data with us. we will provide the regular expression to extract the required data.
Send the output excel sheet to know how result looks.
It’s not a text file sir it’s kinda invoice. And unfortunately I can’t share the file because it’s confidential. But there is no problem with Regex expression. I’ve created a Regex pattern correctly. Problem is only with extracting the second data to excel.
Find match patterns - to extract a name. Here I can take first match as output property and to find second match we use Result option right? IEnumerable.Matches. Now I need to get every name in this sheet.
So I used for each there Var1= item.Value gives me every name. This is okay.
Now how can I do this for all columns… If i add this in excel. Other columns will enter down…
Then You have to create one Destination File which contains all data
“DestinationExcel.Xlsx”
Then you append “Path.GetFileNameWithoutExtension(FileName)+”.xlsx"" that data to the final “DestinationExcel.Xlsx”
So that whatever pdf data you have after writing all columns data then you append that data to one final excel
Hope it will help you
Process is to get Name, MBR, Acnt and ICN from a file.
Some times the file contains 2 or more name, MBR, Acnt and ICN…
When we using Find matching pattern activity with the help of IEnumerable matches we can get second match. how can we take every second matches and other matches? and enter in excel like this