Hello guys, do you know how to extract this data from PDF?
@Aluneth_X You can use regular expression to extract the data
you can use this as your reference.
First install PDF Activities from Package Manager.
After that you can use Read PDF activity, and place that information inside a String variable.
After that you can use Regex and String manipulation to extract the information
i did extract the pdf using regex
do you know how to get only 08.05.2019 ?
Since all of these are of same Date format, you could split them using .Split(" "C) String method, and then select the 4th element (at position 3) of array
can you help me with that sir?
i save the output to variable name ‘ExtractedDate’
i don’t understand the split method
@Aluneth_X Spli by using new line as follows
Assign v1= v1.Split("\n".ToCharArray)(3)
i did, but it throws error like this
Try to change your index 2
@Aluneth_X Variable which you displayed in message box Write that variable to text file and check how it’s storing
i changed “\n” into Environment.newline and it works
@Aluneth_X great you figure it out cheers
Hi, you can use a PDF Extract too, Here I recommend you the Bitwar program which contains multiple functions, you can just have a try.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.