I'm using R for geocoding. Some of my street addresses include unit numbers and I need to remove those before geocoding, but I'm not very good at regex commands. How could I transform addresses like these:
10 Fake St, Unit #5, New York, NY 10001 10 Fake St, Units #5,6,7, New York, NY 10001
into this:
10 Fake St, New York, NY 10001
Thanks!