Rua Regex

// street & city must be separated by ',' or '.'
const addressStr = '123 Main St., New York, NY 10001, USA';

const street = addressStr
  .match(/(\w+\s[A-z]+\.?\s?)+(?=(,\s([A-z]+\s?)+,\s[A-Z]{2}\s\d{5}))/g)
  .toString();

console.log(street);
// 123 Main St.
Coffee Addict