PDF Extraction -

Extract each description under every headline and display in a message box (each item separatly). so the pdf contains headlines Day1, Day 2 etc.

Hello Hasna,
Could you please share the sample screenshot of the file

you can try this way

1.Read your pdf with Read pdf text or Read pdf with ocr and create a varaible and pass that variable in for each below like

Note ; - strpdfText to variable of Read pdf with ocr
you can use this for matching the syntax

System.Text.RegularExpressions.Regex.Matches(strpdfText,"(?<=:)(.*?)\s[A-Za-z\s().,]+")

you can see the output as three separate separately

image

Let me know its working or not for you

@HASNA_HANEEF

my for each loop doesn’t have list of items option.
it has for each item in value

Can you elaborate more

and Extract each description under every headline and display in a message for this you can try the above provided one it will work

@HASNA_HANEEF