split.php
<?php $text = "this is\tsome text that\nwe might like to parse."; print_r(split("[\n\t]",$text)); ?>