Extract specific text from Text file

Hi,

I want to extract text info from set of multiple text files containing specific text “Milestone”. Do I need to use Split function or Regex? I have read the pdf files and converted into string of array .

Here I want to capture Milestone 1 and Milestone 2 details from file 1, file 2 and so on.

Hey @dutta.marina if you are working with modern you can use for each file in a folder then inside this use read pdf text so it will read pdf one by one and store there output as a variable now you can using both methods . string manipulation or regex whichever you want
and if you are still working in classic you can use two assign one is string and 2 is array of string in string you can pass the folder location and in array of string you can use Directory.getfiles(stringvariable) and after that use 1 for each and inside that for each use read pdf and then to extract specific data you can use string manipulation or regex .
cheers Happy Automation

Do you want to extract all the text behind each Milestone or only “Milestone 1”?

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.