Regex code to find string seperated by a line break

Hi,

Can you try the following sample?

image

First, read Pdf file as text using Read PDF Text with PreserveForamtting option.
Then, remove French part. French part always starts from 74th character in each line.
Next, remove line number: 5,10,15,20,25,30 using Regex.Replace
Finally extract target phrase using the above regex.

Sample20220820-1.zip (35.7 KB)

Regards,

1 Like