I am stuck with the following expression.
RECOVER FROM:
Company 1
Bla: Bla
Bla: Bla
DELIVER TO:
Sypris Solutions, Inc.
Street 123
City ZIP US
Bla: Bla
Bla: Bla
Bla: Bla
I would like to filter the company information which starts after "DELIVER TO:"
With \bDELIVER TO:\s+\K\S+, I get the first word in the first line after "DELIVER TO:" (which is fine because we only need to know the first word of the Company name to get the clue).
The goal is to have the first word in the line after "DELIVER TO:" to return as Group 1. The last word in the third line (in this case the country code "US") should return as Group 2.
https://regex101.com/r/hU6lfr/1
Any help is much appreciated.