<?php $fruits = "Apple\nOrange\nBanana"; if (preg_match_all('/^(.*)$/', $fruits, $matches)) { echo $matches[1][1]; } else { echo "Hungry"; } ?>
You have javascript disabled. You will not be able to edit any code.