I have a problem with using Regex on a certain input text.
I want to extract everything between the 9 digit numbers.
Input Text
111111111 1 Street Streetold 11 Streetnew 11
PC 33333 32321
City Test City Testvillage
222222222 1 Street Teststr 4 Testhill 7
333333333 1 Street Street Test 136 Testing Street 18
Page 1 of 5
Expectations
For first case:
1 Street Streetold 11 Streetnew 11
PC 33333 32321
City Test City Testvillage
Second:
1 Street Teststr 4 Testhill 7
Third:
1 Street Street Test 136 Testing Street 18
I tried (?<=\d{9}).*\n(?=\d{9}|Page) but this doesn’t extract first case…