An example of the conversion from pdf to text is shown above.
I just want to extract text from REF to REMARK in text where the same rule repeats, is there any activity I can use?
I don’t use Generate data table.
It’s even more complicated if I take this as an example.
I PDF.txt (68.9 KB)
attach the example text.
I did as you told me.
I was notified to set the variable in Object format. I changed the object type to string type and do write line, but it comes out as System.String.
Thank you for your reply and I have one more question.
As you told me, I can see that I use it as below to extract only the parts I want
PDF.Split({“REF”,“REMARK”},StringSplitOptions.None).Where(function(x,i) not (i mod 2) = 0).ToArray
What you taught me is to leave only the data in the middle
In addition to that, how do I get rid of the unnecessary data that is between the necessary data?
I think it’s possible to apply what you told me
I’d appreciate it if you could tell me because it’s hard.
Unnecessary data is the same as the yellow mark below.