Looking for some regex recommendations, I need to pull the name from the following address block, however the challenge is the first two lines are not always there or consistent.
First Example:
005874
0BBXV
John Smith
PO Bok 123
Fake place MB R1J 3k9
Second Example:
5641 P30
John Smith
123 Fake St
Winnipeg MB
R4K 1Y7
Last Example
00587123565 123456
John Smith
123-1234 Fake St
Winnipeg MB R1C 4K9