Ground and space-based transit surveys: exoplanet detection and evaporating atmospheres