Test, validate and match regular expressions
This regex matches URLs or strings describing cheap flight routes to a specific destination and an airport code, such as 'cheap-flights-to-paris-CDG-all-routes'. It captures the destination name (which can include hyphens) and requires a three-letter airport code before the '-all-routes' suffix. Useful for extracting route information from travel websites or validating route URL patterns.