This classic Pilates ab exercise provides a great hamstring stretch, too.
Lie on your back with both legs in the air and your head and shoulders off the ground; hold your right ankle as you lower your left leg toward the floor.
Keep your abs pulled to your spine, and switch legs.