in reply to Storing String from Line Before Regex Match

You might simply read your data in a loop, capture the names as you go, and use these captures only when needed (when location matches "Central USA").
  • Comment on Re: Storing String from Line Before Regex Match