I believe it's U so try /T.*0.*B/U
-js
Jason Wong wrote:
> On Tuesday 12 November 2002 02:26, Tobias Talltorp wrote:
>
>>How would I write the pattern for this preg_split()?
>>"/T.*O.*B/", seems to only return the first and last portion of the string
>>(1: Once upon a time, 2: going for a walk)
On Tuesday 12 November 2002 02:26, Tobias Talltorp wrote:
> How would I write the pattern for this preg_split()?
> "/T.*O.*B/", seems to only return the first and last portion of the string
> (1: Once upon a time, 2: going for a walk).
>
> $string = "Once upon a time T:O.B there was a T.O,B duck wh
How would I write the pattern for this preg_split()?
"/T.*O.*B/", seems to only return the first and last portion of the string
(1: Once upon a time, 2: going for a walk).
$string = "Once upon a time T:O.B there was a T.O,B duck who was T-O'B going
for a walk";
$array = preg_split('/T.*O.*B/', $s
3 matches
Mail list logo