so i have this pdf invoice that contains more than one order and i want to use regex to extract the text that starts with “please deliver to:” and ends with an empty line, EMPTY LINE NOT A WHITE SPACE.
the expression i used is
“(?<=Please deliver to:\s\n)((?:.+\s)*)”
but that doesn’t to seem right, it is selecting the fist word correctly and then selecting everything after that. However, i want it to match until the first empty line after this starting expression “(?<=Please deliver to:\s\n)”