I have a text file with names, addresses, city-state-zip lines, and extra lines. Each record doesn't necessarily occupy a certain number of lines such as six lines (as in a label format that always has 6 lines). Is there a way to be able to detect the line that has the City, State, Zip no matter how many blank lines or other lines might be in the record? It's no issue to parse that line once I can detect it. Thanks in advance. See example below:
John Brown
123 Gateway Blvd.
Fort Myers, FL 33913
Susie Smith
456 First Street
Suite 5
Orlando, FL 44444
call #32
Daniel Boone
999 Miami Highway
Gainesville, FL 84848
some line
some line 2
...
HLeyes
John Brown
123 Gateway Blvd.
Fort Myers, FL 33913
Susie Smith
456 First Street
Suite 5
Orlando, FL 44444
call #32
Daniel Boone
999 Miami Highway
Gainesville, FL 84848
some line
some line 2
...
HLeyes