we have one pdf file that is secured with a password and we only need to get one value out of it but we could not achieve this with Read PDF activity or the OCR activity. we have also tried opening the pdf with WORD so that we use the Get Text but it could not recognize any anchor.
i know that REGEX might be helpful here but i know nothing about it or about how to do it and i would appreciate if anyone can help.
I cannot share the PDF but the value that we are after is inside a table with three columns and resides in the middle one bounded by service cost and Dollars
then to get the 555 value between Service Cost and Dollars then use it as below
str.Split(“Service Cost”,2,Stringsplitoptions.None)(1).Split(“Dollars”,2,Stringsplitoptions.None)(0)
Hello again…I couldn’t wait till tomorrow and i tried to test it on one of the material from the course but i could not get it work; i am getting the below error; i have attached the workflow as well
I would say I am surprised to see this. I saw you workflow nothing looks wrong. But when we use the same expression outside of your for loop then you are not getting any issue. Please try the same. Inside the for loop for some reason it is throwing an error but I still can execute the same command while bot is running
Attaching for you reference where inside loop it throw error but still the same expression is working on the panel
you can also use Text to left and right activity like below