|
Posted by pritaeas on 07/26/06 11:09
$result = preg_split ('/ |,|\n/', $subject);
"Chris Thompson" <c.thompson@zen.co.uk> wrote in message
news:44c743dc$0$15048$db0fefd9@news.zen.co.uk...
> Hi All,
>
> Trying to split a string where there are occurances of a space, a comma, a
> newline (char 10), or a return (char 13) using the preg_split function,
> but not sure how to write the regular expression for this...
--
Posted via a free Usenet account from http://www.teranews.com
Navigation:
[Reply to this message]
|