Re: [PHP] preg_split() - pattern problem

2002-11-11 Thread Jonathan Sharp
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)

Re: [PHP] preg_split() - pattern problem

2002-11-11 Thread Jason Wong
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