Complex sentence: In 2017, San Francisco passed a law requiring Airbnb hosts to register with the city before they can rent units; units can't be rented for more than 90 days a year.
Split into simpler sentences: In 2017, San Francisco passed a law requiring Airbnb hosts to register with the city before they can rent units. Units cannot be rented for more than 90 days a year.