array preg_split( $pattern, $subject, $limit, $flag ) This will work fine in your problem Tellthebell.com